|
||||||||||
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.AnyTypeImpl<T,C>
class AnyTypeImpl<T,C>
TypeInfo
implementation for xs:anyType.
Field Summary |
---|
Fields inherited from interface com.sun.xml.bind.v2.model.core.NonElement |
---|
ANYTYPE_NAME |
Constructor Summary | |
---|---|
AnyTypeImpl(Navigator<T,C,?,?> nav)
|
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. |
T |
getType()
Gets the underlying Java type that object represents. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnyTypeImpl(Navigator<T,C,?,?> nav)
Method Detail |
---|
public QName getTypeName()
NonElement
A 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<T,C>
public T getType()
TypeInfo
getType
in interface TypeInfo<T,C>
public Locatable getUpstream()
Locatable
Location
information.
getUpstream
in interface Locatable
public boolean isSimpleType()
NonElement
NonElement
maps to text in XML,
without any attribute nor child elements.
isSimpleType
in interface NonElement<T,C>
public Location getLocation()
Locatable
getLocation
in interface Locatable
public final boolean canBeReferencedByIDREF()
XmlIDREF
.
canBeReferencedByIDREF
in interface TypeInfo<T,C>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |