|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler com.puppycrawl.tools.checkstyle.api.AbstractLoader
Contains the common implementation of a loader, for loading a configuration from an XML file.
The error handling policy can be described as being austere, dead set, disciplinary, dour, draconian, exacting, firm, forbidding, grim, hard, hard- boiled, harsh, harsh, in line, iron-fisted, no-nonsense, oppressive, persnickety, picky, prudish, punctilious, puritanical, rigid, rigorous, scrupulous, set, severe, square, stern, stickler, straight, strait-laced, stringent, stuffy, stuffy, tough, unpermissive, unsparing and uptight.
Constructor Summary | |
protected |
AbstractLoader(java.util.Map aPublicIdToResourceNameMap)
Creates a new instance. |
protected |
AbstractLoader(java.lang.String aPublicId,
java.lang.String aDtdResourceName)
Creates a new instance. |
Method Summary | |
void |
error(org.xml.sax.SAXParseException aEx)
|
void |
fatalError(org.xml.sax.SAXParseException aEx)
|
void |
parseInputSource(org.xml.sax.InputSource aInputSource)
Parses the specified input source. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String aPublicId,
java.lang.String aSystemId)
|
void |
warning(org.xml.sax.SAXParseException aEx)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractLoader(java.lang.String aPublicId, java.lang.String aDtdResourceName) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
aPublicId
- the public ID for the DTD to resolveaDtdResourceName
- the resource for the DTD
org.xml.sax.SAXException
- if an error occurs
javax.xml.parsers.ParserConfigurationException
- if an error occursprotected AbstractLoader(java.util.Map aPublicIdToResourceNameMap) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
aPublicIdToResourceNameMap
- maps public IDs to DTD resource names
org.xml.sax.SAXException
- if an error occurs
javax.xml.parsers.ParserConfigurationException
- if an error occursMethod Detail |
public void parseInputSource(org.xml.sax.InputSource aInputSource) throws java.io.IOException, org.xml.sax.SAXException
aInputSource
- the input source to parse.
java.io.IOException
- if an error occurs
org.xml.sax.SAXException
- in an error occurspublic org.xml.sax.InputSource resolveEntity(java.lang.String aPublicId, java.lang.String aSystemId) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void warning(org.xml.sax.SAXParseException aEx) throws org.xml.sax.SAXException
org.xml.sax.SAXException
ErrorHandler.warning(org.xml.sax.SAXParseException)
public void error(org.xml.sax.SAXParseException aEx) throws org.xml.sax.SAXException
org.xml.sax.SAXException
ErrorHandler.error(org.xml.sax.SAXParseException)
public void fatalError(org.xml.sax.SAXParseException aEx) throws org.xml.sax.SAXException
org.xml.sax.SAXException
ErrorHandler.fatalError(org.xml.sax.SAXParseException)
|
Back to the Checkstyle Home Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |