org.apache.axis.message.addressing
Interface DOMAppendable

All Known Implementing Classes:
Action, Address, AnyContentTypeList, AttributedQName, AttributedURI, MessageID, MetaDataType, PortType, ReferenceParametersType, ReferencePropertiesType, ServiceNameType, To

public interface DOMAppendable

Represents classes that know how to serialize themselves into a DOM tree.

Version:
$Revision: 14 $
Author:
Rodrigo Ruiz

Method Summary
 void append(AddressingVersion version, org.w3c.dom.Element parent, java.lang.String elementName)
          Appends a DOM representation of this instance to the specified element.
 void append(org.w3c.dom.Element parent)
          Appends a DOM representation of this instance to the specified element.
 void append(org.w3c.dom.Element parent, java.lang.String elementName)
          Appends a DOM representation of this instance to the specified element.
 

Method Detail

append

void append(AddressingVersion version,
            org.w3c.dom.Element parent,
            java.lang.String elementName)
Appends a DOM representation of this instance to the specified element.

Parameters:
version - WS-Addressing version to use
parent - Parent element
elementName - Name of the element to create

append

void append(org.w3c.dom.Element parent,
            java.lang.String elementName)
Appends a DOM representation of this instance to the specified element.

Parameters:
parent - Parent element
elementName - The name of the element to create

append

void append(org.w3c.dom.Element parent)
Appends a DOM representation of this instance to the specified element.

This method should call append(Element, String) with a default value for the elementName parameter. Abstract classes, or those to be always subclassed may optionally throw UnsupportedOperationException instead.

Parameters:
parent - Parent element


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