public class ArrayInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> extends Object implements ArrayInfo<TypeT,ClassDeclT>, Location
Public because XJC needs to access it
| Modifier and Type | Field and 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. |
ANYTYPE_NAME| Constructor and Description |
|---|
ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder,
Locatable upstream,
TypeT arrayType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeReferencedByIDREF()
Deprecated.
why are you calling a method whose return value is always known?
|
NonElement<TypeT,ClassDeclT> |
getItemType() |
Location |
getLocation() |
TypeT |
getType() |
QName |
getTypeName() |
Locatable |
getUpstream() |
boolean |
isSimpleType() |
protected Navigator<TypeT,ClassDeclT,FieldT,MethodT> |
nav() |
protected QName |
parseElementName(ClassDeclT clazz)
Parses an
XmlRootElement annotation on a class
and determine the element name. |
protected QName |
parseTypeName(ClassDeclT clazz) |
protected QName |
parseTypeName(ClassDeclT clazz,
XmlType t)
Parses a (potentially-null)
XmlType annotation on a class
and determine the actual value. |
protected AnnotationReader<TypeT,ClassDeclT,FieldT,MethodT> |
reader() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUpstreamprotected 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, Locatable upstream, TypeT arrayType)
public NonElement<TypeT,ClassDeclT> getItemType()
getItemType in interface ArrayInfo<TypeT,ClassDeclT>public QName getTypeName()
getTypeName in interface NonElement<TypeT,ClassDeclT>public boolean isSimpleType()
isSimpleType in interface NonElement<TypeT,ClassDeclT>public TypeT getType()
getType in interface TypeInfo<TypeT,ClassDeclT>public final boolean canBeReferencedByIDREF()
canBeReferencedByIDREF in interface TypeInfo<TypeT,ClassDeclT>public Location getLocation()
getLocation in interface Locatablepublic String toString()
public Locatable getUpstream()
getUpstream in interface Locatableprotected final Navigator<TypeT,ClassDeclT,FieldT,MethodT> nav()
protected final AnnotationReader<TypeT,ClassDeclT,FieldT,MethodT> reader()
protected final QName parseElementName(ClassDeclT clazz)
XmlRootElement annotation on a class
and determine the element name.protected final QName parseTypeName(ClassDeclT clazz)
protected final QName parseTypeName(ClassDeclT clazz, 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 © 2017 Oracle Corporation. All rights reserved.