javax.wsdl
Interface Import

All Superinterfaces:
java.io.Serializable

public interface Import
extends java.io.Serializable

This interface represents an import, and may contain a reference to the imported definition.

Component:
WSDL-API interfaces

Method Summary
 Definition getDefinition()
          This property can be used to hang a referenced Definition, and the top-level Definition (i.e.
 org.w3c.dom.Element getDocumentationElement()
          Get the documentation element.
 java.lang.String getLocationURI()
          Get the location URI of this import.
 java.lang.String getNamespaceURI()
          Get the namespace URI of this import.
 void setDefinition(Definition definition)
          This property can be used to hang a referenced Definition, and the top-level Definition (i.e.
 void setDocumentationElement(org.w3c.dom.Element docEl)
          Set the documentation element for this document.
 void setLocationURI(java.lang.String locationURI)
          Set the location URI of this import.
 void setNamespaceURI(java.lang.String namespaceURI)
          Set the namespace URI of this import.
 

Method Detail

setNamespaceURI

public void setNamespaceURI(java.lang.String namespaceURI)
Set the namespace URI of this import.

Parameters:
namespaceURI - the desired namespace URI

getNamespaceURI

public java.lang.String getNamespaceURI()
Get the namespace URI of this import.


setLocationURI

public void setLocationURI(java.lang.String locationURI)
Set the location URI of this import.

Parameters:
locationURI - the desired location URI

getLocationURI

public java.lang.String getLocationURI()
Get the location URI of this import.


setDefinition

public void setDefinition(Definition definition)
This property can be used to hang a referenced Definition, and the top-level Definition (i.e. the one with the <import>) will use this Definition when resolving referenced WSDL parts. This would need to be made into a generic reference to handle other types of referenced documents.


getDefinition

public Definition getDefinition()
This property can be used to hang a referenced Definition, and the top-level Definition (i.e. the one with the <import>) will use this Definition when resolving referenced WSDL parts. This would need to be made into a generic reference to handle other types of referenced documents.


setDocumentationElement

public void setDocumentationElement(org.w3c.dom.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.

Parameters:
docEl - the documentation element

getDocumentationElement

public org.w3c.dom.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.

Returns:
the documentation element