com.sun.xml.bind.v2.model.annotation.Locatable, com.sun.xml.bind.v2.model.core.ArrayInfo<TypeT,ClassDeclT>, com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>, com.sun.xml.bind.v2.model.core.TypeInfo<TypeT,ClassDeclT>, com.sun.xml.bind.v2.runtime.Locationpublic class ArrayInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
extends java.lang.Object
implements com.sun.xml.bind.v2.model.core.ArrayInfo<TypeT,ClassDeclT>, com.sun.xml.bind.v2.runtime.Location
Public because XJC needs to access it
| Modifier and Type | Field | Description |
|---|---|---|
protected ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> |
builder |
Reference to the
ModelBuilder, only until we link TypeInfos all together,
because we don't want to keep ModelBuilder too long. |
protected com.sun.xml.bind.v2.model.impl.TypeInfoSetImpl<TypeT,ClassDeclT,FieldT,MethodT> |
owner |
TypeInfoSet to which this class belongs. |
| Constructor | Description |
|---|---|
ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder,
com.sun.xml.bind.v2.model.annotation.Locatable upstream,
TypeT arrayType) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canBeReferencedByIDREF() |
Deprecated.
why are you calling a method whose return value is always known?
|
com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT> |
getItemType() |
|
com.sun.xml.bind.v2.runtime.Location |
getLocation() |
|
TypeT |
getType() |
|
javax.xml.namespace.QName |
getTypeName() |
|
com.sun.xml.bind.v2.model.annotation.Locatable |
getUpstream() |
|
boolean |
isSimpleType() |
|
protected com.sun.xml.bind.v2.model.nav.Navigator<TypeT,ClassDeclT,FieldT,MethodT> |
nav() |
|
protected javax.xml.namespace.QName |
parseElementName(ClassDeclT clazz) |
Parses an
XmlRootElement annotation on a class
and determine the element name. |
protected javax.xml.namespace.QName |
parseTypeName(ClassDeclT clazz) |
|
protected javax.xml.namespace.QName |
parseTypeName(ClassDeclT clazz,
javax.xml.bind.annotation.XmlType t) |
Parses a (potentially-null)
XmlType annotation on a class
and determine the actual value. |
protected com.sun.xml.bind.v2.model.annotation.AnnotationReader<TypeT,ClassDeclT,FieldT,MethodT> |
reader() |
|
java.lang.String |
toString() |
protected final com.sun.xml.bind.v2.model.impl.TypeInfoSetImpl<TypeT,ClassDeclT,FieldT,MethodT> owner
TypeInfoSet to which this class belongs.protected ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder
ModelBuilder, only until we link TypeInfos all together,
because we don't want to keep ModelBuilder too long.public ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder, com.sun.xml.bind.v2.model.annotation.Locatable upstream, TypeT arrayType)
public com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT> getItemType()
getItemType in interface com.sun.xml.bind.v2.model.core.ArrayInfo<TypeT,ClassDeclT>public javax.xml.namespace.QName getTypeName()
getTypeName in interface com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>public boolean isSimpleType()
isSimpleType in interface com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>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 com.sun.xml.bind.v2.runtime.Location getLocation()
getLocation in interface com.sun.xml.bind.v2.model.annotation.Locatablepublic java.lang.String toString()
toString in interface com.sun.xml.bind.v2.runtime.LocationtoString in class java.lang.Objectpublic com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
getUpstream in interface com.sun.xml.bind.v2.model.annotation.Locatableprotected final com.sun.xml.bind.v2.model.nav.Navigator<TypeT,ClassDeclT,FieldT,MethodT> nav()
protected final com.sun.xml.bind.v2.model.annotation.AnnotationReader<TypeT,ClassDeclT,FieldT,MethodT> reader()
protected final javax.xml.namespace.QName parseElementName(ClassDeclT clazz)
XmlRootElement annotation on a class
and determine the element name.protected final javax.xml.namespace.QName parseTypeName(ClassDeclT clazz)
protected final javax.xml.namespace.QName parseTypeName(ClassDeclT clazz,
javax.xml.bind.annotation.XmlType t)
XmlType annotation on a class
and determine the actual value.clazz - The class on which the XmlType annotation is checked.t - The XmlType annotation on the clazz. This value
is taken as a parameter to improve the performance for the case where
't' is pre-computed.Copyright © 2018 Oracle Corporation. All rights reserved.