org.apache.servicemix.components.util.xstream
Class XStreamSource

java.lang.Object
  extended by javax.xml.transform.sax.SAXSource
      extended by com.thoughtworks.xstream.io.xml.TraxSource
          extended by org.apache.servicemix.components.util.xstream.XStreamSource
All Implemented Interfaces:
javax.xml.transform.Source, JavaSource

public class XStreamSource
extends com.thoughtworks.xstream.io.xml.TraxSource
implements JavaSource

A Source implementation for XStream which implements the JavaSource API

Version:
$Revision: 359151 $

Field Summary
 
Fields inherited from class com.thoughtworks.xstream.io.xml.TraxSource
XSTREAM_FEATURE
 
Fields inherited from class javax.xml.transform.sax.SAXSource
FEATURE
 
Constructor Summary
XStreamSource()
           
XStreamSource(java.lang.Object object)
           
XStreamSource(java.lang.Object object, com.thoughtworks.xstream.XStream xStream)
           
 
Method Summary
 java.lang.Object getObject()
          Returns the POJO equivalent of the Source
 void setObject(java.lang.Object object)
          Sets the POJO equivalent of the Source
 void setSource(java.lang.Object object)
           
 
Methods inherited from class com.thoughtworks.xstream.io.xml.TraxSource
getXMLReader, setInputSource, setSourceAsList, setXMLReader, setXStream
 
Methods inherited from class javax.xml.transform.sax.SAXSource
getInputSource, getSystemId, setSystemId, sourceToInputSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.transform.Source
getSystemId, setSystemId
 

Constructor Detail

XStreamSource

public XStreamSource()

XStreamSource

public XStreamSource(java.lang.Object object)

XStreamSource

public XStreamSource(java.lang.Object object,
                     com.thoughtworks.xstream.XStream xStream)
Method Detail

getObject

public java.lang.Object getObject()
Description copied from interface: JavaSource
Returns the POJO equivalent of the Source

Specified by:
getObject in interface JavaSource

setObject

public void setObject(java.lang.Object object)
Description copied from interface: JavaSource
Sets the POJO equivalent of the Source

Specified by:
setObject in interface JavaSource

setSource

public void setSource(java.lang.Object object)
Overrides:
setSource in class com.thoughtworks.xstream.io.xml.TraxSource


Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.