Module com.sun.xml.bind
Class LeafPropertyXsiLoader
- java.lang.Object
-
- org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader
-
- org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.LeafPropertyXsiLoader
-
public final class LeafPropertyXsiLoader extends Loader
-
-
Field Summary
-
Fields inherited from class org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader
expectText
-
-
Constructor Summary
Constructors Constructor Description LeafPropertyXsiLoader(Loader defaultLoader, TransducedAccessor xacc, Accessor acc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<QName>getExpectedAttributes()Returns a set of tag names expected as possible child elements in this context.Collection<QName>getExpectedChildElements()Returns a set of tag names expected as possible child elements in this context.protected LoaderselectLoader(UnmarshallingContext.State state, TagName ea)voidstartElement(UnmarshallingContext.State state, TagName ea)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.-
Methods inherited from class org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, leaveElement, reportError, reportError, reportUnexpectedChildElement, text
-
-
-
-
Constructor Detail
-
LeafPropertyXsiLoader
public LeafPropertyXsiLoader(Loader defaultLoader, TransducedAccessor xacc, Accessor acc)
-
-
Method Detail
-
startElement
public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException
Description copied from class:LoaderCalled 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.loaderto designate anotherLoaderfor the processing. It's the responsibility of the callee to forward the startElement event in such a case.- Overrides:
startElementin classLoaderea- info about the start tag. never null.- Throws:
SAXException
-
selectLoader
protected Loader selectLoader(UnmarshallingContext.State state, TagName ea) throws SAXException
- Throws:
SAXException
-
getExpectedChildElements
public Collection<QName> getExpectedChildElements()
Description copied from class:LoaderReturns a set of tag names expected as possible child elements in this context.- Overrides:
getExpectedChildElementsin classLoader
-
getExpectedAttributes
public Collection<QName> getExpectedAttributes()
Description copied from class:LoaderReturns a set of tag names expected as possible child elements in this context.- Overrides:
getExpectedAttributesin classLoader
-
-