org.apache.ws.addressing
Class AddressingUtils

java.lang.Object
  extended byorg.apache.ws.addressing.AddressingUtils

public abstract class AddressingUtils
extends java.lang.Object

A set of WS-Addressing-related utility methods.


Constructor Summary
AddressingUtils()
           
 
Method Summary
static java.lang.String getAddressingNamespaceURI(javax.xml.soap.SOAPHeader soapHeader)
          Returns the WS-Addressing namespace URI for the specified SOAP header, or null if the header is null or does not contain any WS-Addressing header elements.
static javax.xml.soap.SOAPHeaderElement getHeaderElement(javax.xml.soap.SOAPHeader soapHeader, javax.xml.namespace.QName headerElemName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressingUtils

public AddressingUtils()
Method Detail

getAddressingNamespaceURI

public static java.lang.String getAddressingNamespaceURI(javax.xml.soap.SOAPHeader soapHeader)
Returns the WS-Addressing namespace URI for the specified SOAP header, or null if the header is null or does not contain any WS-Addressing header elements.

Parameters:
soapHeader - a SOAP header
Returns:
the WS-Addressing namespace URI for the specified SOAP header

getHeaderElement

public static javax.xml.soap.SOAPHeaderElement getHeaderElement(javax.xml.soap.SOAPHeader soapHeader,
                                                                javax.xml.namespace.QName headerElemName)
Parameters:
soapHeader -
headerElemName -
Returns:
the header element with the name that was specified


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