com.sun.xml.bind.v2.runtime.unmarshaller
Class WildcardLoader

java.lang.Object
  extended by com.sun.xml.bind.v2.runtime.unmarshaller.Loader
      extended by com.sun.xml.bind.v2.runtime.unmarshaller.ProxyLoader
          extended by com.sun.xml.bind.v2.runtime.unmarshaller.WildcardLoader

public final class WildcardLoader
extends ProxyLoader

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.


Field Summary
 
Fields inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader
expectText
 
Constructor Summary
WildcardLoader(DomHandler dom, WildcardMode mode)
           
 
Method Summary
protected  Loader selectLoader(UnmarshallingContext.State state, TagName tag)
          Picks the loader to delegate to.
 
Methods inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.ProxyLoader
leaveElement, startElement
 
Methods inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, getExpectedChildElements, handleGenericException, handleGenericException, handleParseConversionException, reportError, reportError, reportUnexpectedChildElement, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WildcardLoader

public WildcardLoader(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 class ProxyLoader
Returns:
never null.
Throws:
SAXException