|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BuiltinLeafInfo<T,C>
JAXB spec designates a few Java classes to be mapped to leaves in XML.
Built-in leaves also have another priviledge; specifically, they often have more than one XML type names associated with it.
| Field Summary |
|---|
| Fields inherited from interface com.sun.xml.bind.v2.model.core.NonElement |
|---|
ANYTYPE_NAME |
| Method Summary | |
|---|---|
QName |
getTypeName()
Gets the primary XML type ANYTYPE_NAME of the class. |
| Methods inherited from interface com.sun.xml.bind.v2.model.core.MaybeElement |
|---|
asElement, getElementName, isElement |
| Methods inherited from interface com.sun.xml.bind.v2.model.core.NonElement |
|---|
isSimpleType |
| Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo |
|---|
canBeReferencedByIDREF, getType |
| Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable |
|---|
getLocation, getUpstream |
| Method Detail |
|---|
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>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||