|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.muse.ws.resource.properties.impl.WsrpUtils
WsrpUtils is a set of convenience methods related to WS-RP v1.2.
| Constructor Summary | |
|---|---|
WsrpUtils()
|
|
| Method Summary | |
|---|---|
static org.w3c.dom.Element |
convertToElement(java.lang.Object property,
java.lang.Class type,
QName qname)
Uses one of Muse's registered Serializers to convert the given object into an XML element. |
static org.w3c.dom.Element[] |
convertToElements(java.lang.Object[] properties,
java.lang.Class type,
QName qname)
Uses Muse's registered Serializers to convert the given objects into XML elements. |
static java.lang.Object |
convertToObject(org.w3c.dom.Element property,
java.lang.Class type)
Uses one of Muse's registered Serializers to convert the given Element into an instance of the given type. |
static java.lang.Object |
convertToObjects(org.w3c.dom.Element[] properties,
java.lang.Class type)
Uses Muse's registered Serializers to convert the given Elements into instances of the given type. |
static QName |
getPropertiesName(org.w3c.dom.Node wsdl,
QName portType)
Searches a WSDL document for the schema element name of a resource's WS-RP document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WsrpUtils()
| Method Detail |
public static org.w3c.dom.Element convertToElement(java.lang.Object property,
java.lang.Class type,
QName qname)
throws SoapFault
property - The property value to serialize.type - The type whose registered Serializer will be used to parse
the property value.qname - The QName of the XML element that will represent the
property value.
SoapFault -
public static org.w3c.dom.Element[] convertToElements(java.lang.Object[] properties,
java.lang.Class type,
QName qname)
throws SoapFault
properties - The property values to serialize.type - The type whose registered Serializer will be used to parse
the property values.qname - The QName of the XML elements that will represent the
property values.
SoapFault -
public static java.lang.Object convertToObject(org.w3c.dom.Element property,
java.lang.Class type)
throws SoapFault
property - The property value to deserialize.type - The type whose registered Serializer will be used to parse
the property value.
SoapFault -
public static java.lang.Object convertToObjects(org.w3c.dom.Element[] properties,
java.lang.Class type)
throws SoapFault
properties - The property values to deserialize.type - The type whose registered Serializer will be used to parse
the property values.
SoapFault -
public static QName getPropertiesName(org.w3c.dom.Node wsdl,
QName portType)
wsdl - The WSDL document that contains the WS-RP definition.portType - The WSDL portType that has the name of the WS-RP definition.
WsdlUtils.getElementDeclaration(Node, QName)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||