|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.bind.v2.runtime.unmarshaller.Loader
com.sun.xml.bind.v2.runtime.unmarshaller.Discarder
public final class Discarder
Loader implementation that discards the whole sub-tree.
Mostly used for recovering fom errors.
| Field Summary | |
|---|---|
static Loader |
INSTANCE
|
| Method Summary | |
|---|---|
void |
childElement(UnmarshallingContext.State state,
TagName ea)
Called when this loaderis an active loaderand we see a new child start tag. |
| Methods inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader |
|---|
expectText, getExpectedAttributes, getExpectedChildElements, handleGenericError, handleGenericException, leaveElement, reportError, startElement, text |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Loader INSTANCE
| Method Detail |
|---|
public void childElement(UnmarshallingContext.State state,
TagName ea)
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 Loader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||