com.skaringa.javaxml.handler.sax
Class ObjectInputSource

java.lang.Object
  extended by org.xml.sax.InputSource
      extended by com.skaringa.javaxml.handler.sax.ObjectInputSource

public final class ObjectInputSource
extends org.xml.sax.InputSource

Concrete implementation of an InputSource for XML parsing and transformation. This input source holds an object which can be parsed an treated as a XML document.


Constructor Summary
ObjectInputSource(java.lang.Object obj)
          Construct an ObjectInputSource.
 
Method Summary
 java.lang.Object getObj()
          Gets the obj
 void setObj(java.lang.Object obj)
          Sets the obj
 
Methods inherited from class org.xml.sax.InputSource
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInputSource

public ObjectInputSource(java.lang.Object obj)
Construct an ObjectInputSource.

Parameters:
obj - The object that should be parsed.
Method Detail

getObj

public java.lang.Object getObj()
Gets the obj

Returns:
Returns a Object

setObj

public void setObj(java.lang.Object obj)
Sets the obj

Parameters:
obj - The obj to set