com.ibm.wsdl
Class ImportImpl
- AttributeExtensible, Import, java.io.Serializable
public class ImportImpl
extends java.lang.Object
This class represents an import, and may contain a reference
to the imported definition.
- Matthew J. Duftler (duftler@us.ibm.com)
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.
|
Element | getDocumentationElement() - Get the documentation element.
|
Object | getExtensionAttribute(QName name) - Retrieve an extension attribute from this element.
|
Map | getExtensionAttributes() - Get the map containing all the extension attributes defined
on this element.
|
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 | setDocumentationElement(Element docEl) - Set the documentation element for this document.
|
void | setExtensionAttribute(QName name, Object value) - Set an extension attribute on this element.
|
void | setLocationURI(String locationURI) - Set the location URI of this import.
|
void | setNamespaceURI(String namespaceURI) - Set the namespace URI of this import.
|
String | toString()
|
docEl
protected Element docEl
extensionAttributes
protected Map extensionAttributes
locationURI
protected String locationURI
namespaceURI
protected String namespaceURI
nativeAttributeNames
protected List nativeAttributeNames
serialVersionUID
public static final long serialVersionUID
- 1L
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.
- getDefinition in interface Import
getDocumentationElement
public 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.
- getDocumentationElement in interface Import
- the documentation element
getExtensionAttribute
public Object getExtensionAttribute(QName name)
Retrieve an extension attribute from this element. If the extension
attribute is not defined, null is returned.
- getExtensionAttribute in interface AttributeExtensible
name
- the extension attribute name
- the value of the extension attribute, or null if
it is not defined. Can be a String, a QName, a List of Strings, or a List
of QNames.
setExtensionAttribute(QName,Object)
, getExtensionAttributes()
, ExtensionRegistry.registerExtensionAttributeType
, ExtensionRegistry.queryExtensionAttributeType
getLocationURI
public String getLocationURI()
Get the location URI of this import.
- getLocationURI in interface Import
getNamespaceURI
public String getNamespaceURI()
Get the namespace URI of this import.
- getNamespaceURI in interface Import
getNativeAttributeNames
public List getNativeAttributeNames()
Get the list of local attribute names defined for this element in
the WSDL specification.
- getNativeAttributeNames in interface AttributeExtensible
- 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.
- setDefinition in interface Import
setDocumentationElement
public void setDocumentationElement(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.
- setDocumentationElement in interface Import
docEl
- the documentation element
setExtensionAttribute
public void setExtensionAttribute(QName name,
Object value)
Set an extension attribute on this element. Pass in a null value to remove
an extension attribute.
- setExtensionAttribute in interface AttributeExtensible
name
- the extension attribute namevalue
- the extension attribute value. Can be a String, a QName, a
List of Strings, or a List of QNames.
getExtensionAttribute(QName)
, getExtensionAttributes()
, ExtensionRegistry.registerExtensionAttributeType
, ExtensionRegistry.queryExtensionAttributeType
setLocationURI
public void setLocationURI(String locationURI)
Set the location URI of this import.
- setLocationURI in interface Import
locationURI
- the desired location URI
setNamespaceURI
public void setNamespaceURI(String namespaceURI)
Set the namespace URI of this import.
- setNamespaceURI in interface Import
namespaceURI
- the desired namespace URI
toString
public String toString()
Copyright B) 2003,2005 IBM. All Rights Reserved.