com.puppycrawl.tools.checkstyle.api
public abstract class AbstractLoader extends DefaultHandler
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(String aPublicId, String aDtdResourceName)
Creates a new instance. |
protected | AbstractLoader(Map aPublicIdToResourceNameMap)
Creates a new instance. |
Method Summary | |
---|---|
void | error(SAXParseException aEx) {@inheritDoc} |
void | fatalError(SAXParseException aEx) {@inheritDoc} |
void | parseInputSource(InputSource aInputSource)
Parses the specified input source. |
InputSource | resolveEntity(String aPublicId, String aSystemId) {@inheritDoc} |
void | warning(SAXParseException aEx) {@inheritDoc} |
Parameters: aPublicId the public ID for the DTD to resolve aDtdResourceName the resource for the DTD
Throws: SAXException if an error occurs ParserConfigurationException if an error occurs
Parameters: aPublicIdToResourceNameMap maps public IDs to DTD resource names
Throws: SAXException if an error occurs ParserConfigurationException if an error occurs
Parameters: aInputSource the input source to parse.
Throws: IOException if an error occurs SAXException in an error occurs