public class JAXBTypeElement
extends jakarta.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.
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
|
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.Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.