|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.puppycrawl.tools.checkstyle.api.AbstractLoader
public abstract class 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<java.lang.String,java.lang.String> 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 occurs
protected AbstractLoader(java.util.Map<java.lang.String,java.lang.String> 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 occurs| Method 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 occurs
public org.xml.sax.InputSource resolveEntity(java.lang.String aPublicId,
java.lang.String aSystemId)
throws org.xml.sax.SAXException,
java.io.IOException
resolveEntity in interface org.xml.sax.EntityResolverresolveEntity in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
java.io.IOException
public void warning(org.xml.sax.SAXParseException aEx)
throws org.xml.sax.SAXException
warning in interface org.xml.sax.ErrorHandlerwarning in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException aEx)
throws org.xml.sax.SAXException
error in interface org.xml.sax.ErrorHandlererror in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException aEx)
throws org.xml.sax.SAXException
fatalError in interface org.xml.sax.ErrorHandlerfatalError in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||