|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.bind.v2.model.impl.LeafInfoImpl<TypeT,ClassDeclT>
abstract class LeafInfoImpl<TypeT,ClassDeclT>
| Field Summary |
|---|
| Fields inherited from interface com.sun.xml.bind.v2.model.core.NonElement |
|---|
ANYTYPE_NAME |
| Constructor Summary | |
|---|---|
protected |
LeafInfoImpl(TypeT type,
javax.xml.namespace.QName typeName)
|
| Method Summary | |
|---|---|
boolean |
canBeReferencedByIDREF()
Deprecated. why are you calling a method whose return value is always known? |
Location |
getLocation()
Gets the location object that this object points to. |
TypeT |
getType()
A reference to the representation of the type. |
javax.xml.namespace.QName |
getTypeName()
Gets the primary XML type ANYTYPE_NAME of the class. |
Locatable |
getUpstream()
Gets the upstream Location information. |
boolean |
isSimpleType()
Returns true if this NonElement maps to text in XML,
without any attribute nor child elements. |
java.lang.String |
toString()
Returns a human-readable string that represents this position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.xml.bind.v2.model.core.MaybeElement |
|---|
asElement, getElementName, isElement |
| Constructor Detail |
|---|
protected LeafInfoImpl(TypeT type,
javax.xml.namespace.QName typeName)
| Method Detail |
|---|
public TypeT getType()
getType in interface TypeInfo<TypeT,ClassDeclT>public final boolean canBeReferencedByIDREF()
canBeReferencedByIDREF in interface TypeInfo<TypeT,ClassDeclT>public javax.xml.namespace.QName getTypeName()
NonElementA Java type can be mapped to multiple XML types, but one of them is considered "primary" and used when we generate a schema.
getTypeName in interface NonElement<TypeT,ClassDeclT>public Locatable getUpstream()
LocatableLocation information.
getUpstream in interface Locatablepublic Location getLocation()
Locatable
getLocation in interface Locatablepublic boolean isSimpleType()
NonElementNonElement maps to text in XML,
without any attribute nor child elements.
isSimpleType in interface NonElement<TypeT,ClassDeclT>public java.lang.String toString()
Location
toString in interface LocationtoString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||