org.eclipse.wst.wsdl
Interface WSDLElement

All Known Subinterfaces:
Binding, BindingFault, BindingInput, BindingOperation, BindingOutput, Definition, ExtensibilityElement, ExtensibleElement, Fault, Import, Input, Message, MessageReference, Operation, Output, Part, Port, PortType, Service, SOAPAddress, SOAPBinding, SOAPBody, SOAPFault, SOAPHeader, SOAPHeaderBase, SOAPHeaderFault, SOAPOperation, Types, UnknownExtensibilityElement, XSDSchemaExtensibilityElement

public interface WSDLElement

A representation of the model object 'Element'. This class represents a WSDL language element.

The following features are supported:

See Also:
org.eclipse.wsdl.WSDLPackage#getWSDLElement()

Method Summary
 void elementChanged(org.w3c.dom.Element changedElement)
          Called to indicate that the given element has changed; the element should typically be the same as the one returned getElement().
 WSDLElement getContainer()
          Returns the value of the 'Container' reference.
 org.w3c.dom.Element getDocumentationElement()
          Returns the value of the 'Documentation Element' attribute.
 org.w3c.dom.Element getElement()
          Returns the value of the 'Element' attribute.
 Definition getEnclosingDefinition()
           
 void setDocumentationElement(org.w3c.dom.Element value)
          Sets the value of the 'Documentation Element' attribute.
 void setElement(org.w3c.dom.Element value)
          Sets the value of the 'Element' attribute.
 void setEnclosingDefinition(Definition definition)
           
 void updateElement()
          Ensures that the underlying DOM element both exists and is up-to-date with respect to the model, i.e., it serializes the component and maintains an association with that serialization.
 void updateElement(boolean deep)
          Ensures that the underlying DOM element both exists and is up-to-date with respect to the model, i.e., it serializes the component and maintains an association with that serialization.
 

Method Detail

getDocumentationElement

public org.w3c.dom.Element getDocumentationElement()
Returns the value of the 'Documentation Element' attribute.

If the meaning of the 'Documentation Element' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Documentation Element' attribute.
See Also:
setDocumentationElement(Element), org.eclipse.wsdl.WSDLPackage#getWSDLElement_DocumentationElement()

setDocumentationElement

public void setDocumentationElement(org.w3c.dom.Element value)
Sets the value of the 'Documentation Element' attribute.

Parameters:
value - the new value of the 'Documentation Element' attribute.
See Also:
getDocumentationElement()

getElement

public org.w3c.dom.Element getElement()
Returns the value of the 'Element' attribute.

This is the underlying DOM element associated with this component, i.e., the serialization of this component.

Returns:
the value of the 'Element' attribute.
See Also:
setElement(Element), org.eclipse.wsdl.WSDLPackage#getWSDLElement_Element()

setElement

public void setElement(org.w3c.dom.Element value)
Sets the value of the 'Element' attribute.

Parameters:
value - the new value of the 'Element' attribute.
See Also:
getElement()

getEnclosingDefinition

public Definition getEnclosingDefinition()


setEnclosingDefinition

public void setEnclosingDefinition(Definition definition)


updateElement

public void updateElement()
Ensures that the underlying DOM element both exists and is up-to-date with respect to the model, i.e., it serializes the component and maintains an association with that serialization.

See Also:
updateElement(boolean), getElement()

updateElement

public void updateElement(boolean deep)
Ensures that the underlying DOM element both exists and is up-to-date with respect to the model, i.e., it serializes the component and maintains an association with that serialization. For deep == true, or when getElement() == null, this does the same thing as updateElement(); otherwise, it updates just the DOM element associated with this component to reflect the current state.

See Also:
updateElement(), getElement()

getContainer

public WSDLElement getContainer()
Returns the value of the 'Container' reference. This represents the concrete container of this component, i.e., the inverse of the black diamond relations in the UML model.

Returns:
the value of the 'Container' reference.

elementChanged

public void elementChanged(org.w3c.dom.Element changedElement)
Called to indicate that the given element has changed; the element should typically be the same as the one returned getElement(). It is expected that clients will not call this themselves since the DOM event listeners attached to the underlying DOM will invoke these automatically.