|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.skaringa.javaxml.handler.sax.AbstractXMLReader com.skaringa.javaxml.handler.sax.ObjectXMLReader
public final class ObjectXMLReader
A implementation of the SAX2 XMLReader interface. This class is able to parse serializable objects.
Constructor Summary | |
---|---|
ObjectXMLReader()
Construct an instance of ObjectXMLReader. |
Method Summary | |
---|---|
void |
parseObject(java.lang.Object obj,
java.lang.Class type,
DocumentOutputHandlerInterface output)
Parse an object and generate messages for a DocumentOutputHandler from its content. |
Methods inherited from class com.skaringa.javaxml.handler.sax.AbstractXMLReader |
---|
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, getPropertyMap, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectXMLReader() throws SerializerException
SerializerException
- If an implemention of identity hash map can't be found.Method Detail |
---|
public void parseObject(java.lang.Object obj, java.lang.Class type, DocumentOutputHandlerInterface output) throws SerializerException
AbstractXMLReader
parseObject
in class AbstractXMLReader
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.AbstractXMLReader.parseObject(Object, Class, DocumentOutputHandlerInterface)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |