public interface BuiltinLeafInfo<T,C> extends LeafInfo<T,C>
Built-in leaves also have another priviledge; specifically, they often have more than one XML type names associated with it.
ANYTYPE_NAME
Modifier and Type | Method and Description |
---|---|
QName |
getTypeName()
Gets the primary XML type ANYTYPE_NAME of the class.
|
asElement, getElementName, isElement
isSimpleType
canBeReferencedByIDREF, getType
getLocation, getUpstream
QName getTypeName()
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.
getTypeName
in interface NonElement<T,C>
Copyright © 2019 JBoss by Red Hat. All rights reserved.