|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xvsm.remote.marshaller.XMLMarshaller
public class XMLMarshaller
Constructor Summary | |
---|---|
XMLMarshaller()
|
Method Summary | |
---|---|
byte[] |
marshall(Task t)
Marshalles an Task to the generic Typ. |
Task |
read(byte[] xml)
|
Task |
unmarshall(byte[] x)
Unmarshalles the generic typ into a Task Object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLMarshaller()
Method Detail |
---|
public byte[] marshall(Task t)
IMarshaller
marshall
in interface IMarshaller<byte[]>
t
- The Task that should be marshalled.
public Task unmarshall(byte[] x)
IMarshaller
unmarshall
in interface IMarshaller<byte[]>
x
- the generic type representation of a task.
public Task read(byte[] xml) throws javax.xml.stream.XMLStreamException, java.net.URISyntaxException, java.lang.ClassNotFoundException
javax.xml.stream.XMLStreamException
java.net.URISyntaxException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |