|
||||||||||
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.TypeInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
com.sun.xml.bind.v2.model.impl.ArrayInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
public class ArrayInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
Public because XJC needs to access it
Field Summary |
---|
Fields inherited from class com.sun.xml.bind.v2.model.impl.TypeInfoImpl |
---|
builder, owner |
Fields inherited from interface com.sun.xml.bind.v2.model.core.NonElement |
---|
ANYTYPE_NAME |
Constructor Summary | |
---|---|
ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder,
Locatable upstream,
TypeT arrayType)
|
Method Summary | |
---|---|
static QName |
calcArrayTypeName(QName n)
Computes the type name of the array from that of the item type. |
boolean |
canBeReferencedByIDREF()
Deprecated. why are you calling a method whose return value is always known? |
NonElement<TypeT,ClassDeclT> |
getItemType()
T of T[]. |
Location |
getLocation()
Gets the location object that this object points to. |
TypeT |
getType()
Gets the underlying Java type that object represents. |
QName |
getTypeName()
Gets the primary XML type ANYTYPE_NAME of the class. |
boolean |
isSimpleType()
Returns true if this NonElement maps to text in XML,
without any attribute nor child elements. |
String |
toString()
Returns a human-readable string that represents this position. |
Methods inherited from class com.sun.xml.bind.v2.model.impl.TypeInfoImpl |
---|
getUpstream, link, nav, parseElementName, parseTypeName, parseTypeName, reader |
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.annotation.Locatable |
---|
getUpstream |
Constructor Detail |
---|
public ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder, Locatable upstream, TypeT arrayType)
Method Detail |
---|
public static QName calcArrayTypeName(QName n)
public NonElement<TypeT,ClassDeclT> getItemType()
ArrayInfo
getItemType
in interface ArrayInfo<TypeT,ClassDeclT>
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<TypeT,ClassDeclT>
public boolean isSimpleType()
NonElement
NonElement
maps to text in XML,
without any attribute nor child elements.
isSimpleType
in interface NonElement<TypeT,ClassDeclT>
public TypeT getType()
TypeInfo
getType
in interface TypeInfo<TypeT,ClassDeclT>
public final boolean canBeReferencedByIDREF()
canBeReferencedByIDREF
in interface TypeInfo<TypeT,ClassDeclT>
public Location getLocation()
Locatable
getLocation
in interface Locatable
public String toString()
Location
toString
in interface Location
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |