Built-in leaves also have another priviledge; specifically, they often have more than one XML type names associated with it.
| Modifier and Type | Method and Description |
|---|---|
| public QName | Returns: never null.Redeclares org. Gets the primary XML type ANYTYPE_NAME of the class. |
| getTypeName | back to summary |
|---|---|
| public QName getTypeName() Redeclares 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. This method returns the 'primary' type name of this built-in leaf, which should be used when values of this type are marshalled. | |