Java javax.xml.bind Unmarshaller fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.bind Unmarshaller fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.bind Unmarshaller.

The text is from its open source code.

Method

ValidationEventHandlergetEventHandler()
Return the current event handler or the default event handler if one hasn't been set.
javax.xml.validation.SchemagetSchema()
Get the JAXP 1.3 javax.xml.validation.Schema Schema object being used to perform unmarshal-time validation.
UnmarshallerHandlergetUnmarshallerHandler()
Get an unmarshaller handler object that can be used as a component in an XML pipeline.
voidsetAdapter(XmlAdapter adapter)
Associates a configured instance of XmlAdapter with this unmarshaller.
voidsetAdapter(Class type, A adapter)
Associates a configured instance of XmlAdapter with this unmarshaller.
voidsetAttachmentUnmarshaller(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.

voidsetEventHandler(ValidationEventHandler handler)
Allow an application to register a ValidationEventHandler .
voidsetListener(Listener listener)

Register unmarshal event callback Listener with this Unmarshaller .

voidsetProperty(String name, Object value)
Set the particular property in the underlying implementation of Unmarshaller .
voidsetSchema(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.
Objectunmarshal(java.io.File f)
Unmarshal XML data from the specified file and return the resulting content tree.
Objectunmarshal(java.io.InputStream is)
Unmarshal XML data from the specified InputStream and return the resulting content tree.
Objectunmarshal(Reader reader)
Unmarshal XML data from the specified Reader and return the resulting content tree.
Objectunmarshal(java.net.URL url)
Unmarshal XML data from the specified URL and return the resulting content tree.
Objectunmarshal(org.xml.sax.InputSource source)
Unmarshal XML data from the specified SAX InputSource and return the resulting content tree.
Objectunmarshal(org.w3c.dom.Node node)
Unmarshal global XML data from the specified DOM tree and return the resulting content tree.
Objectunmarshal(javax.xml.transform.Source source)
Unmarshal XML data from the specified XML Source and return the resulting content tree.
Objectunmarshal(javax.xml.stream.XMLStreamReader reader)
Unmarshal XML data from the specified pull parser and return the resulting content tree.
Objectunmarshal(javax.xml.stream.XMLEventReader reader)
Unmarshal XML data from the specified pull parser and return the resulting content tree.
JAXBElementunmarshal(org.w3c.dom.Node node, Class declaredType)
Unmarshal XML data by JAXB mapped declaredType and return the resulting content tree.
JAXBElementunmarshal(javax.xml.transform.Source source, Class declaredType)
Unmarshal XML data from the specified XML Source by declaredType and return the resulting content tree.
JAXBElementunmarshal(javax.xml.stream.XMLStreamReader reader, Class declaredType)
Unmarshal root element to JAXB mapped declaredType and return the resulting content tree.
JAXBElementunmarshal(javax.xml.stream.XMLEventReader reader, Class declaredType)
Unmarshal root element to JAXB mapped declaredType and return the resulting content tree.