Top Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller

public final Class LeafPropertyXsiLoader

extends Loader
Class Inheritance
Imports
org.glassfish.jaxb.runtime.DatatypeConverterImpl, org.glassfish.jaxb.runtime.v2.runtime.ClassBeanInfoImpl, .JaxBeanInfo, org.glassfish.jaxb.runtime.v2.runtime.reflect.Accessor, .TransducedAccessor, org.xml.sax.Attributes, .SAXException, javax.xml.XMLConstants, javax.xml.namespace.QName, java.util.Collection

Field Summary

Modifier and TypeField and Description
private final Accessor<BeanT, ValueT>
private final Loader
private final TransducedAccessor<BeanT>
Inherited from org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader:
expectText

Constructor Summary

AccessConstructor and Description
public
LeafPropertyXsiLoader(Loader defaultLoader, TransducedAccessor<BeanT> xacc, Accessor<BeanT, ValueT> acc)

Method Summary

Modifier and TypeMethod and Description
public Collection<QName>
getExpectedAttributes()

Overrides org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.getExpectedAttributes.

Returns a set of tag names expected as possible child elements in this context.

public Collection<QName>
getExpectedChildElements()

Overrides org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.getExpectedChildElements.

Returns a set of tag names expected as possible child elements in this context.

protected Loader
public void
startElement(UnmarshallingContext.State state, TagName ea)

Overrides org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.startElement.

Called when the loader is activated, which is when a new start tag is seen and when the parent designated this loader as the child loader.

Inherited from org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader:
childElementexpectTextfireAfterUnmarshalfireBeforeUnmarshalhandleGenericErrorhandleGenericExceptionhandleGenericExceptionhandleParseConversionExceptionleaveElementreportErrorreportErrorreportUnexpectedChildElementtext

Field Detail

accback to summary
private final Accessor<BeanT, ValueT> acc
defaultLoaderback to summary
private final Loader defaultLoader
xaccback to summary
private final TransducedAccessor<BeanT> xacc

Constructor Detail

LeafPropertyXsiLoaderback to summary
public LeafPropertyXsiLoader(Loader defaultLoader, TransducedAccessor<BeanT> xacc, Accessor<BeanT, ValueT> acc)

Method Detail

getExpectedAttributesback to summary
public Collection<QName> getExpectedAttributes()

Overrides org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.getExpectedAttributes.

Doc from org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.getExpectedAttributes.

Returns a set of tag names expected as possible child elements in this context.

Annotations
@Override
getExpectedChildElementsback to summary
public Collection<QName> getExpectedChildElements()

Overrides org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.getExpectedChildElements.

Doc from org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.getExpectedChildElements.

Returns a set of tag names expected as possible child elements in this context.

Annotations
@Override
selectLoaderback to summary
protected Loader selectLoader(UnmarshallingContext.State state, TagName ea) throws SAXException
Annotations
@SuppressWarnings:deprecation
startElementback to summary
public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException

Overrides org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.startElement.

Doc from org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.startElement.

Called when the loader is activated, which is when a new start tag is seen and when the parent designated this loader as the child loader.

The callee may change state.loader to designate another for the processing. It's the responsibility of the callee to forward the startElement event in such a case.

Annotations
@Override