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:
Source, org.apache.servicemix.jbi.jaxp.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: 564374 $

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()
           
 void setObject(Object object)
           
 void setSource(Object source)
           
 
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()
Specified by:
getObject in interface org.apache.servicemix.jbi.jaxp.JavaSource

setObject

public void setObject(Object object)
Specified by:
setObject in interface org.apache.servicemix.jbi.jaxp.JavaSource

setSource

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


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