Module org.glassfish.jaxb.runtime
Interface RuntimeLeafInfo
-
- All Superinterfaces:
org.glassfish.jaxb.core.v2.model.core.LeafInfo<Type,Class>,org.glassfish.jaxb.core.v2.model.annotation.Locatable,org.glassfish.jaxb.core.v2.model.core.MaybeElement<Type,Class>,org.glassfish.jaxb.core.v2.model.core.NonElement<Type,Class>,RuntimeNonElement,RuntimeTypeInfo,org.glassfish.jaxb.core.v2.model.core.TypeInfo<Type,Class>
- All Known Subinterfaces:
RuntimeBuiltinLeafInfo,RuntimeEnumLeafInfo
- All Known Implementing Classes:
RuntimeBuiltinLeafInfoImpl
public interface RuntimeLeafInfo extends org.glassfish.jaxb.core.v2.model.core.LeafInfo<Type,Class>, RuntimeNonElement
- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassgetClazz()The same asTypeInfo.getType()but returns the type as aClass.<V> Transducer<V>getTransducer()This method doesn't take the reference properties defined onRuntimeNonElementRefinto account (such as ID-ness.)QName[]getTypeNames()Returns all the type names recognized by this type for unmarshalling.-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.annotation.Locatable
getLocation, getUpstream
-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.core.MaybeElement
asElement, getElementName, isElement
-
-
-
-
Method Detail
-
getTransducer
<V> Transducer<V> getTransducer()
Description copied from interface:RuntimeNonElementThis method doesn't take the reference properties defined onRuntimeNonElementRefinto account (such as ID-ness.)- Specified by:
getTransducerin interfaceRuntimeNonElement- Returns:
- always non-null.
- See Also:
RuntimeNonElementRef.getTransducer()
-
getClazz
Class getClazz()
-
getTypeNames
QName[] getTypeNames()
Returns all the type names recognized by this type for unmarshalling.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.- Returns:
- Always non-null. Do not modify the returned array.
-
-