com.sun.xml.bind.v2.model.core.LeafInfo<java.lang.reflect.Type,java.lang.Class>, com.sun.xml.bind.v2.model.annotation.Locatable, com.sun.xml.bind.v2.model.core.MaybeElement<java.lang.reflect.Type,java.lang.Class>, com.sun.xml.bind.v2.model.core.NonElement<java.lang.reflect.Type,java.lang.Class>, RuntimeNonElement, RuntimeTypeInfo, com.sun.xml.bind.v2.model.core.TypeInfo<java.lang.reflect.Type,java.lang.Class>RuntimeBuiltinLeafInfo, RuntimeEnumLeafInfoRuntimeBuiltinLeafInfoImplpublic interface RuntimeLeafInfo extends com.sun.xml.bind.v2.model.core.LeafInfo<java.lang.reflect.Type,java.lang.Class>, RuntimeNonElement
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Class |
getClazz() |
The same as
TypeInfo.getType() but returns the type as a Class. |
<V> Transducer<V> |
getTransducer() |
This method doesn't take the reference properties defined on
RuntimeNonElementRef into account (such as ID-ness.) |
javax.xml.namespace.QName[] |
getTypeNames() |
Returns all the type names recognized by this type for unmarshalling.
|
getLocation, getUpstreamasElement, getElementName, isElement<V> Transducer<V> getTransducer()
RuntimeNonElementRef into account (such as ID-ness.)getTransducer in interface RuntimeNonElementRuntimeNonElementRef.getTransducer()java.lang.Class getClazz()
TypeInfo.getType() but returns the type as a Class.
Note that the returned Class object does not necessarily represents
a class declaration. It can be primitive types.
javax.xml.namespace.QName[] getTypeNames()
While conceptually this method belongs to RuntimeNonElement,
if we do that we have to put a lot of dummy implementations everywhere,
so it's placed here, where it's actually needed.
Copyright © 2018 Oracle Corporation. All rights reserved.