Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.xml.bind
Interface UnmarshallerHandler  view UnmarshallerHandler download UnmarshallerHandler.java

All Superinterfaces:
org.xml.sax.ContentHandler

public interface UnmarshallerHandler
extends org.xml.sax.ContentHandler

This interface is the SAX org.xml.sax.ContentHandler representation of an Unmarshaller, as returned by Unmarshaller.getUnmarshallerHandler() 55 . It can be embedded into a stack of SAX handlers, for example within Apache Cocoon.

The UnmarshallerHandler is reusable: The startDocument() method is expected to perform a reinitialization. Like most other SAX handlers, the UnmarshallerHandler is never thread safe.

Since:
JAXB1.0

Method Summary
 java.lang.Object getResult()
          Returns the unmarshalled object.
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Method Detail

getResult

public java.lang.Object getResult()
                           throws JAXBException,
                                  java.lang.IllegalStateException

Returns the unmarshalled object. This method may be invoked after an endDocument() event only. An java.lang.IllegalStateException is thrown otherwise.