Class XsiTypeLoader
java.lang.Object
com.sun.xml.bind.v2.runtime.unmarshaller.Loader
com.sun.xml.bind.v2.runtime.unmarshaller.XsiTypeLoader
Looks at @xsi:type and forwards to the right
Loader.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader
expectText -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a set of tag names expected as possible child elements in this context.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 com.sun.xml.bind.v2.runtime.unmarshaller.Loader
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, getExpectedChildElements, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, leaveElement, reportError, reportError, reportUnexpectedChildElement, text
-
Constructor Details
-
XsiTypeLoader
-
-
Method Details
-
startElement
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
-
getExpectedAttributes
Description copied from class:LoaderReturns a set of tag names expected as possible child elements in this context.- Overrides:
getExpectedAttributesin classLoader
-