WildcardLoader
, XsiNilLoader
public abstract class ProxyLoader extends Loader
Loader
that delegates the processing to another Loader
at startElement(UnmarshallingContext.State, TagName)
.expectText
Constructor | Description |
---|---|
ProxyLoader() |
Modifier and Type | Method | Description |
---|---|---|
void |
leaveElement(UnmarshallingContext.State state,
TagName ea) |
Called when this loaderis an active loaderand we see an end tag.
|
protected abstract Loader |
selectLoader(UnmarshallingContext.State state,
TagName ea) |
Picks the loader to delegate to.
|
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.
|
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, getExpectedAttributes, getExpectedChildElements, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, reportError, reportError, reportUnexpectedChildElement, text
public final 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
protected abstract Loader selectLoader(UnmarshallingContext.State state, TagName ea) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public final void leaveElement(UnmarshallingContext.State state, TagName ea)
Loader
leaveElement
in class Loader
Copyright © 2017 Oracle Corporation. All rights reserved.