public class BuiltinLeafInfoImpl<TypeT,ClassDeclT> extends Object implements com.sun.xml.bind.v2.model.core.BuiltinLeafInfo<TypeT,ClassDeclT>
ANYTYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
BuiltinLeafInfoImpl(TypeT type,
QName... typeNames) |
Modifier and Type | Method and 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
BuiltinLeafInfoImpl s as specified in the spec. |
QName |
getElementName()
Deprecated.
always return null at this level.
|
Location |
getLocation() |
TypeT |
getType()
A reference to the representation of the type.
|
QName |
getTypeName() |
QName[] |
getTypeNames()
Returns all the type names recognized by this bean info.
|
Locatable |
getUpstream() |
boolean |
isElement()
Deprecated.
always return false at this level.
|
boolean |
isSimpleType() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTypeName
isSimpleType
canBeReferencedByIDREF, getType
getLocation, getUpstream
public final QName[] getTypeNames()
public final boolean isElement()
isElement
in interface com.sun.xml.bind.v2.model.core.MaybeElement<TypeT,ClassDeclT>
public final 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> Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves(com.sun.xml.bind.v2.model.nav.Navigator<TypeT,ClassDeclT,?,?> nav)
BuiltinLeafInfoImpl
s as specified in the spec.
LeafInfo
s 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 QName getTypeName()
getTypeName
in interface com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>
public Locatable getUpstream()
getUpstream
in interface Locatable
public Location getLocation()
getLocation
in interface Locatable
public boolean isSimpleType()
isSimpleType
in interface com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>
Copyright © 2016 Oracle Corporation. All rights reserved.