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

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

public class LeafPropertyLoader
extends Loader

Unmarshals a text into a property of the parent element.

See Also:
ValuePropertyLoader

Field Summary
 
Fields inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader
expectText
 
Constructor Summary
LeafPropertyLoader(TransducedAccessor xacc)
           
 
Method Summary
 void text(UnmarshallingContext.State state, java.lang.CharSequence text)
          Called when this loaderis an active loaderand we see a chunk of text.
 
Methods inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, getExpectedAttributes, getExpectedChildElements, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, leaveElement, reportError, reportError, reportUnexpectedChildElement, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeafPropertyLoader

public LeafPropertyLoader(TransducedAccessor xacc)
Method Detail

text

public void text(UnmarshallingContext.State state,
                 java.lang.CharSequence text)
          throws org.xml.sax.SAXException
Description copied from class: Loader
Called when this loaderis an active loaderand we see a chunk of text. The runtime makes sure that adjacent characters (even those separated by comments, PIs, etc) are reported as one event. IOW, you won't see two text event calls in a row.

Overrides:
text in class Loader
Throws:
org.xml.sax.SAXException