public abstract class AbstractLoader extends org.xml.sax.helpers.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.
修飾子 | コンストラクタと説明 |
---|---|
protected |
AbstractLoader(Map<String,String> aPublicIdToResourceNameMap)
Creates a new instance.
|
protected |
AbstractLoader(String aPublicId,
String aDtdResourceName)
Creates a new instance.
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
error(SAXParseException aEx) |
void |
fatalError(SAXParseException aEx) |
void |
parseInputSource(InputSource aInputSource)
Parses the specified input source.
|
InputSource |
resolveEntity(String aPublicId,
String aSystemId) |
void |
warning(SAXParseException aEx) |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl
protected AbstractLoader(String aPublicId, String aDtdResourceName) throws SAXException, ParserConfigurationException
aPublicId
- the public ID for the DTD to resolveaDtdResourceName
- the resource for the DTDSAXException
- if an error occursParserConfigurationException
- if an error occursprotected AbstractLoader(Map<String,String> aPublicIdToResourceNameMap) throws SAXException, ParserConfigurationException
aPublicIdToResourceNameMap
- maps public IDs to DTD resource namesSAXException
- if an error occursParserConfigurationException
- if an error occurspublic void parseInputSource(InputSource aInputSource) throws IOException, SAXException
aInputSource
- the input source to parse.IOException
- if an error occursSAXException
- in an error occurspublic InputSource resolveEntity(String aPublicId, String aSystemId) throws SAXException, IOException
resolveEntity
インタフェース内 EntityResolver
resolveEntity
クラス内 org.xml.sax.helpers.DefaultHandler
SAXException
IOException
public void warning(SAXParseException aEx) throws SAXException
warning
インタフェース内 ErrorHandler
warning
クラス内 org.xml.sax.helpers.DefaultHandler
SAXException
public void error(SAXParseException aEx) throws SAXException
error
インタフェース内 ErrorHandler
error
クラス内 org.xml.sax.helpers.DefaultHandler
SAXException
public void fatalError(SAXParseException aEx) throws SAXException
fatalError
インタフェース内 ErrorHandler
fatalError
クラス内 org.xml.sax.helpers.DefaultHandler
SAXException
Copyright © 2001-2013. All Rights Reserved.