Package org.eclipse.persistence.jaxb
Class JAXBTypeElement
- java.lang.Object
-
- javax.xml.bind.JAXBElement
-
- org.eclipse.persistence.jaxb.JAXBTypeElement
-
- All Implemented Interfaces:
Serializable
public class JAXBTypeElement extends javax.xml.bind.JAXBElement
Subclass of JAXBElement to allow the use of ParameterizedTypes.
Used as a wrapper object just as JAXBElement would be used during JAXB marshal operations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.xml.bind.JAXBElement
javax.xml.bind.JAXBElement.GlobalScope
-
-
Constructor Summary
Constructors Constructor Description JAXBTypeElement(QName name, Object value, Class type)Create a new JAXBTypeElement.JAXBTypeElement(QName name, Object value, ParameterizedType type)Create a new JAXBTypeElement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypegetType()Get the Type associated with this JAXBTypeElementvoidsetType(Type type)Set the Type associated with this JAXBTypeElement-
Methods inherited from class javax.xml.bind.JAXBElement
getDeclaredType, getName, getScope, getValue, isGlobalScope, isNil, isTypeSubstituted, setNil, setValue
-
-
-
-
Constructor Detail
-
JAXBTypeElement
public JAXBTypeElement(QName name, Object value, ParameterizedType type)
Create a new JAXBTypeElement.- Parameters:
name- QName representing the xml element tag namevalue- Object representing the value of an xml element.type- ParameterizedType associated with this JAXBTypeElement.
-
-