Class XMLWritableInputSource

java.lang.Object
org.xml.sax.InputSource
com.topologi.diffx.xml.sax.XMLWritableInputSource

public final class XMLWritableInputSource extends InputSource
An XML input source implementation wrapping a XML writable object.

This class allows a SAX application to encapsulate information about an input source in a single object.

Because it does not provide a byte stream, character stream or public or system identifier, this class is only meant to be used by the XMLWritableReader which will use the XMLWritable object.

An InputSource object belongs to the application: the SAX parser shall not modify it in any way.

Version:
26 May 2005
See Also:
  • Field Details

    • source

      private final XMLWritable source
      The wrapped XML writable object.
  • Constructor Details

    • XMLWritableInputSource

      public XMLWritableInputSource(XMLWritable object)
      Creates an XML Writable object.
      Parameters:
      object - The XMLWritable object to wrap.
  • Method Details

    • getXMLWritable

      public XMLWritable getXMLWritable()
      Returns the XMLWritable object
      Returns:
      The XMLWritable object