com.ibm.wsdl
Class AbstractWSDLElement
java.lang.Object
com.ibm.wsdl.AbstractWSDLElement
- java.io.Serializable, AttributeExtensible, ElementExtensible, WSDLElement
public abstract class AbstractWSDLElement
extends java.lang.Object
Abstract super class for all WSDL Elements, providing some basic
common functionality.
docEl
protected Element docEl
extElements
protected List extElements
extensionAttributes
protected Map extensionAttributes
getDocumentationElement
public Element getDocumentationElement()
Get the documentation element. This dependency on org.w3c.dom.Element
should eventually be removed when a more appropriate way of
representing this information is employed.
- getDocumentationElement in interface WSDLElement
- the documentation element
getExtensionAttribute
public Object getExtensionAttribute(QName name)
Retrieve an extension attribute from this element. If the extension
attribute is not defined, null is returned.
- getExtensionAttribute in interface AttributeExtensible
name
- the extension attribute name
- the value of the extension attribute, or null if
it is not defined. Can be a String, a QName, a List of Strings, or a List
of QNames.
getExtensionAttributes
public Map getExtensionAttributes()
Get the map containing all the extension attributes defined
on this element. The keys are the qnames of the attributes.
- getExtensionAttributes in interface AttributeExtensible
- a map containing all the extension attributes defined
on this element
setDocumentationElement
public void setDocumentationElement(Element docEl)
Set the documentation element for this document. This dependency
on org.w3c.dom.Element should eventually be removed when a more
appropriate way of representing this information is employed.
- setDocumentationElement in interface WSDLElement
docEl
- the documentation element
setExtensionAttribute
public void setExtensionAttribute(QName name,
Object value)
Set an extension attribute on this element. Pass in a null value to remove
an extension attribute.
- setExtensionAttribute in interface AttributeExtensible
name
- the extension attribute namevalue
- the extension attribute value. Can be a String, a QName, a
List of Strings, or a List of QNames.
toString
public String toString()
Copyright B) 2003,2006 IBM. All Rights Reserved.