TypeRef for XJC.
Todo
do we need the source schema component support here?
| Modifier and Type | Field and Description |
|---|---|
| public final XmlString | |
| private final QName | |
| private final boolean | |
| private final CNonElement | type
In-memory type. |
| pack-priv final QName |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CTypeRef(CNonElement type, QName elementName, QName typeName, boolean nillable, XmlString defaultValue)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | getDefaultValue()
Implements org. Inside XJC, use |
| public static QName | |
| public PropertyInfo | getSource()
Implements org. Gets the property which is the source of this reference. |
| public QName | getTagName()
Implements org. The associated element name. |
| public CNonElement | getTarget()
Implements org. Target of the reference. |
| public QName | |
| public boolean | |
| public boolean | isNillable()
Implements org. Returns true if this element is nillable. |
| private static QName | Returns: simpleTypeName or nullgiven type declType)Recursively search for type name. |
| defaultValue | back to summary |
|---|---|
| public final XmlString defaultValue | |
| elementName | back to summary |
|---|---|
| private final QName elementName | |
| nillable | back to summary |
|---|---|
| private final boolean nillable | |
| type | back to summary |
|---|---|
| private final CNonElement type In-memory type. This is the type used when | |
| typeName | back to summary |
|---|---|
| pack-priv final QName typeName XML Schema type name of | |
| CTypeRef | back to summary |
|---|---|
| public CTypeRef(CNonElement type, XSElementDecl decl) | |
| CTypeRef | back to summary |
|---|---|
| public CTypeRef(CNonElement type, QName elementName, QName typeName, boolean nillable, XmlString defaultValue) | |
| getDefaultValue | back to summary |
|---|---|
| public String getDefaultValue() Implements org. Inside XJC, use
| |
| getSimpleTypeName | back to summary |
|---|---|
| public static QName getSimpleTypeName(XSElementDecl decl) | |
| getSource | back to summary |
|---|---|
| public PropertyInfo Implements org. Doc from org. Gets the property which is the source of this reference.
| |
| getTagName | back to summary |
|---|---|
| public QName getTagName() Implements org. Doc from org. The associated element name.
| |
| getTarget | back to summary |
|---|---|
| public CNonElement getTarget() Implements org. Doc from org. Target of the reference.
| |
| getTypeName | back to summary |
|---|---|
| public QName getTypeName() | |
| isLeaf | back to summary |
|---|---|
| public boolean isLeaf() | |
| isNillable | back to summary |
|---|---|
| public boolean isNillable() Implements org. Doc from org. Returns true if this element is nillable.
| |
| resolveSimpleTypeName | back to summary |
|---|---|
| private static QName resolveSimpleTypeName(XSType declType) Recursively search for type name. This is needed to find correct type for refs like:
| |