|
||||||||||
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
public class WsrpUtils
WsrpUtils is a set of convenience methods related to WS-RP v1.2.
Constructor Summary | |
---|---|
WsrpUtils()
|
Method Summary | |
---|---|
static Element |
convertToElement(Object property,
Class type,
QName qname)
Uses one of Muse's registered Serializers to convert the given object into an XML element. |
static Element[] |
convertToElements(Object[] properties,
Class type,
QName qname)
Uses Muse's registered Serializers to convert the given objects into XML elements. |
static Object |
convertToObject(Element property,
Class type)
Uses one of Muse's registered Serializers to convert the given Element into an instance of the given type. |
static Object |
convertToObjects(Element[] properties,
Class type)
Uses Muse's registered Serializers to convert the given Elements into instances of the given type. |
static QName |
getPropertiesName(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 Element convertToElement(Object property, 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 Element[] convertToElements(Object[] properties, 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 Object convertToObject(Element property, 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 Object convertToObjects(Element[] properties, 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(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 |