|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sadun.util.AxisObjectSerializer
This class serializes an AXIS object into an XML byte array.
The java objexts must have been generated with wsdl2java. 1.2RC3.
This class uses reflection and does not refer directly to any AXIS class, so it does not require Axis libraries in classpath to compile.
This class is a singleton.
Method Summary | |
static AxisObjectSerializer |
getInstance()
Retrieve the unique instance of the serializer. |
byte[] |
serializeAxisObjectToXML(java.lang.Object obj)
Serialize an Axis java object to XML. |
java.lang.String |
serializeAxisObjectToXMLString(java.lang.Object obj)
Serialize an Axis java object to XML. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static AxisObjectSerializer getInstance()
public byte[] serializeAxisObjectToXML(java.lang.Object obj)
obj
- the object to serialize
public java.lang.String serializeAxisObjectToXMLString(java.lang.Object obj)
obj
- the object to serialize
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |