|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.management.wsdm.muse.serializer.ByteArraySerializer
public class ByteArraySerializer
Implementation of Muse Serializer for byte array type.
Constructor Summary | |
---|---|
ByteArraySerializer()
|
Method Summary | |
---|---|
Object |
fromXML(Element xml)
Return a byte array representation of the given xml element. |
Class<?> |
getSerializableType()
Returns the java type associated to this class. |
Element |
toXML(Object object,
QName qname)
Return an xml representation of the given byte array with the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteArraySerializer()
Method Detail |
---|
public Object fromXML(Element xml) throws org.apache.muse.ws.addressing.soap.SoapFault
fromXML
in interface org.apache.muse.core.serializer.Serializer
xml
- the element to unmarshal.
org.apache.muse.ws.addressing.soap.SoapFault
- when the unmarshalling fails.public Class<?> getSerializableType()
getSerializableType
in interface org.apache.muse.core.serializer.Serializer
public Element toXML(Object object, QName qname) throws org.apache.muse.ws.addressing.soap.SoapFault
toXML
in interface org.apache.muse.core.serializer.Serializer
object
- the byte array to marshal.qname
- the qualified (xml) name of the object to use in xml representation.
org.apache.muse.ws.addressing.soap.SoapFault
- when the marshalling fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |