javax.xml.ws.addressing.soap
Interface SOAPAddressingElement

All Superinterfaces:
AddressingType

public interface SOAPAddressingElement
extends AddressingType

Interface implemented by JAX-WSA classes that can be serialized / deserialized to SOAPElements.

Version:
JAX-WSA 1.0
Author:
JAX-WSA Development Team

Method Summary
 void read(javax.xml.soap.SOAPElement element)
          Initialize the object using the data contained in the specified SOAPElement.
 javax.xml.soap.SOAPElement write(javax.xml.soap.SOAPElement parent, javax.xml.namespace.QName name)
          Write a SOAPHeaderElement with the specified name as a child of the specified SOAPElement parent.
 
Methods inherited from interface javax.xml.ws.addressing.AddressingType
getNamespaceURI
 

Method Detail

read

void read(javax.xml.soap.SOAPElement element)
          throws AddressingException
Initialize the object using the data contained in the specified SOAPElement.

Parameters:
element - The SOAPElement to be read.
Throws:
AddressingException - if an error occurs.

write

javax.xml.soap.SOAPElement write(javax.xml.soap.SOAPElement parent,
                                 javax.xml.namespace.QName name)
                                 throws AddressingException
Write a SOAPHeaderElement with the specified name as a child of the specified SOAPElement parent.

Parameters:
parent - The parent node
name - The name of the element to be written.
Returns:
The added element.
Throws:
AddressingException - if an error occurs.


Copyright © 2005 Sun Microsystems, Inc. All Rights Reserved.