org.apache.tuscany.sca.interfacedef.wsdl.xml
Class BPELExtensionHandler

java.lang.Object
  extended by org.apache.tuscany.sca.interfacedef.wsdl.xml.BPELExtensionHandler

public class BPELExtensionHandler
extends java.lang.Object

A WSDL extension processor for extension elements introduced by BPEL - in particular the elements


Constructor Summary
BPELExtensionHandler()
           
 
Method Summary
protected  javax.xml.namespace.QName getQNameValue(Definition definition, java.lang.String value)
          Returns a QName from a string.
 void marshall(java.lang.Class parentType, javax.xml.namespace.QName elementType, ExtensibilityElement theElement, java.io.PrintWriter writer, Definition def, ExtensionRegistry extReg)
          Marshals the BPEL partner link type extension element to XML See (@link javax.wsdl.extensions.ExtensionSerializer)
 ExtensibilityElement unmarshall(java.lang.Class theClass, javax.xml.namespace.QName elementType, org.w3c.dom.Element theElement, Definition def, ExtensionRegistry extReg)
          Unmarshals the BPEL partner link type element from XML See (@link javax.wsdl.extensions.ExtensionDeserializer) The format of the Partner Link Type in XML is as follows: One role is mandatory, the second is optional.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BPELExtensionHandler

public BPELExtensionHandler()
Method Detail

marshall

public void marshall(java.lang.Class parentType,
                     javax.xml.namespace.QName elementType,
                     ExtensibilityElement theElement,
                     java.io.PrintWriter writer,
                     Definition def,
                     ExtensionRegistry extReg)
              throws WSDLException
Marshals the BPEL partner link type extension element to XML See (@link javax.wsdl.extensions.ExtensionSerializer)

Throws:
WSDLException

unmarshall

public ExtensibilityElement unmarshall(java.lang.Class theClass,
                                       javax.xml.namespace.QName elementType,
                                       org.w3c.dom.Element theElement,
                                       Definition def,
                                       ExtensionRegistry extReg)
                                throws WSDLException
Unmarshals the BPEL partner link type element from XML See (@link javax.wsdl.extensions.ExtensionDeserializer) The format of the Partner Link Type in XML is as follows: One role is mandatory, the second is optional.

Throws:
WSDLException

getQNameValue

protected javax.xml.namespace.QName getQNameValue(Definition definition,
                                                  java.lang.String value)
Returns a QName from a string.

Parameters:
definition - - a WSDL Definition
value - - the String from which to form the QName in the form "pref:localName"
Returns: