org.hudsonci.utils.marshal
Class XStreamMarshaller

java.lang.Object
  extended by org.hudsonci.utils.marshal.XStreamMarshaller
All Implemented Interfaces:
Marshaller

public class XStreamMarshaller
extends Object
implements Marshaller

XStream Marshaller.

Since:
2.1.0
Author:
Jason Dillon

Constructor Summary
XStreamMarshaller(com.thoughtworks.xstream.XStream xstream)
           
 
Method Summary
 void marshal(Object object, Writer writer)
           
 Object unmarshal(Reader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XStreamMarshaller

public XStreamMarshaller(com.thoughtworks.xstream.XStream xstream)
Method Detail

marshal

public void marshal(Object object,
                    Writer writer)
Specified by:
marshal in interface Marshaller

unmarshal

public Object unmarshal(Reader reader)
Specified by:
unmarshal in interface Marshaller


Copyright © 2004-2012 Hudson. All Rights Reserved.