com.sun.xml.bind.v2.runtime.unmarshaller
Class ProxyLoader
java.lang.Object
com.sun.xml.bind.v2.runtime.unmarshaller.Loader
com.sun.xml.bind.v2.runtime.unmarshaller.ProxyLoader
- Direct Known Subclasses:
- WildcardLoader, XsiNilLoader
public abstract class ProxyLoader
- extends Loader
Loader that delegates the processing to another Loader
at startElement(UnmarshallingContext.State, TagName).
- Author:
- Kohsuke Kawaguchi
| Fields inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader |
expectText |
| Methods inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader |
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, getExpectedAttributes, getExpectedChildElements, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, reportError, reportError, reportUnexpectedChildElement, text |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyLoader
public ProxyLoader()
startElement
public final 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 another Loader
for the processing. It's the responsibility of the callee to forward the startElement
event in such a case.
- Overrides:
startElement in class Loader
ea - info about the start tag. never null.
- Throws:
SAXException
selectLoader
protected abstract Loader selectLoader(UnmarshallingContext.State state,
TagName ea)
throws SAXException
- Picks the loader to delegate to.
- Returns:
- never null.
- Throws:
SAXException
leaveElement
public final void leaveElement(UnmarshallingContext.State state,
TagName ea)
- Description copied from class:
Loader
- Called when this loaderis an active loaderand we see an end tag.
- Overrides:
leaveElement in class Loader
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.