public final class CArrayInfo extends Object implements com.sun.xml.bind.v2.model.core.ArrayInfo<NType,NClass>, CNonElement, NType
This class is nevertheless defined to make the type checker happy.
| Constructor and Description |
|---|
CArrayInfo(Model model,
CNonElement itemType,
XSComponent source,
CCustomizations customizations) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeReferencedByIDREF()
Deprecated.
why are you calling an unimplemented method?
|
JExpression |
createConstant(Outline outline,
XmlString lexical) |
String |
fullName()
Human readable name of this type.
|
CAdapter |
getAdapterUse() |
CCustomizations |
getCustomizations()
Gets the list of customizations attached to this model component.
|
MimeType |
getExpectedMimeType()
No default
MimeType. |
CNonElement |
getInfo()
Deprecated.
|
CNonElement |
getItemType() |
com.sun.xml.bind.v2.runtime.Location |
getLocation() |
Locator |
getLocator()
Gets the source location in the schema from which this model component is created.
|
XSComponent |
getSchemaComponent()
If this model object is built from XML Schema,
this property returns a schema component from which the model is built.
|
NType |
getType() |
QName |
getTypeName() |
com.sun.xml.bind.v2.model.annotation.Locatable |
getUpstream() |
com.sun.xml.bind.v2.model.core.ID |
idUse() |
boolean |
isBoxedType()
Returns true iff this type represents a class that has a unboxed form.
|
boolean |
isCollection() |
boolean |
isSimpleType() |
JType |
toType(Outline o,
Aspect aspect)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdapterUse, isCollectioncreateConstant, getExpectedMimeType, idUsegetLocation, getUpstreamgetCustomizations, getSchemaComponentpublic CArrayInfo(Model model, CNonElement itemType, XSComponent source, CCustomizations customizations)
public CNonElement getItemType()
public QName getTypeName()
public boolean isSimpleType()
@Deprecated public CNonElement getInfo()
CNonElementgetInfo in interface CNonElementgetInfo in interface TypeUsepublic JType toType(Outline o, Aspect aspect)
CTypeInfotoType in interface CTypeInfotoType in interface NTypeaspect - If Aspect.IMPLEMENTATION, this method returns the
implementation specific class that this type represents.
If Aspect.EXPOSED, this method returns the
publicly exposed type that this type represents.
For ordinary classes, the aspect parameter is meaningless.NType.toType(Outline, com.sun.tools.xjc.outline.Aspect)public NType getType()
public boolean isBoxedType()
NTypeString this is false, but for Integer
this is true.isBoxedType in interface NTypepublic String fullName()
NTypepublic Locator getLocator()
CCustomizablegetLocator in interface CCustomizablepublic final boolean isCollection()
public final CAdapter getAdapterUse()
public final com.sun.xml.bind.v2.model.core.ID idUse()
public final XSComponent getSchemaComponent()
CCustomizablegetSchemaComponent in interface CCustomizablepublic final boolean canBeReferencedByIDREF()
public CCustomizations getCustomizations()
CCustomizablegetCustomizations in interface CCustomizablePlugin.getCustomizationURIs()public JExpression createConstant(Outline outline, XmlString lexical)
public final com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
getUpstream in interface com.sun.xml.bind.v2.model.annotation.Locatablepublic final com.sun.xml.bind.v2.runtime.Location getLocation()
getLocation in interface com.sun.xml.bind.v2.model.annotation.LocatableCopyright © 2017 Oracle Corporation. All rights reserved.