org.apache.axis.message.addressing
Class Address

java.lang.Object
  extended by org.apache.axis.types.URI
      extended by org.apache.axis.message.addressing.AttributedURI
          extended by org.apache.axis.message.addressing.Address
All Implemented Interfaces:
java.io.Serializable, AddressingHeaderItem, DOMAppendable

public class Address
extends AttributedURI

Class Address.

Version:
$Revision: 14 $
Author:
Davanum Srinivas, Rodrigo Ruiz
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.axis.types.URI
org.apache.axis.types.URI.MalformedURIException
 
Constructor Summary
Address(java.lang.String uri)
          Constructor Address.
Address(org.apache.axis.types.URI uri)
          Creates an instance.
 
Method Summary
static Address fromElement(org.w3c.dom.Element element)
          Gets an Address instance from the specified DOM element.
static Address fromSOAPElement(javax.xml.soap.SOAPElement element)
          Gets an Address instance from the specified SOAP element.
 java.lang.String getDefaultElementName()
          Gets the default name of the element to create in DOMAppendable and AddressingHeaderItem methods.
 
Methods inherited from class org.apache.axis.message.addressing.AttributedURI
append, append, append, toSOAPHeaderElement, toSOAPHeaderElement, toSOAPHeaderElement
 
Methods inherited from class org.apache.axis.types.URI
absolutize, appendPath, equals, getFragment, getHost, getPath, getPath, getPort, getQueryString, getRegBasedAuthority, getScheme, getSchemeSpecificPart, getUserinfo, hashCode, isAbsoluteURI, isConformantSchemeName, isGenericURI, isWellFormedAddress, isWellFormedIPv4Address, isWellFormedIPv6Reference, setFragment, setHost, setPath, setPort, setQueryString, setRegBasedAuthority, setScheme, setUserinfo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Address

public Address(java.lang.String uri)
        throws org.apache.axis.types.URI.MalformedURIException
Constructor Address.

Parameters:
uri - Address URI
Throws:
MalformedURIException - If the specified URI is not valid
org.apache.axis.types.URI.MalformedURIException

Address

public Address(org.apache.axis.types.URI uri)
Creates an instance.

Parameters:
uri - Address URI
Method Detail

fromElement

public static Address fromElement(org.w3c.dom.Element element)
                           throws org.apache.axis.types.URI.MalformedURIException
Gets an Address instance from the specified DOM element.

Parameters:
element - Element to parse
Returns:
Address instance
Throws:
MalformedURIException - If the parsed URI is not valid
org.apache.axis.types.URI.MalformedURIException

fromSOAPElement

public static Address fromSOAPElement(javax.xml.soap.SOAPElement element)
                               throws org.apache.axis.types.URI.MalformedURIException
Gets an Address instance from the specified SOAP element.

Parameters:
element - Element to parse
Returns:
Address instance
Throws:
MalformedURIException - If the parsed URI is not valid
org.apache.axis.types.URI.MalformedURIException

getDefaultElementName

public java.lang.String getDefaultElementName()
Gets the default name of the element to create in DOMAppendable and AddressingHeaderItem methods.

Overrides:
getDefaultElementName in class AttributedURI
Returns:
Element name


Copyright © 2008-2009 Rodrigo Ruiz. All Rights Reserved.