|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.v2.runtime.unmarshaller.Loader
com.sun.xml.bind.v2.runtime.unmarshaller.DefaultValueLoaderDecorator
public final class DefaultValueLoaderDecorator
Decorates another Loader
by setting a default value.
Field Summary |
---|
Fields inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader |
---|
expectText |
Constructor Summary | |
---|---|
DefaultValueLoaderDecorator(Loader l,
java.lang.String defaultValue)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultValueLoaderDecorator(Loader l, java.lang.String defaultValue)
Method Detail |
---|
public void startElement(UnmarshallingContext.State state, TagName ea) throws org.xml.sax.SAXException
Loader
The callee may change state.loader to designate another Loader
for the processing. It's the responsibility of the callee to forward the startElement
event in such a case.
startElement
in class Loader
ea
- info about the start tag. never null.
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |