public class BuiltinLeafInfoImpl<TypeT,ClassDeclT> extends Object implements BuiltinLeafInfo<TypeT,ClassDeclT>
ANYTYPE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
BuiltinLeafInfoImpl(TypeT type,
QName... typeNames) |
| Modifier and Type | Method and Description |
|---|---|
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(Navigator<TypeT,ClassDeclT,?,?> nav)
Creates all the
BuiltinLeafInfoImpls 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, waitgetTypeNameisSimpleTypecanBeReferencedByIDREF, getTypegetLocation, getUpstreampublic final QName[] getTypeNames()
public final boolean isElement()
isElement in interface MaybeElement<TypeT,ClassDeclT>public final QName getElementName()
getElementName in interface MaybeElement<TypeT,ClassDeclT>public final Element<TypeT,ClassDeclT> asElement()
asElement in interface MaybeElement<TypeT,ClassDeclT>public static <TypeT,ClassDeclT> Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves(Navigator<TypeT,ClassDeclT,?,?> nav)
BuiltinLeafInfoImpls as specified in the spec.
LeafInfos are all defined by the spec.public TypeT getType()
getType in interface TypeInfo<TypeT,ClassDeclT>public final boolean canBeReferencedByIDREF()
canBeReferencedByIDREF in interface TypeInfo<TypeT,ClassDeclT>public QName getTypeName()
getTypeName in interface NonElement<TypeT,ClassDeclT>public Locatable getUpstream()
getUpstream in interface Locatablepublic Location getLocation()
getLocation in interface Locatablepublic boolean isSimpleType()
isSimpleType in interface NonElement<TypeT,ClassDeclT>Copyright © 2017 Oracle Corporation. All rights reserved.