com.sun.xml.bind.v2.model.annotation.Locatable, com.sun.xml.bind.v2.model.core.BuiltinLeafInfo<TypeT,ClassDeclT>, com.sun.xml.bind.v2.model.core.LeafInfo<TypeT,ClassDeclT>, com.sun.xml.bind.v2.model.core.MaybeElement<TypeT,ClassDeclT>, com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>, com.sun.xml.bind.v2.model.core.TypeInfo<TypeT,ClassDeclT>RuntimeBuiltinLeafInfoImplpublic class BuiltinLeafInfoImpl<TypeT,ClassDeclT>
extends java.lang.Object
implements com.sun.xml.bind.v2.model.core.BuiltinLeafInfo<TypeT,ClassDeclT>
| Modifier | Constructor | Description |
|---|---|---|
protected |
BuiltinLeafInfoImpl(TypeT type,
javax.xml.namespace.QName... typeNames) |
| Modifier and Type | Method | Description |
|---|---|---|
com.sun.xml.bind.v2.model.core.Element<TypeT,ClassDeclT> |
asElement() |
Deprecated.
always return null at this level.
|
boolean |
canBeReferencedByIDREF() |
Deprecated.
why are you calling a method whose return value is always known?
|
static <TypeT,ClassDeclT> |
createLeaves(com.sun.xml.bind.v2.model.nav.Navigator<TypeT,ClassDeclT,?,?> nav) |
Creates all the
BuiltinLeafInfoImpls as specified in the spec. |
javax.xml.namespace.QName |
getElementName() |
Deprecated.
always return null at this level.
|
com.sun.xml.bind.v2.runtime.Location |
getLocation() |
|
TypeT |
getType() |
A reference to the representation of the type.
|
javax.xml.namespace.QName |
getTypeName() |
|
javax.xml.namespace.QName[] |
getTypeNames() |
Returns all the type names recognized by this bean info.
|
com.sun.xml.bind.v2.model.annotation.Locatable |
getUpstream() |
|
boolean |
isElement() |
Deprecated.
always return false at this level.
|
boolean |
isSimpleType() |
|
java.lang.String |
toString() |
getLocation, getUpstreamprotected BuiltinLeafInfoImpl(TypeT type, javax.xml.namespace.QName... typeNames)
public final javax.xml.namespace.QName[] getTypeNames()
public final boolean isElement()
isElement in interface com.sun.xml.bind.v2.model.core.MaybeElement<TypeT,ClassDeclT>public final javax.xml.namespace.QName getElementName()
getElementName in interface com.sun.xml.bind.v2.model.core.MaybeElement<TypeT,ClassDeclT>public final com.sun.xml.bind.v2.model.core.Element<TypeT,ClassDeclT> asElement()
asElement in interface com.sun.xml.bind.v2.model.core.MaybeElement<TypeT,ClassDeclT>public static <TypeT,ClassDeclT> java.util.Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves(com.sun.xml.bind.v2.model.nav.Navigator<TypeT,ClassDeclT,?,?> nav)
BuiltinLeafInfoImpls as specified in the spec.
LeafInfos are all defined by the spec.public TypeT getType()
getType in interface com.sun.xml.bind.v2.model.core.TypeInfo<TypeT,ClassDeclT>public final boolean canBeReferencedByIDREF()
canBeReferencedByIDREF in interface com.sun.xml.bind.v2.model.core.TypeInfo<TypeT,ClassDeclT>public javax.xml.namespace.QName getTypeName()
getTypeName in interface com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>public com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
getUpstream in interface com.sun.xml.bind.v2.model.annotation.Locatablepublic com.sun.xml.bind.v2.runtime.Location getLocation()
getLocation in interface com.sun.xml.bind.v2.model.annotation.Locatablepublic boolean isSimpleType()
isSimpleType in interface com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>public java.lang.String toString()
toString in interface com.sun.xml.bind.v2.runtime.LocationtoString in class java.lang.ObjectCopyright © 2017 Oracle Corporation. All rights reserved.