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

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

public final class LeafPropertyXsiLoader
extends Loader


Field Summary
 
Fields inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader
expectText
 
Constructor Summary
LeafPropertyXsiLoader(Loader defaultLoader, TransducedAccessor xacc, Accessor acc)
           
 
Method Summary
 java.util.Collection<javax.xml.namespace.QName> getExpectedAttributes()
          Returns a set of tag names expected as possible child elements in this context.
 java.util.Collection<javax.xml.namespace.QName> getExpectedChildElements()
          Returns a set of tag names expected as possible child elements in this context.
protected  Loader selectLoader(UnmarshallingContext.State state, TagName ea)
           
 void startElement(UnmarshallingContext.State state, TagName ea)
          Called when the loader is activated, which is when a new start tag is seen and when the parent designated this loader as the child loader.
 
Methods inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, leaveElement, reportError, reportError, reportUnexpectedChildElement, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeafPropertyXsiLoader

public LeafPropertyXsiLoader(Loader defaultLoader,
                             TransducedAccessor xacc,
                             Accessor acc)
Method Detail

startElement

public void startElement(UnmarshallingContext.State state,
                         TagName ea)
                  throws org.xml.sax.SAXException
Description copied from class: Loader
Called when the loader is activated, which is when a new start tag is seen and when the parent designated this loader as the child loader.

The callee may change state.loader to designate another Loader for the processing. It's the responsibility of the callee to forward the startElement event in such a case.

Overrides:
startElement in class Loader
ea - info about the start tag. never null.
Throws:
org.xml.sax.SAXException

selectLoader

protected Loader selectLoader(UnmarshallingContext.State state,
                              TagName ea)
                       throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getExpectedChildElements

public java.util.Collection<javax.xml.namespace.QName> getExpectedChildElements()
Description copied from class: Loader
Returns a set of tag names expected as possible child elements in this context.

Overrides:
getExpectedChildElements in class Loader

getExpectedAttributes

public java.util.Collection<javax.xml.namespace.QName> getExpectedAttributes()
Description copied from class: Loader
Returns a set of tag names expected as possible child elements in this context.

Overrides:
getExpectedAttributes in class Loader