public abstract class AbstractWSDLElement extends Object implements WSDLElement
Modifier and Type | Field and Description |
---|---|
protected Element |
docEl |
protected List |
extElements |
protected Map |
extensionAttributes |
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
Constructor and Description |
---|
AbstractWSDLElement() |
Modifier and Type | Method and Description |
---|---|
void |
addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
|
Element |
getDocumentationElement()
Get the documentation element.
|
List |
getExtensibilityElements()
Get all the extensibility elements defined here.
|
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.
|
ExtensibilityElement |
removeExtensibilityElement(ExtensibilityElement extElement)
Remove an extensibility element.
|
void |
setDocumentationElement(Element docEl)
Set the documentation element for this document.
|
void |
setExtensionAttribute(QName name,
Object value)
Set an extension attribute on this element.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNativeAttributeNames
protected Element docEl
protected List extElements
protected Map extensionAttributes
public void setDocumentationElement(Element docEl)
setDocumentationElement
in interface WSDLElement
docEl
- the documentation elementpublic Element getDocumentationElement()
getDocumentationElement
in interface WSDLElement
public void addExtensibilityElement(ExtensibilityElement extElement)
addExtensibilityElement
in interface ElementExtensible
extElement
- the extensibility element to be addedpublic ExtensibilityElement removeExtensibilityElement(ExtensibilityElement extElement)
removeExtensibilityElement
in interface ElementExtensible
extElement
- the extensibility element to be removed.public List getExtensibilityElements()
getExtensibilityElements
in interface ElementExtensible
public void setExtensionAttribute(QName name, 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(java.lang.Class, javax.xml.namespace.QName, int)
,
ExtensionRegistry.queryExtensionAttributeType(java.lang.Class, javax.xml.namespace.QName)
public Object getExtensionAttribute(QName name)
getExtensionAttribute
in interface AttributeExtensible
name
- the extension attribute namesetExtensionAttribute(javax.xml.namespace.QName, java.lang.Object)
,
getExtensionAttributes()
,
ExtensionRegistry.registerExtensionAttributeType(java.lang.Class, javax.xml.namespace.QName, int)
,
ExtensionRegistry.queryExtensionAttributeType(java.lang.Class, javax.xml.namespace.QName)
public Map getExtensionAttributes()
getExtensionAttributes
in interface AttributeExtensible
setExtensionAttribute(javax.xml.namespace.QName, java.lang.Object)
,
getExtensionAttribute(javax.xml.namespace.QName)
Copyright © 2016 JBoss by Red Hat. All rights reserved.