org.apache.uima.util
Interface SaxDeserializer
- All Superinterfaces:
- ContentHandler
public interface SaxDeserializer
- extends ContentHandler
Deserializes an XMLizable object from SAX events. This interface extends the SAX
ContentHandler interface and through this interface can receive events generated by a SAX
parser. When the parse has completed, the getObject() method may be called to retrieve
the XMLizable object.
|
Method Summary |
XMLizable |
getObject()
Retrieves the XMLizable object that has been built from the SAX events this object has
already received. |
| Methods inherited from interface org.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
getObject
XMLizable getObject()
throws InvalidXMLException
- Retrieves the
XMLizable object that has been built from the SAX events this object has
already received. Once this method is called, all state is cleared from this object and it is
ready to deserialize another object.
- Returns:
- the deserialized object
- Throws:
InvalidXMLException - if an object could not be constructed
Copyright © 2006-2010 The Apache Software Foundation. All Rights Reserved.