com.sun.xml.bind.v2.model.impl
Class ArrayInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>

java.lang.Object
  extended by com.sun.xml.bind.v2.model.impl.ArrayInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
All Implemented Interfaces:
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.Location

public 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


Field Summary
 
Fields inherited from interface com.sun.xml.bind.v2.model.core.NonElement
ANYTYPE_NAME
 
Constructor Summary
ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder, com.sun.xml.bind.v2.model.annotation.Locatable upstream, TypeT arrayType)
           
 
Method Summary
 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()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable
getUpstream
 

Constructor Detail

ArrayInfoImpl

public ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder,
                     com.sun.xml.bind.v2.model.annotation.Locatable upstream,
                     TypeT arrayType)
Method Detail

getItemType

public com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT> getItemType()
Specified by:
getItemType in interface com.sun.xml.bind.v2.model.core.ArrayInfo<TypeT,ClassDeclT>

getTypeName

public javax.xml.namespace.QName getTypeName()
Specified by:
getTypeName in interface com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>

isSimpleType

public boolean isSimpleType()
Specified by:
isSimpleType in interface com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>

getType

public TypeT getType()
Specified by:
getType in interface com.sun.xml.bind.v2.model.core.TypeInfo<TypeT,ClassDeclT>

canBeReferencedByIDREF

public final boolean canBeReferencedByIDREF()
Deprecated. why are you calling a method whose return value is always known?

Leaf-type cannot be referenced from IDREF.

Specified by:
canBeReferencedByIDREF in interface com.sun.xml.bind.v2.model.core.TypeInfo<TypeT,ClassDeclT>

getLocation

public com.sun.xml.bind.v2.runtime.Location getLocation()
Specified by:
getLocation in interface com.sun.xml.bind.v2.model.annotation.Locatable

toString

public java.lang.String toString()
Specified by:
toString in interface com.sun.xml.bind.v2.runtime.Location
Overrides:
toString in class java.lang.Object

getUpstream

public com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
Specified by:
getUpstream in interface com.sun.xml.bind.v2.model.annotation.Locatable