Uses of Class javax.xml.bind.JAXBElement (Java Platform SE 8 )
Date: 2015-11-18

## Uses of Class
javax.xml.bind.JAXBElement

- Packages that use JAXBElement
  Package | Description
  --- | ---
  javax.xml.bind | Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
  javax.xml.bind.helpers | JAXB Provider Use Only: Provides partial default implementations for some of the `javax.xml.bind` interfaces.

- - ### Uses of JAXBElement in javax.xml.bind

    Methods in javax.xml.bind that return JAXBElement
    Modifier and Type | Method and Description
    --- | ---
    `<T> JAXBElement<T>` | Unmarshaller.`unmarshal(Node node, Class<T> declaredType)` Unmarshal XML data by JAXB mapped `declaredType` and return the resulting content tree.
    `<T> JAXBElement<T>` | Unmarshaller.`unmarshal(Source source, Class<T> declaredType)` Unmarshal XML data from the specified XML Source by `declaredType` and return the resulting content tree.
    `<T> JAXBElement<T>` | Unmarshaller.`unmarshal(XMLEventReader reader, Class<T> declaredType)` Unmarshal root element to JAXB mapped `declaredType` and return the resulting content tree.
    `abstract <T> JAXBElement<T>` | Binder.`unmarshal(XmlNode xmlNode, Class<T> declaredType)` Unmarshal XML root element by provided `declaredType` to a JAXB object tree.
    `<T> JAXBElement<T>` | Unmarshaller.`unmarshal(XMLStreamReader reader, Class<T> declaredType)` Unmarshal root element to JAXB mapped `declaredType` and return the resulting content tree.

  - ### Uses of JAXBElement in javax.xml.bind.helpers

    Methods in javax.xml.bind.helpers that return JAXBElement
    Modifier and Type | Method and Description
    --- | ---
    `<T> JAXBElement<T>` | AbstractUnmarshallerImpl.`unmarshal(Node node, Class<T> expectedType)`
    `<T> JAXBElement<T>` | AbstractUnmarshallerImpl.`unmarshal(Source source, Class<T> expectedType)`
    `<T> JAXBElement<T>` | AbstractUnmarshallerImpl.`unmarshal(XMLEventReader reader, Class<T> expectedType)`
    `<T> JAXBElement<T>` | AbstractUnmarshallerImpl.`unmarshal(XMLStreamReader reader, Class<T> expectedType)`

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.