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

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

Introduction

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

The text is from its open source code.

Constructor

Method

ClassgetClass()
Returns the runtime class of this Object .
ClassgetDeclaredType()
Returns the Java binding of the xml element declaration's type attribute.
QNamegetName()
Returns the xml element tag name.
ClassgetScope()
Returns scope of xml element declaration.
TgetValue()

Return the content model and attribute values for this element.

See #isNil() for a description of a property constraint when this value is null

booleanisNil()

Returns true iff this element instance content model is nil.

This property always returns true when #getValue() is null.

voidsetNil(boolean value)

Set whether this element has nil content.

voidsetValue(T t)

Set the content model and attributes of this xml element.

When this property is set to null , isNil() must by true .

StringtoString()
Returns a string representation of the object.