net.sf.sail.core.util
Class MarshallUtils
java.lang.Object
net.sf.sail.core.util.MarshallUtils
public class MarshallUtils
- extends java.lang.Object
Handy XML marshalling utilities for SAIL.
- Author:
- turadg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarshallUtils
public MarshallUtils()
marshallCycle
public static Curnit marshallCycle(Curnit curnit,
java.io.OutputStream outputBranch)
throws java.io.IOException
Returns a copy of the argument curnit that has been marshalled and
unmarshalled. Important for ensuring that everything in the incoming
curnit can persist through marshalling.
Also tees the output to the argument OutputStream.
- Parameters:
curnit -
- Returns:
-
- Throws:
java.io.IOException
writeCurnit
public static void writeCurnit(Curnit curnit,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
readCurnit
public static Curnit readCurnit(java.io.InputStream in)
marshallCycle
public static Pod marshallCycle(Pod pod,
java.io.OutputStream outputBranch)
throws java.io.IOException
- Throws:
java.io.IOException
readPod
public static Pod readPod(java.io.InputStream in)
writePod
public static void writePod(Pod pod,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright 2004-2004-2006 TELS Center. All Rights Reserved.