com.uwyn.rife.xml
Class Xml2Data
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.uwyn.rife.xml.Xml2Data
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Direct Known Subclasses:
- Xml2BlockingRepository, Xml2Config, Xml2Datasources, Xml2MemoryScheduler, Xml2MemoryUsers
public abstract class Xml2Data
- extends DefaultHandler
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Xml2Data
public Xml2Data()
disableValidation
public void disableValidation(boolean activation)
enableValidation
public void enableValidation(boolean activation)
warning
public void warning(SAXParseException e)
- Specified by:
warning in interface ErrorHandler- Overrides:
warning in class DefaultHandler
error
public void error(SAXParseException e)
- Specified by:
error in interface ErrorHandler- Overrides:
error in class DefaultHandler
fatalError
public void fatalError(SAXParseException e)
- Specified by:
fatalError in interface ErrorHandler- Overrides:
fatalError in class DefaultHandler
getXmlPath
protected String getXmlPath()
getResourceFinder
protected ResourceFinder getResourceFinder()
getErrorRedirector
protected XmlErrorRedirector getErrorRedirector()
createErrorRedirector
protected XmlErrorRedirector createErrorRedirector()
processXml
public XMLReader processXml(String xmlPath)
throws XmlErrorException
- Throws:
XmlErrorException
processXml
public XMLReader processXml(String xmlPath,
ResourceFinder resourceFinder)
throws XmlErrorException
- Throws:
XmlErrorException
processXml
public XMLReader processXml(String xmlPath,
ResourceFinder resourceFinder,
XMLReader reader)
throws XmlErrorException
- Throws:
XmlErrorException
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.