public abstract class ProxyLoader extends Loader
Loader that delegates the processing to another Loader
at startElement(UnmarshallingContext.State, TagName).expectText| Constructor and Description |
|---|
ProxyLoader() |
| Modifier and Type | Method and 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, textpublic final void startElement(UnmarshallingContext.State state, TagName ea) throws 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 Loaderea - info about the start tag. never null.SAXExceptionprotected abstract Loader selectLoader(UnmarshallingContext.State state, TagName ea) throws SAXException
SAXExceptionpublic final void leaveElement(UnmarshallingContext.State state, TagName ea)
LoaderleaveElement in class LoaderCopyright © 2018 JBoss by Red Hat. All rights reserved.