Example usage for Java javax.xml.bind Unmarshaller fields, constructors, methods, implement or subclass
The text is from its open source code.
ValidationEventHandler | getEventHandler() Return the current event handler or the default event handler if one hasn't been set. |
javax.xml.validation.Schema | getSchema() Get the JAXP 1.3 javax.xml.validation.Schema Schema object being used to perform unmarshal-time validation. |
UnmarshallerHandler | getUnmarshallerHandler() Get an unmarshaller handler object that can be used as a component in an XML pipeline. |
void | setAdapter(XmlAdapter adapter) Associates a configured instance of XmlAdapter with this unmarshaller. |
void | setAdapter(Class type, A adapter) Associates a configured instance of XmlAdapter with this unmarshaller. |
void | setAttachmentUnmarshaller(AttachmentUnmarshaller au) Associate a context that resolves cid's, content-id URIs, to binary data passed as attachments. Unmarshal time validation, enabled via #setSchema(Schema) , must be supported even when unmarshaller is performing XOP processing. |
void | setEventHandler(ValidationEventHandler handler) Allow an application to register a ValidationEventHandler . |
void | setListener(Listener listener) Register unmarshal event callback Listener with this Unmarshaller . |
void | setProperty(String name, Object value) Set the particular property in the underlying implementation of Unmarshaller . |
void | setSchema(javax.xml.validation.Schema schema) Specify the JAXP 1.3 javax.xml.validation.Schema Schema object that should be used to validate subsequent unmarshal operations against. |
Object | unmarshal(java.io.File f) Unmarshal XML data from the specified file and return the resulting content tree. |
Object | unmarshal(java.io.InputStream is) Unmarshal XML data from the specified InputStream and return the resulting content tree. |
Object | unmarshal(Reader reader) Unmarshal XML data from the specified Reader and return the resulting content tree. |
Object | unmarshal(java.net.URL url) Unmarshal XML data from the specified URL and return the resulting content tree. |
Object | unmarshal(org.xml.sax.InputSource source) Unmarshal XML data from the specified SAX InputSource and return the resulting content tree. |
Object | unmarshal(org.w3c.dom.Node node) Unmarshal global XML data from the specified DOM tree and return the resulting content tree. |
Object | unmarshal(javax.xml.transform.Source source) Unmarshal XML data from the specified XML Source and return the resulting content tree. |
Object | unmarshal(javax.xml.stream.XMLStreamReader reader) Unmarshal XML data from the specified pull parser and return the resulting content tree. |
Object | unmarshal(javax.xml.stream.XMLEventReader reader) Unmarshal XML data from the specified pull parser and return the resulting content tree. |
JAXBElement | unmarshal(org.w3c.dom.Node node, Class Unmarshal XML data by JAXB mapped declaredType and return the resulting content tree. |
JAXBElement | unmarshal(javax.xml.transform.Source source, Class Unmarshal XML data from the specified XML Source by declaredType and return the resulting content tree. |
JAXBElement | unmarshal(javax.xml.stream.XMLStreamReader reader, Class Unmarshal root element to JAXB mapped declaredType and return the resulting content tree. |
JAXBElement | unmarshal(javax.xml.stream.XMLEventReader reader, Class Unmarshal root element to JAXB mapped declaredType and return the resulting content tree. |