expectText| Constructor and Description |
|---|
DomLoader(DomHandler<?,ResultT> dom) |
| Modifier and Type | Method and Description |
|---|---|
void |
childElement(UnmarshallingContext.State state,
TagName ea)
Called when this loaderis an active loaderand we see a new child start tag.
|
void |
leaveElement(UnmarshallingContext.State state,
TagName ea)
Called when this loaderis an active loaderand we see an end tag.
|
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.
|
void |
text(UnmarshallingContext.State state,
CharSequence text)
Called when this loaderis an active loaderand we see a chunk of text.
|
expectText, fireAfterUnmarshal, fireBeforeUnmarshal, getExpectedAttributes, getExpectedChildElements, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, reportError, reportError, reportUnexpectedChildElementpublic DomLoader(DomHandler<?,ResultT> dom)
public 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.SAXExceptionpublic void childElement(UnmarshallingContext.State state, TagName ea) throws SAXException
Loader
The callee is expected to designate another loaderas a loaderthat processes
this element, then it should also register a Receiver.
The designated loaderwill become an active loader.
The default implementation reports an error saying an element is unexpected.
childElement in class LoaderSAXExceptionpublic void text(UnmarshallingContext.State state, CharSequence text) throws SAXException
Loadertext in class LoaderSAXExceptionpublic void leaveElement(UnmarshallingContext.State state, TagName ea) throws SAXException
LoaderleaveElement in class LoaderSAXExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.