com.ibm.wsdl

Class ImportImpl

Implemented Interfaces:
AttributeExtensible, ElementExtensible, Import, java.io.Serializable, WSDLElement

public class ImportImpl
extends AbstractWSDLElement
implements Import

This class represents an import, and may contain a reference to the imported definition.
Author:
Matthew J. Duftler (duftler@us.ibm.com)

Field Summary

protected Definition
definition
protected String
locationURI
protected String
namespaceURI
protected List
nativeAttributeNames
static long
serialVersionUID

Fields inherited from class com.ibm.wsdl.AbstractWSDLElement

docEl, extElements, extensionAttributes

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.
String
getLocationURI()
Get the location URI of this import.
String
getNamespaceURI()
Get the namespace URI of this import.
List
getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.
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(String locationURI)
Set the location URI of this import.
void
setNamespaceURI(String namespaceURI)
Set the namespace URI of this import.
String
toString()

Methods inherited from class com.ibm.wsdl.AbstractWSDLElement

addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttribute, toString

Field Details

definition

protected Definition definition

locationURI

protected String locationURI

namespaceURI

protected String namespaceURI

nativeAttributeNames

protected List nativeAttributeNames

serialVersionUID

public static final long serialVersionUID
Field Value:
1L

Method Details

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.
Specified by:
getDefinition in interface Import

getLocationURI

public String getLocationURI()
Get the location URI of this import.
Specified by:
getLocationURI in interface Import

getNamespaceURI

public String getNamespaceURI()
Get the namespace URI of this import.
Specified by:
getNamespaceURI in interface Import

getNativeAttributeNames

public List getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.
Specified by:
getNativeAttributeNames in interface AttributeExtensible
Returns:
a List of Strings, one for each local attribute name

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.
Specified by:
setDefinition in interface Import

setLocationURI

public void setLocationURI(String locationURI)
Set the location URI of this import.
Specified by:
setLocationURI in interface Import
Parameters:
locationURI - the desired location URI

setNamespaceURI

public void setNamespaceURI(String namespaceURI)
Set the namespace URI of this import.
Specified by:
setNamespaceURI in interface Import
Parameters:
namespaceURI - the desired namespace URI

toString

public String toString()
Overrides:
toString in interface AbstractWSDLElement

Copyright B) 2003,2006 IBM. All Rights Reserved.