Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * This file is part of the DiffX library.
  *
  * For licensing information please see the file license.txt included in the release.
  * A copy of this licence can also be found at
  *   http://www.opensource.org/licenses/artistic-license-2.0.php
  */
 package com.topologi.diffx.xml.sax;
 
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.

Author(s):
Christophe Lauret
Version:
26 May 2005
See also:
org.xml.sax.InputSource
com.topologi.diffx.xml.XMLWritable
XMLWritableReader
public final class XMLWritableInputSource extends InputSource {

  
The wrapped XML writable object.
  private final XMLWritable source;

  
Creates an XML Writable object.

Parameters:
object The XMLWritable object to wrap.
  public XMLWritableInputSource(XMLWritable object) {
    this. = object;
  }

  
Returns the XMLWritable object

Returns:
The XMLWritable object
  public XMLWritable getXMLWritable() {
    return this.;
  }
New to GrepCode? Check out our FAQ X