|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.skaringa.javaxml.handler.sax.AbstractXMLReader
public abstract class AbstractXMLReader
An abstract class that implements the SAX2 XMLReader interface.
| Constructor Summary | |
|---|---|
AbstractXMLReader()
|
|
| Method Summary | |
|---|---|
org.xml.sax.ContentHandler |
getContentHandler()
|
org.xml.sax.DTDHandler |
getDTDHandler()
|
org.xml.sax.EntityResolver |
getEntityResolver()
|
org.xml.sax.ErrorHandler |
getErrorHandler()
|
boolean |
getFeature(java.lang.String name)
|
java.lang.Object |
getProperty(java.lang.String name)
|
java.util.Map |
getPropertyMap()
Get all properties. |
void |
parse(org.xml.sax.InputSource input)
Parse an input source. |
void |
parse(java.lang.String systemId)
|
abstract void |
parseObject(java.lang.Object obj,
java.lang.Class type,
DocumentOutputHandlerInterface output)
Parse an object and generate messages for a DocumentOutputHandler from its content. |
void |
setContentHandler(org.xml.sax.ContentHandler contentHandler)
|
void |
setDTDHandler(org.xml.sax.DTDHandler dtdHandler)
|
void |
setEntityResolver(org.xml.sax.EntityResolver entityResolver)
|
void |
setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
|
void |
setFeature(java.lang.String name,
boolean value)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractXMLReader()
| Method Detail |
|---|
public abstract void parseObject(java.lang.Object obj,
java.lang.Class type,
DocumentOutputHandlerInterface output)
throws SerializerException
obj - The object to parse.type - The type of the object.output - The DocumentOutputHandler that gets the result messages.
SerializerException - If the object can't be parsed or the
DocumentOutputHandler can't handle the result messages.
public final void parse(org.xml.sax.InputSource input)
throws java.io.IOException,
org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderinput - The input source to parse.
java.io.IOException - IOException
org.xml.sax.SAXException - SAXExceptionXMLReader.parse(org.xml.sax.InputSource),
ObjectInputSource
public final boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getFeature in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedExceptionXMLReader.getFeature(java.lang.String)
public final void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setFeature in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedExceptionXMLReader.setFeature(java.lang.String, boolean)
public final java.lang.Object getProperty(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getProperty in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedExceptionXMLReader.getProperty(java.lang.String)
public final void setProperty(java.lang.String name,
java.lang.Object value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setProperty in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedExceptionXMLReader.setProperty(java.lang.String, java.lang.Object)public final java.util.Map getPropertyMap()
public final void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
setEntityResolver in interface org.xml.sax.XMLReaderXMLReader.setEntityResolver(org.xml.sax.EntityResolver)public final org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver in interface org.xml.sax.XMLReaderXMLReader.getEntityResolver()public final void setDTDHandler(org.xml.sax.DTDHandler dtdHandler)
setDTDHandler in interface org.xml.sax.XMLReaderXMLReader.setDTDHandler(org.xml.sax.DTDHandler)public final org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler in interface org.xml.sax.XMLReaderXMLReader.getDTDHandler()public final void setContentHandler(org.xml.sax.ContentHandler contentHandler)
setContentHandler in interface org.xml.sax.XMLReaderXMLReader.setContentHandler(org.xml.sax.ContentHandler)public final org.xml.sax.ContentHandler getContentHandler()
getContentHandler in interface org.xml.sax.XMLReaderXMLReader.getContentHandler()public final void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
setErrorHandler in interface org.xml.sax.XMLReaderXMLReader.setErrorHandler(org.xml.sax.ErrorHandler)public final org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler in interface org.xml.sax.XMLReaderXMLReader.getErrorHandler()
public final void parse(java.lang.String systemId)
throws java.io.IOException,
org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderjava.io.IOException
org.xml.sax.SAXExceptionXMLReader.parse(java.lang.String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||