Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.model.impl

public Class BuiltinLeafInfoImpl<TypeT, ClassDeclT>

extends LeafInfoImpl<TypeT, ClassDeclT>
implements BuiltinLeafInfo<TypeT, ClassDeclT>
Class Inheritance
All Implemented Interfaces
org.glassfish.jaxb.core.v2.model.core.BuiltinLeafInfo, org.glassfish.jaxb.core.v2.model.core.LeafInfo, org.glassfish.jaxb.core.v2.model.core.MaybeElement, org.glassfish.jaxb.core.v2.model.core.NonElement, org.glassfish.jaxb.core.v2.model.core.TypeInfo, org.glassfish.jaxb.core.v2.model.annotation.Locatable
Known Direct Subclasses
org.glassfish.jaxb.runtime.v2.model.impl.RuntimeBuiltinLeafInfoImpl
Imports
org.glassfish.jaxb.core.v2.model.core.BuiltinLeafInfo, .Element, .LeafInfo, org.glassfish.jaxb.core.v2.model.nav.Navigator, javax.xml.namespace.QName, java.util.HashMap, .Map

JAXB spec designates a few Java classes to be mapped to XML types in a way that ignores restrictions placed on user-defined beans.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final QName[]

Constructor Summary

AccessConstructor and Description
protected
BuiltinLeafInfoImpl(TypeT type, QName... typeNames)

Method Summary

Modifier and TypeMethod and Description
public final Element<TypeT, ClassDeclT>
asElement()

Implements org.glassfish.jaxb.core.v2.model.core.MaybeElement.asElement.

Deprecated always return null at this level.

Returns the Element aspect of this ClassInfo.

public static <TypeT, ClassDeclT> Map<TypeT, BuiltinLeafInfoImpl<TypeT, ClassDeclT>>
createLeaves(Navigator<TypeT, ClassDeclT, ?, ?> nav)

Creates all the s as specified in the spec.

public final QName
getElementName()

Implements org.glassfish.jaxb.core.v2.model.core.MaybeElement.getElementName.

Deprecated always return null at this level.

Gets the element name of the class, if the class is bound to an element.

public final QName[]

Returns:

do not modify the returned array.
getTypeNames
()

Returns all the type names recognized by this bean info.

public final boolean
isElement()

Implements org.glassfish.jaxb.core.v2.model.core.MaybeElement.isElement.

Deprecated always return false at this level.

If the class is bound to an element, return true.

Inherited from org.glassfish.jaxb.runtime.v2.model.impl.LeafInfoImpl:
canBeReferencedByIDREFgetLocationgetTypegetTypeNamegetUpstreamisSimpleTypetoString

Field Detail

typeNamesback to summary
private final QName[] typeNames

Constructor Detail

BuiltinLeafInfoImplback to summary
protected BuiltinLeafInfoImpl(TypeT type, QName... typeNames)

Method Detail

asElementback to summary
public final Element<TypeT, ClassDeclT> asElement()

Implements org.glassfish.jaxb.core.v2.model.core.MaybeElement.asElement.

Doc from org.glassfish.jaxb.core.v2.model.core.MaybeElement.asElement.

Deprecated

always return null at this level.

Returns the Element aspect of this ClassInfo.

Annotations
@Override
@Deprecated
createLeavesback to summary
public static <TypeT, ClassDeclT> Map<TypeT, BuiltinLeafInfoImpl<TypeT, ClassDeclT>> createLeaves(Navigator<TypeT, ClassDeclT, ?, ?> nav)

Creates all the s as specified in the spec. LeafInfos are all defined by the spec.

getElementNameback to summary
public final QName getElementName()

Implements org.glassfish.jaxb.core.v2.model.core.MaybeElement.getElementName.

Doc from org.glassfish.jaxb.core.v2.model.core.MaybeElement.getElementName.

Deprecated

always return null at this level.

Gets the element name of the class, if the class is bound to an element.

Annotations
@Override
@Deprecated
getTypeNamesback to summary
public final QName[] getTypeNames()

Returns all the type names recognized by this bean info.

Returns:QName[]

do not modify the returned array.

isElementback to summary
public final boolean isElement()

Implements org.glassfish.jaxb.core.v2.model.core.MaybeElement.isElement.

Doc from org.glassfish.jaxb.core.v2.model.core.MaybeElement.isElement.

Deprecated

always return false at this level.

If the class is bound to an element, return true.

Note that when this is true, the class is bound to both an element and a type.

Annotations
@Override
@Deprecated