de.grogra.pf.io
Class XMLReaderBase
java.lang.Object
de.grogra.pf.io.FilterBase
de.grogra.pf.io.XMLReaderBase
- All Implemented Interfaces:
- Filter, FilterSource, ObjectSource, RegistryContext, Map, org.xml.sax.ContentHandler
- Direct Known Subclasses:
- GraphMLReader, XMLPatchReader, XMLTableReader
public abstract class XMLReaderBase
- extends FilterBase
- implements ObjectSource, org.xml.sax.ContentHandler
Nested classes/interfaces inherited from interface de.grogra.util.Map |
Map.Chain |
Field Summary |
protected org.xml.sax.Locator |
loc
|
Methods inherited from class de.grogra.pf.io.FilterBase |
get, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.xml.sax.ContentHandler |
endElement, startElement |
loc
protected org.xml.sax.Locator loc
XMLReaderBase
public XMLReaderBase(FilterItem item,
FilterSource source)
characters
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Specified by:
characters
in interface org.xml.sax.ContentHandler
- Throws:
org.xml.sax.SAXException
endDocument
public void endDocument()
throws org.xml.sax.SAXException
- Specified by:
endDocument
in interface org.xml.sax.ContentHandler
- Throws:
org.xml.sax.SAXException
endPrefixMapping
public void endPrefixMapping(java.lang.String prefix)
throws org.xml.sax.SAXException
- Specified by:
endPrefixMapping
in interface org.xml.sax.ContentHandler
- Throws:
org.xml.sax.SAXException
getObject
public java.lang.Object getObject()
throws java.io.IOException
- Description copied from interface:
ObjectSource
- Returns the data as an object of a class which is compatible which
the flavor.
- Specified by:
getObject
in interface ObjectSource
- Returns:
- the data
- Throws:
java.io.IOException
getObjectImpl
protected abstract java.lang.Object getObjectImpl()
throws java.io.IOException
- Throws:
java.io.IOException
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Specified by:
ignorableWhitespace
in interface org.xml.sax.ContentHandler
- Throws:
org.xml.sax.SAXException
processingInstruction
public void processingInstruction(java.lang.String target,
java.lang.String data)
throws org.xml.sax.SAXException
- Specified by:
processingInstruction
in interface org.xml.sax.ContentHandler
- Throws:
org.xml.sax.SAXException
setDocumentLocator
public void setDocumentLocator(org.xml.sax.Locator l)
- Specified by:
setDocumentLocator
in interface org.xml.sax.ContentHandler
skippedEntity
public void skippedEntity(java.lang.String name)
throws org.xml.sax.SAXException
- Specified by:
skippedEntity
in interface org.xml.sax.ContentHandler
- Throws:
org.xml.sax.SAXException
startDocument
public void startDocument()
throws org.xml.sax.SAXException
- Specified by:
startDocument
in interface org.xml.sax.ContentHandler
- Throws:
org.xml.sax.SAXException
startPrefixMapping
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
throws org.xml.sax.SAXException
- Specified by:
startPrefixMapping
in interface org.xml.sax.ContentHandler
- Throws:
org.xml.sax.SAXException