javax.wsdl
Interface Import

All Superinterfaces:
AttributeExtensible, ElementExtensible, java.io.Serializable, WSDLElement
All Known Implementing Classes:
ImportImpl

public interface Import
extends WSDLElement

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

Author:
Matthew J. Duftler (duftler@us.ibm.com)

Field Summary
 
Fields inherited from interface javax.wsdl.extensions.AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
 
Method Summary
 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.
 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. the one with the <import>) will use this Definition when resolving referenced WSDL parts.
 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.
 
Methods inherited from interface javax.wsdl.WSDLElement
getDocumentationElement, setDocumentationElement
 
Methods inherited from interface javax.wsdl.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute
 
Methods inherited from interface javax.wsdl.extensions.ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
 

Method Detail

setNamespaceURI

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

Parameters:
namespaceURI - the desired namespace URI

getNamespaceURI

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


setLocationURI

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

Parameters:
locationURI - the desired location URI

getLocationURI

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


setDefinition

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

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.



Copyright ? 2003,2006 IBM. All Rights Reserved.