Loader implementation that discards the whole sub-tree.
Mostly used for recovering fom errors.
| Modifier and Type | Field and Description |
|---|---|
| public static final Loader |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | childElement(UnmarshallingContext.
Overrides org. Called when this loaderis an active loaderand we see a new child start tag. |
| INSTANCE | back to summary |
|---|---|
| public static final Loader INSTANCE | |
| Discarder | back to summary |
|---|---|
| private Discarder() | |
| childElement | back to summary |
|---|---|
| public void childElement(UnmarshallingContext. Overrides org. Doc from org. Called when this loaderis an active loaderand we see a new child start tag.
The callee is expected to designate another loaderas a loaderthat processes
this element, then it should also register a The default implementation reports an error saying an element is unexpected.
| |