Class Discarder
java.lang.Object
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Discarder
Loader
implementation that discards the whole sub-tree.
Mostly used for recovering fom errors.- Author:
- Kohsuke Kawaguchi ([email protected])
-
Field Summary
FieldsFields inherited from class org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader
expectText
-
Method Summary
Modifier and TypeMethodDescriptionvoid
childElement
(UnmarshallingContext.State state, TagName ea) Called when this loaderis an active loaderand we see a new child start tag.Methods inherited from class org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader
expectText, fireAfterUnmarshal, fireBeforeUnmarshal, getExpectedAttributes, getExpectedChildElements, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, leaveElement, reportError, reportError, reportUnexpectedChildElement, startElement, text
-
Field Details
-
INSTANCE
-
-
Method Details
-
childElement
Description copied from class:Loader
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
Receiver
. The designated loaderwill become an active loader.The default implementation reports an error saying an element is unexpected.
- Overrides:
childElement
in classLoader
-