Class DefaultValueLoaderDecorator
- java.lang.Object
-
- com.sun.xml.bind.v2.runtime.unmarshaller.Loader
-
- com.sun.xml.bind.v2.runtime.unmarshaller.DefaultValueLoaderDecorator
-
-
Field Summary
-
Fields inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader
expectText
-
-
Constructor Summary
Constructors Constructor Description DefaultValueLoaderDecorator(Loader l, String defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
startElement(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, getExpectedAttributes, getExpectedChildElements, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, leaveElement, reportError, reportError, reportUnexpectedChildElement, text
-
-
-
-
Method Detail
-
startElement
public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException
Description copied from class:Loader
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 anotherLoader
for the processing. It's the responsibility of the callee to forward the startElement event in such a case.- Overrides:
startElement
in classLoader
ea
- info about the start tag. never null.- Throws:
SAXException
-
-