|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.resource.handler.axis.ObjectDeserializer
Converts Java DOM Elements and SOAP Elements to Java objects. The objects must be compliant with the Axis Bean model, i.e. generated using the WSDL2Java tool from an XML Schema definition or must be of simple type.
Constructor Summary | |
ObjectDeserializer()
|
Method Summary | |
static boolean |
contains(javax.xml.soap.SOAPElement element,
java.lang.Class javaClass)
Checks to see whether the any element is of type javaClass. |
static java.lang.Object |
deserialize(org.xml.sax.InputSource input,
java.lang.Class javaClass)
Deserializes input with XML into a Java object of the given type. |
static java.lang.Object |
getFirstAsObject(org.apache.axis.encoding.AnyContentType any)
Converts the first element of AnyContentType object into a Java object. |
static java.lang.Object |
getFirstAsObject(org.apache.axis.encoding.AnyContentType any,
java.lang.Class javaClass)
Converts the first element of AnyContentType object into a Java object. |
static java.lang.Object[] |
toObject(org.apache.axis.encoding.AnyContentType any)
Converts a AnyContentType object into a set of Java objects. |
static java.lang.Object[] |
toObject(org.apache.axis.encoding.AnyContentType any,
java.lang.Class javaClass)
Converts a AnyContentType object into a set of Java objects. |
static java.lang.Object |
toObject(org.w3c.dom.Element element)
Converts a DOM Element object into a Java object. |
static java.lang.Object |
toObject(org.w3c.dom.Element element,
java.lang.Class javaClass)
Converts a DOM Element object into a Java object. |
static java.lang.Object |
toObject(javax.xml.soap.SOAPElement element)
Converts a SOAPElement object into a Java object. |
static java.lang.Object[] |
toObject(javax.xml.soap.SOAPElement[] elements)
Converts an array of SOAPElement objects into a set of Java objects. |
static java.lang.Object[] |
toObject(javax.xml.soap.SOAPElement[] elements,
java.lang.Class javaClass)
Converts an array of SOAPElement objects into a set of Java objects. |
static java.lang.Object |
toObject(javax.xml.soap.SOAPElement element,
java.lang.Class javaClass)
Converts a SOAPElement object into a Java object of specified type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectDeserializer()
Method Detail |
public static java.lang.Object getFirstAsObject(org.apache.axis.encoding.AnyContentType any) throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
toObject(SOAPElement, Class)
public static java.lang.Object getFirstAsObject(org.apache.axis.encoding.AnyContentType any, java.lang.Class javaClass) throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
toObject(SOAPElement, Class)
public static boolean contains(javax.xml.soap.SOAPElement element, java.lang.Class javaClass)
public static java.lang.Object deserialize(org.xml.sax.InputSource input, java.lang.Class javaClass) throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
public static java.lang.Object toObject(org.w3c.dom.Element element) throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
public static java.lang.Object toObject(org.w3c.dom.Element element, java.lang.Class javaClass) throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
public static java.lang.Object toObject(javax.xml.soap.SOAPElement element) throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
toObject(SOAPElement, Class)
public static java.lang.Object toObject(javax.xml.soap.SOAPElement element, java.lang.Class javaClass) throws org.apache.commons.lang.SerializationException
element
- SOAPElement to be convertedjavaClass
- Class containing meta data about how to deserialize the object or can be of a simple type such as
Integer.
org.apache.commons.lang.SerializationException
- if the input could not be deserialized into a Java type.public static java.lang.Object[] toObject(javax.xml.soap.SOAPElement[] elements) throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
toObject(SOAPElement, Class)
public static java.lang.Object[] toObject(javax.xml.soap.SOAPElement[] elements, java.lang.Class javaClass) throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
toObject(SOAPElement, Class)
public static java.lang.Object[] toObject(org.apache.axis.encoding.AnyContentType any) throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
toObject(SOAPElement, Class)
public static java.lang.Object[] toObject(org.apache.axis.encoding.AnyContentType any, java.lang.Class javaClass) throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
toObject(SOAPElement, Class)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |