Package org.apache.uima.util
Interface SaxDeserializer
-
- All Superinterfaces:
org.xml.sax.ContentHandler
- All Known Implementing Classes:
SaxDeserializer_impl
public interface SaxDeserializer extends org.xml.sax.ContentHandlerDeserializes anXMLizableobject from SAX events. This interface extends the SAXContentHandlerinterface and through this interface can receive events generated by a SAX parser. When the parse has completed, thegetObject()method may be called to retrieve theXMLizableobject.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XMLizablegetObject()Retrieves theXMLizableobject that has been built from the SAX events this object has already received.
-
-
-
Method Detail
-
getObject
XMLizable getObject() throws InvalidXMLException
Retrieves theXMLizableobject 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
-
-