org.apache.ws.util
Class WsrfWsdlUtils

java.lang.Object
  extended byorg.apache.ws.util.WsrfWsdlUtils

public abstract class WsrfWsdlUtils
extends java.lang.Object

Utility methods for working with a WSRF WSDL definition.

Author:
Ian Springer

Constructor Summary
WsrfWsdlUtils()
           
 
Method Summary
static java.lang.String getMetadataDescriptorLocation(javax.wsdl.PortType portType)
          DOCUMENT_ME
static javax.xml.namespace.QName getMetadataDescriptorName(javax.wsdl.PortType portType)
          DOCUMENT_ME
static javax.xml.namespace.QName getResourcePropertiesDocumentName(javax.wsdl.PortType portType)
          DOCUMENT_ME
static javax.xml.namespace.QName[] getResourcePropertyNames(javax.xml.namespace.QName rpDocElemName, javax.wsdl.Definition def, java.net.URL baseUrl)
           
static org.w3c.dom.Element[] getSchemaElements(javax.wsdl.Definition def)
           
static boolean implementsPortType(javax.wsdl.PortType mostDerivedPortType, javax.wsdl.PortType specPortType)
          DOCUMENT_ME
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsrfWsdlUtils

public WsrfWsdlUtils()
Method Detail

getMetadataDescriptorLocation

public static java.lang.String getMetadataDescriptorLocation(javax.wsdl.PortType portType)
                                                      throws InvalidWsrfWsdlException
DOCUMENT_ME

Parameters:
portType - DOCUMENT_ME
Returns:
DOCUMENT_ME
Throws:
InvalidWsrfWsdlException - DOCUMENT_ME

getMetadataDescriptorName

public static javax.xml.namespace.QName getMetadataDescriptorName(javax.wsdl.PortType portType)
DOCUMENT_ME

Parameters:
portType - DOCUMENT_ME
Returns:
DOCUMENT_ME

getResourcePropertiesDocumentName

public static javax.xml.namespace.QName getResourcePropertiesDocumentName(javax.wsdl.PortType portType)
DOCUMENT_ME

Parameters:
portType - DOCUMENT_ME
Returns:
DOCUMENT_ME

getResourcePropertyNames

public static javax.xml.namespace.QName[] getResourcePropertyNames(javax.xml.namespace.QName rpDocElemName,
                                                                   javax.wsdl.Definition def,
                                                                   java.net.URL baseUrl)
                                                            throws InvalidWsrfWsdlException
Parameters:
rpDocElemName -
def -
baseUrl -
Returns:
the names of the resource properties associated with the specified portType
Throws:
InvalidWsrfWsdlException

getSchemaElements

public static org.w3c.dom.Element[] getSchemaElements(javax.wsdl.Definition def)
Parameters:
def - a JWSDL definition
Returns:
array of DOM elements, representing any xsd:schema elements within the specified definition's types section

implementsPortType

public static boolean implementsPortType(javax.wsdl.PortType mostDerivedPortType,
                                         javax.wsdl.PortType specPortType)
DOCUMENT_ME

Parameters:
mostDerivedPortType - DOCUMENT_ME
specPortType - DOCUMENT_ME
Returns:
DOCUMENT_ME


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.