Package org.apache.uima.util.impl
Class XMLParser_impl.ParseErrorHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.uima.util.impl.XMLParser_impl.ParseErrorHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Enclosing class:
XMLParser_impl
Error handler for XML parsing. Stores first error in
exception field for later
retrieval.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voiderror(SAXParseException aError) voidfatalError(SAXParseException aError) voidwarning(SAXParseException aWarning) Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl
-
Field Details
-
mException
-
-
Constructor Details
-
ParseErrorHandler
ParseErrorHandler()
-
-
Method Details
-
error
- Specified by:
errorin interfaceErrorHandler- Overrides:
errorin classDefaultHandler
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Overrides:
fatalErrorin classDefaultHandler
-
warning
- Specified by:
warningin interfaceErrorHandler- Overrides:
warningin classDefaultHandler
-
getException
-
clear
public void clear()
-