This class is nevertheless defined to make the type checker happy.
| Modifier and Type | Field and Description |
|---|---|
| private final CNonElement | |
| private final QName |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public CNonElement | getInfo()
Implements com.
Deprecated
Guaranteed to return this. |
| public CNonElement | |
| public Locator | getLocator()
Implements com. Gets the source location in the schema from which this model component is created. |
| public NType | getType()
Implements org. Gets the underlying Java type that object represents. |
| public QName | getTypeName()
Implements org. Gets the primary XML type ANYTYPE_NAME of the class. |
| public boolean | isBoxedType()
Implements com. Returns true iff this type represents a class that has a unboxed form. |
| public boolean | isSimpleType()
Implements org. Returns true if this maps to text in XML, without any attribute nor child elements. |
| public JType | toType(Outline o, Aspect aspect)
Implements com. Returns the representation of this type in code model. |
| itemType | back to summary |
|---|---|
| private final CNonElement itemType | |
| typeName | back to summary |
|---|---|
| private final QName typeName | |
| CArrayInfo | back to summary |
|---|---|
| public CArrayInfo(Model model, CNonElement itemType, XSComponent source, CCustomizations customizations) | |
| fullName | back to summary |
|---|---|
| public String fullName() Implements com. Doc from com. Human readable name of this type.
| |
| getInfo | back to summary |
|---|---|
| public CNonElement getInfo() Implements com. Doc from com. Deprecated
Guaranteed to return this.
| |
| getItemType | back to summary |
|---|---|
| public CNonElement getItemType() Implements org. Doc from org. T of T[]. The type of the items of the array.
| |
| getLocator | back to summary |
|---|---|
| public Locator getLocator() Implements com. Doc from com. Gets the source location in the schema from which this model component is created.
| |
| getType | back to summary |
|---|---|
| public NType getType() Implements org. Doc from org. Gets the underlying Java type that object represents.
| |
| getTypeName | back to summary |
|---|---|
| public QName getTypeName() Implements org. Doc from org. Gets the primary XML type ANYTYPE_NAME of the class. A Java type can be mapped to multiple XML types, but one of them is considered "primary" and used when we generate a schema.
| |
| isBoxedType | back to summary |
|---|---|
| public boolean isBoxedType() Implements com. Doc from com. Returns true iff this type represents a class that has a unboxed form.
For example, for
| |
| isSimpleType | back to summary |
|---|---|
| public boolean isSimpleType() Implements org. Doc from org. Returns true if this maps to text in XML, without any attribute nor child elements.
| |
| toType | back to summary |
|---|---|
| public JType toType(Outline o, Aspect aspect) Implements com. Doc from com. Returns the representation of this type in code model.
This operation requires the whole model to be built,
and hence it takes Under some code generation strategy, some bean classes are considered implementation specific (such as impl.FooImpl class) These classes always have accompanying "exposed" type (such as the Foo interface). For such Jekyll and Hyde type, the aspect parameter determines which personality is returned.
| |