Package rife.xml
Class Xml2Data
java.lang.Object
org.xml.sax.helpers.DefaultHandler
rife.xml.Xml2Data
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected XmlEntityResolver
protected XmlErrorRedirector
void
disableValidation
(boolean activation) void
enableValidation
(boolean activation) void
void
boolean
processXml
(String data) boolean
processXml
(String data, ResourceFinder resourceFinder) resolveEntity
(String publicId, String systemId) void
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
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
Xml2Data
public Xml2Data()
-
-
Method Details
-
disableValidation
public void disableValidation(boolean activation) -
enableValidation
public void enableValidation(boolean activation) -
resolveEntity
- Specified by:
resolveEntity
in interfaceEntityResolver
- Overrides:
resolveEntity
in classDefaultHandler
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Overrides:
warning
in classDefaultHandler
-
error
- Specified by:
error
in interfaceErrorHandler
- Overrides:
error
in classDefaultHandler
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Overrides:
fatalError
in classDefaultHandler
-
getResourceFinder
-
getErrorRedirector
-
getErrors
-
createErrorRedirector
-
createErrorSet
-
createEntityResolver
-
processXml
- Throws:
XmlErrorException
-
processXml
- Throws:
XmlErrorException
-