Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller

public final Class WildcardLoader

extends ProxyLoader
Class Inheritance
Imports
org.glassfish.jaxb.core.v2.model.core.WildcardMode, jakarta.xml.bind.annotation.DomHandler, org.xml.sax.SAXException

Feed incoming events to DomHandler 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

Modifier and TypeField and Description
private final DomLoader<ResultT extends Result>
private final WildcardMode

Constructor Summary

AccessConstructor and Description
public
WildcardLoader(DomHandler<ElementT, ResultT extends Result> dom, WildcardMode mode)

Method Summary

Modifier and TypeMethod and Description
protected Loader
Inherited from org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.ProxyLoader:
leaveElementstartElement

Field Detail

domback to summary
private final DomLoader<ResultT extends Result> dom
modeback to summary
private final WildcardMode mode

Constructor Detail

WildcardLoaderback to summary
public WildcardLoader(DomHandler<ElementT, ResultT extends Result> dom, WildcardMode mode)

Method Detail

selectLoaderback to summary
protected Loader selectLoader(UnmarshallingContext.State state, TagName tag) throws SAXException

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.ProxyLoader.selectLoader.

Doc from org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.ProxyLoader.selectLoader.

Picks the loader to delegate to.

Annotations
@Override