Module com.sun.xml.bind
Class WildcardLoader
- java.lang.Object
-
- org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader
-
- org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.ProxyLoader
-
- org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.WildcardLoader
-
public final class WildcardLoader extends ProxyLoader
Feed incoming events toDomHandler
and builds a DOM tree.Note that the SAXException returned by the ContentHandler is unreported. So we have to catch them and report it, then rethrow it if necessary.
- Author:
- Kohsuke Kawaguchi ([email protected])
-
-
Field Summary
-
Fields inherited from class org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader
expectText
-
-
Constructor Summary
Constructors Constructor Description WildcardLoader(jakarta.xml.bind.annotation.DomHandler dom, WildcardMode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Loader
selectLoader(UnmarshallingContext.State state, TagName tag)
Picks the loader to delegate to.-
Methods inherited from class org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.ProxyLoader
leaveElement, startElement
-
Methods inherited from class org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, getExpectedAttributes, getExpectedChildElements, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, reportError, reportError, reportUnexpectedChildElement, text
-
-
-
-
Constructor Detail
-
WildcardLoader
public WildcardLoader(jakarta.xml.bind.annotation.DomHandler dom, WildcardMode mode)
-
-
Method Detail
-
selectLoader
protected Loader selectLoader(UnmarshallingContext.State state, TagName tag) throws SAXException
Description copied from class:ProxyLoader
Picks the loader to delegate to.- Specified by:
selectLoader
in classProxyLoader
- Returns:
- never null.
- Throws:
SAXException
-
-