com.vordel.es.xes
Class XMLParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.vordel.es.xes.XMLParser
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- Direct Known Subclasses:
- MetaDataExtractor, PortableESPKFactory
public abstract class XMLParser
- extends org.xml.sax.helpers.DefaultHandler
Field Summary |
protected java.util.Map<java.lang.String,org.xml.sax.helpers.DefaultHandler> |
handlers
|
Method Summary |
void |
characters(char[] ch,
int start,
int length)
|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
|
protected void |
parse(java.io.InputStream instream)
|
protected void |
registerHandler(java.lang.String name,
org.xml.sax.helpers.DefaultHandler handler)
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handlers
protected java.util.Map<java.lang.String,org.xml.sax.helpers.DefaultHandler> handlers
XMLParser
protected XMLParser()
parse
protected void parse(java.io.InputStream instream)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
registerHandler
protected void registerHandler(java.lang.String name,
org.xml.sax.helpers.DefaultHandler handler)
startElement
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
- Specified by:
startElement
in interface org.xml.sax.ContentHandler
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
- Specified by:
endElement
in interface org.xml.sax.ContentHandler
- Overrides:
endElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Specified by:
characters
in interface org.xml.sax.ContentHandler
- Overrides:
characters
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel