Class LeafPropertyLoader

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

public class LeafPropertyLoader extends Loader
Unmarshals a text into a property of the parent element.
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

  • Method Details

    • text

      public void text(UnmarshallingContext.State state, CharSequence text) throws 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:
      SAXException