com.sun.xml.bind.v2.model.impl

Class BuiltinLeafInfoImpl<TypeT,ClassDeclT>

public class BuiltinLeafInfoImpl<TypeT,ClassDeclT> extends LeafInfoImpl<TypeT,ClassDeclT> implements BuiltinLeafInfo<TypeT,ClassDeclT>

JAXB spec designates a few Java classes to be mapped to XML types in a way that ignores restrictions placed on user-defined beans.
Constructor Summary
protected BuiltinLeafInfoImpl(TypeT type, QName... typeNames)
Method Summary
Element<TypeT,ClassDeclT>asElement()
static <TypeT,ClassDeclT> Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>>createLeaves(Navigator<TypeT,ClassDeclT,?,?> nav)
Creates all the BuiltinLeafInfoImpls as specified in the spec. LeafInfos are all defined by the spec.
QNamegetElementName()
QName[]getTypeNames()
Returns all the type names recognized by this bean info.
booleanisElement()

Constructor Detail

BuiltinLeafInfoImpl

protected BuiltinLeafInfoImpl(TypeT type, QName... typeNames)

Method Detail

asElement

public final Element<TypeT,ClassDeclT> asElement()

Deprecated: always return null at this level.

createLeaves

public static <TypeT,ClassDeclT> Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves(Navigator<TypeT,ClassDeclT,?,?> nav)
Creates all the BuiltinLeafInfoImpls as specified in the spec. LeafInfos are all defined by the spec.

getElementName

public final QName getElementName()

Deprecated: always return null at this level.

getTypeNames

public final QName[] getTypeNames()
Returns all the type names recognized by this bean info.

Returns: do not modify the returned array.

isElement

public final boolean isElement()

Deprecated: always return false at this level.