org.hudsonci.utils.marshal
Class XUtil
java.lang.Object
org.hudsonci.utils.marshal.XUtil
public class XUtil
- extends Object
XStream-related-ish utilities.
- Since:
- 2.1.0
- Author:
- Jason Dillon
|
Constructor Summary |
XUtil()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XUtil
public XUtil()
clone
public static Object clone(Object source)
- Clones an object via
XStream.
This provides the ability to take a source object and convert it into a target object. Unless
there is some magic converter muck going on for in the source's marshaller this should be
sufficient to create target copies.
render
public static String render(Object source)
- Render the given object as XML.
Copyright © 2004-2011 Hudson. All Rights Reserved.