Top Methods
org.glassfish.jaxb.runtime.v2.model.runtime

public Interface RuntimeLeafInfo

extends LeafInfo<Type, Class<T>>, RuntimeNonElement
Known Direct Subinterfaces
org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeBuiltinLeafInfo, org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeEnumLeafInfo
Imports
org.glassfish.jaxb.core.v2.model.core.LeafInfo, org.glassfish.jaxb.runtime.v2.runtime.Transducer, javax.xml.namespace.QName, java.lang.reflect.Type

Author
Kohsuke Kawaguchi

Method Summary

Modifier and TypeMethod and Description
public Class<T>
getClazz()

The same as getType() but returns the type as a Class.

public <V> Transducer<V>

Returns:

always non-null.
getTransducer
()

Redeclares org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeNonElement.getTransducer.

This method doesn't take the reference properties defined on RuntimeNonElementRef into account (such as ID-ness.)

public QName[]

Returns:

Always non-null. Do not modify the returned array.
getTypeNames
()

Returns all the type names recognized by this type for unmarshalling.

Method Detail

getClazzback to summary
public Class<T> getClazz()

The same as 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.

getTransducerback to summary
public <V> Transducer<V> getTransducer()

Redeclares org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeNonElement.getTransducer.

Doc from org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeNonElement.getTransducer.

This method doesn't take the reference properties defined on RuntimeNonElementRef into account (such as ID-ness.)

Returns:Transducer<V>

always non-null.

Annotations
@Override
getTypeNamesback to summary
public 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:QName[]

Always non-null. Do not modify the returned array.