public class JAXBTypeElement extends 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.
JAXBElement.GlobalScope
Constructor and Description |
---|
JAXBTypeElement(QName name,
Object value,
Class type)
Create a new JAXBTypeElement.
|
JAXBTypeElement(QName name,
Object value,
ParameterizedType type)
Create a new JAXBTypeElement.
|
Modifier and Type | Method and Description |
---|---|
Type |
getType()
Get the Type associated with this JAXBTypeElement
|
void |
setType(Type type)
Set the Type associated with this JAXBTypeElement
|
getDeclaredType, getName, getScope, getValue, isGlobalScope, isNil, isTypeSubstituted, setNil, setValue
public JAXBTypeElement(QName name, Object value, ParameterizedType type)
name
- QName representing the xml element tag namevalue
- Object representing the value of an xml element.type
- ParameterizedType associated with this JAXBTypeElement.EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference