|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.xml.MessageSetMarshaller
public class MessageSetMarshaller
A utility to read and write the object representation of a message set.
Constructor Summary | |
---|---|
MessageSetMarshaller()
|
Method Summary | |
---|---|
void |
marshall(MessageSet domain,
File file)
Marshall a message set to an output stream. |
void |
marshall(MessageSet domain,
OutputStream output)
Marshall a message set to an output stream. |
MessageSet |
unmarshall(File file)
Unmarshall a message set to a file. |
MessageSet |
unmarshall(InputStream input)
Unmarshall a message set to a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageSetMarshaller()
Method Detail |
---|
public MessageSet unmarshall(File file) throws Exception
Unmarshall a message set to a file.
file
- - the file to read
Exception
- - if any underlying exception occurspublic void marshall(MessageSet domain, OutputStream output) throws Exception
Marshall a message set to an output stream.
domain
- - the message set to marshalloutput
- - the output stream
Exception
- - if any underlying exception occurspublic void marshall(MessageSet domain, File file) throws Exception
Marshall a message set to an output stream.
domain
- - the message set to marshallfile
- - the file to write to
Exception
- - if any underlying exception occurspublic MessageSet unmarshall(InputStream input) throws Exception
Unmarshall a message set to a file.
input
- - the input stream
Exception
- - if any underlying exception occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |