org.apache.qpid.management.wsdm.muse.serializer
Class InvocationResultSerializer

java.lang.Object
  extended by org.apache.qpid.management.wsdm.muse.serializer.InvocationResultSerializer
All Implemented Interfaces:
org.apache.muse.core.serializer.Serializer

public class InvocationResultSerializer
extends Object
implements org.apache.muse.core.serializer.Serializer

Implementation of Muse Serializer for Result type.


Constructor Summary
InvocationResultSerializer()
           
 
Method Summary
 Object fromXML(Element elementData)
          Return a UUID representation of the given xml element.
 Class<?> getSerializableType()
          Returns the java type associated to this class.
 Element toXML(Object obj, QName qname)
          Return an xml representation of the given UUID with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationResultSerializer

public InvocationResultSerializer()
Method Detail

fromXML

public Object fromXML(Element elementData)
               throws org.apache.muse.ws.addressing.soap.SoapFault
Return a UUID representation of the given xml element.

Specified by:
fromXML in interface org.apache.muse.core.serializer.Serializer
Parameters:
xml - the element to unmarshal.
Throws:
org.apache.muse.ws.addressing.soap.SoapFault - when the unmarshalling fails.

getSerializableType

public Class<?> getSerializableType()
Returns the java type associated to this class.

Specified by:
getSerializableType in interface org.apache.muse.core.serializer.Serializer
Returns:
the java type associated to this class.

toXML

public Element toXML(Object obj,
                     QName qname)
              throws org.apache.muse.ws.addressing.soap.SoapFault
Return an xml representation of the given UUID with the given name.

Specified by:
toXML in interface org.apache.muse.core.serializer.Serializer
Parameters:
object - the UUID to marshal.
qname - the qualified (xml) name of the object to use in xml representation.
Returns:
the xml representation of the UUID.
Throws:
org.apache.muse.ws.addressing.soap.SoapFault - when the marshalling fails.


Licensed to the Apache Software Foundation