public class ImportImpl extends java.lang.Object implements Import
Modifier and Type | Field and Description |
---|---|
protected Definition |
definition |
protected org.w3c.dom.Element |
docEl |
protected java.util.Map |
extensionAttributes |
protected java.lang.String |
locationURI |
protected java.lang.String |
namespaceURI |
protected java.util.List |
nativeAttributeNames |
static long |
serialVersionUID |
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
Constructor and Description |
---|
ImportImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
org.w3c.dom.Element |
getDocumentationElement()
Get the documentation element.
|
java.lang.Object |
getExtensionAttribute(QName name)
Retrieve an extension attribute from this element.
|
java.util.Map |
getExtensionAttributes()
Get the map containing all the extension attributes defined
on this element.
|
java.lang.String |
getLocationURI()
Get the location URI of this import.
|
java.lang.String |
getNamespaceURI()
Get the namespace URI of this import.
|
java.util.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(org.w3c.dom.Element docEl)
Set the documentation element for this document.
|
void |
setExtensionAttribute(QName name,
java.lang.Object value)
Set an extension attribute on this element.
|
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.
|
java.lang.String |
toString() |
protected java.lang.String namespaceURI
protected java.lang.String locationURI
protected Definition definition
protected org.w3c.dom.Element docEl
protected java.util.Map extensionAttributes
protected java.util.List nativeAttributeNames
public static final long serialVersionUID
public void setNamespaceURI(java.lang.String namespaceURI)
Import
setNamespaceURI
in interface Import
namespaceURI
- the desired namespace URIpublic java.lang.String getNamespaceURI()
Import
getNamespaceURI
in interface Import
public void setLocationURI(java.lang.String locationURI)
Import
setLocationURI
in interface Import
locationURI
- the desired location URIpublic java.lang.String getLocationURI()
Import
getLocationURI
in interface Import
public void setDefinition(Definition definition)
setDefinition
in interface Import
public Definition getDefinition()
getDefinition
in interface Import
public void setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement
in interface Import
docEl
- the documentation elementpublic org.w3c.dom.Element getDocumentationElement()
getDocumentationElement
in interface Import
public void setExtensionAttribute(QName name, java.lang.Object value)
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(javax.xml.namespace.QName)
,
getExtensionAttributes()
,
ExtensionRegistry#registerExtensionAttributeType
,
ExtensionRegistry#queryExtensionAttributeType
public java.lang.Object getExtensionAttribute(QName name)
getExtensionAttribute
in interface AttributeExtensible
name
- the extension attribute namesetExtensionAttribute(javax.xml.namespace.QName, java.lang.Object)
,
getExtensionAttributes()
,
ExtensionRegistry#registerExtensionAttributeType
,
ExtensionRegistry#queryExtensionAttributeType
public java.util.Map getExtensionAttributes()
getExtensionAttributes
in interface AttributeExtensible
setExtensionAttribute(javax.xml.namespace.QName, java.lang.Object)
,
getExtensionAttribute(javax.xml.namespace.QName)
public java.util.List getNativeAttributeNames()
getNativeAttributeNames
in interface AttributeExtensible
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2003,2005 IBM. All Rights Reserved.