org.servicemix.components.util.xstream
Class XStreamSource

java.lang.Object
  extended byjavax.xml.transform.sax.SAXSource
      extended bycom.thoughtworks.xstream.io.xml.TraxSource
          extended byorg.servicemix.components.util.xstream.XStreamSource
All Implemented Interfaces:
JavaSource, Source

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

A Source implementation for XStream which implements the JavaSource API

Version:
$Revision: 1.1 $

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(Object object)
           
XStreamSource(Object object, com.thoughtworks.xstream.XStream xStream)
           
 
Method Summary
 Object getObject()
          Returns the POJO equivalent of the Source
 void setObject(Object object)
          Sets the POJO equivalent of the Source
 void setSource(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(Object object)

XStreamSource

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

getObject

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

Specified by:
getObject in interface JavaSource

setObject

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

Specified by:
setObject in interface JavaSource

setSource

public void setSource(Object object)


Copyright © 2005 ServiceMix.. All Rights Reserved.