|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.wsdl.ServiceImpl
This class represents a service, which groups related ports to provide some functionality.
| Field Summary | |
protected org.w3c.dom.Element |
docEl
|
protected java.util.List |
extElements
|
protected java.util.Map |
extensionAttributes
|
protected QName |
name
|
protected java.util.List |
nativeAttributeNames
|
protected java.util.Map |
ports
|
static long |
serialVersionUID
|
| Fields inherited from interface javax.wsdl.extensions.AttributeExtensible |
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE |
| Constructor Summary | |
ServiceImpl()
|
|
| Method Summary | |
void |
addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element. |
void |
addPort(Port port)
Add a port to this service. |
org.w3c.dom.Element |
getDocumentationElement()
Get the documentation element. |
java.util.List |
getExtensibilityElements()
Get all the extensibility elements defined here. |
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.util.List |
getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification. |
Port |
getPort(java.lang.String name)
Get the specified port. |
java.util.Map |
getPorts()
Get all the ports defined here. |
QName |
getQName()
Get the name of this service. |
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 |
setQName(QName name)
Set the name of this service. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected QName name
protected java.util.Map ports
protected org.w3c.dom.Element docEl
protected java.util.List extElements
protected java.util.Map extensionAttributes
protected java.util.List nativeAttributeNames
public static final long serialVersionUID
| Constructor Detail |
public ServiceImpl()
| Method Detail |
public void setQName(QName name)
setQName in interface Servicename - the desired namepublic QName getQName()
getQName in interface Servicepublic void addPort(Port port)
addPort in interface Serviceport - the port to be addedpublic Port getPort(java.lang.String name)
getPort in interface Servicename - the name of the desired port.
public java.util.Map getPorts()
getPorts in interface Servicepublic void setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement in interface ServicedocEl - the documentation elementpublic org.w3c.dom.Element getDocumentationElement()
getDocumentationElement in interface Servicepublic void addExtensibilityElement(ExtensibilityElement extElement)
addExtensibilityElement in interface ServiceextElement - the extensibility element to be addedpublic java.util.List getExtensibilityElements()
getExtensibilityElements in interface Service
public void setExtensionAttribute(QName name,
java.lang.Object value)
setExtensionAttribute in interface AttributeExtensiblename - 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 java.lang.Object getExtensionAttribute(QName name)
getExtensionAttribute in interface AttributeExtensiblename - the extension attribute name
setExtensionAttribute(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 java.util.Map getExtensionAttributes()
getExtensionAttributes in interface AttributeExtensiblesetExtensionAttribute(javax.xml.namespace.QName, java.lang.Object),
getExtensionAttribute(javax.xml.namespace.QName)public java.util.List getNativeAttributeNames()
getNativeAttributeNames in interface AttributeExtensiblepublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||