sk.uniba.euromath.tools.xml.sax
Class AbstractXMLReader
java.lang.Object
sk.uniba.euromath.tools.xml.sax.AbstractXMLReader
- All Implemented Interfaces:
- XMLReader
public abstract class AbstractXMLReader
- extends Object
- implements XMLReader
Implements basic methods of XML reader. You may extend it to get a default
behaviour: minimal set of features recognized, no properties are recognized.
- Author:
- Martin Vysny
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityResolver
protected EntityResolver entityResolver
- Entity resolver.
dtdHandler
protected DTDHandler dtdHandler
- DTD handler.
handler
protected ContentHandler handler
- Send document to this handler.
errorHandler
protected ErrorHandler errorHandler
- Error handler instance.
AbstractXMLReader
public AbstractXMLReader()
getFeature
public boolean getFeature(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getFeature
in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
setFeature
public void setFeature(String name,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setFeature
in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
getProperty
public Object getProperty(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getProperty
in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
setProperty
public void setProperty(String name,
Object value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setProperty
in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
setEntityResolver
public void setEntityResolver(EntityResolver resolver)
- Specified by:
setEntityResolver
in interface XMLReader
getEntityResolver
public EntityResolver getEntityResolver()
- Specified by:
getEntityResolver
in interface XMLReader
setDTDHandler
public void setDTDHandler(DTDHandler handler)
- Specified by:
setDTDHandler
in interface XMLReader
getDTDHandler
public DTDHandler getDTDHandler()
- Specified by:
getDTDHandler
in interface XMLReader
setContentHandler
public void setContentHandler(ContentHandler handler)
- Specified by:
setContentHandler
in interface XMLReader
getContentHandler
public ContentHandler getContentHandler()
- Specified by:
getContentHandler
in interface XMLReader
setErrorHandler
public void setErrorHandler(ErrorHandler handler)
- Specified by:
setErrorHandler
in interface XMLReader
getErrorHandler
public ErrorHandler getErrorHandler()
- Specified by:
getErrorHandler
in interface XMLReader
Copyright 2003-2003-2006 null. All Rights Reserved.