org.apache.woden.internal.wsdl20
Class WSDLReferenceImpl

java.lang.Object
  extended by org.apache.woden.internal.wsdl20.WSDLElementImpl
      extended by org.apache.woden.internal.wsdl20.DocumentableImpl
          extended by org.apache.woden.internal.wsdl20.WSDLReferenceImpl
All Implemented Interfaces:
AttributeExtensible, ElementExtensible, DocumentableElement, WSDLElement
Direct Known Subclasses:
ImportImpl, IncludeImpl

public abstract class WSDLReferenceImpl
extends DocumentableImpl

This abstract class defines the common behaviour for referencing WSDL documents via the <wsdl:import> and <wsdl:include> elements. It is extended by the concrete implementation classes for those two elements. TODO consider whether to expose a WSDLReferenceElement interface on the API too to provide a common handle for import and include elements (is there a use case?).

Author:
jkaputin@apache.org

Constructor Summary
WSDLReferenceImpl()
           
 
Method Summary
 void addDocumentationElement(DocumentationElement docEl)
           
 DescriptionElement getDescriptionElement()
           
 DocumentationElement[] getDocumentationElements()
          Return the set of DocumentationElements defined directly within this WSDLElement.
 java.net.URI getLocation()
           
 WSDLElement getParentElement()
           
 void setDescriptionElement(DescriptionElement desc)
           
 void setLocation(java.net.URI locURI)
           
 
Methods inherited from class org.apache.woden.internal.wsdl20.DocumentableImpl
addDocumentationElement
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.woden.wsdl20.xml.WSDLElement
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
 

Constructor Detail

WSDLReferenceImpl

public WSDLReferenceImpl()
Method Detail

getParentElement

public WSDLElement getParentElement()

setLocation

public void setLocation(java.net.URI locURI)

getLocation

public java.net.URI getLocation()

setDescriptionElement

public void setDescriptionElement(DescriptionElement desc)

getDescriptionElement

public DescriptionElement getDescriptionElement()

addDocumentationElement

public void addDocumentationElement(DocumentationElement docEl)

getDocumentationElements

public DocumentationElement[] getDocumentationElements()
Description copied from interface: DocumentableElement
Return the set of DocumentationElements defined directly within this WSDLElement. This equates to the set of <documentation> elements declared within a WSDL element. If no DocumentationElements exist, an empty array is returned.

Specified by:
getDocumentationElements in interface DocumentableElement
Overrides:
getDocumentationElements in class DocumentableImpl
Returns:
array of DocumentationElement


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.