|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsdl.PortTypeImpl
public class PortTypeImpl
This class represents a port type. It contains information about operations associated with this port type.
Field Summary | |
---|---|
protected org.w3c.dom.Element |
docEl
|
protected java.util.Map |
extensionAttributes
|
protected boolean |
isUndefined
|
protected QName |
name
|
protected java.util.List |
nativeAttributeNames
|
protected java.util.List |
operations
|
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 | |
---|---|
PortTypeImpl()
|
Method Summary | |
---|---|
void |
addOperation(Operation operation)
Add an operation to this port type. |
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.util.List |
getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification. |
Operation |
getOperation(java.lang.String name,
java.lang.String inputName,
java.lang.String outputName)
Get the specified operation. |
java.util.List |
getOperations()
Get all the operations defined here. |
QName |
getQName()
Get the name of this port type. |
boolean |
isUndefined()
|
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 port type. |
void |
setUndefined(boolean isUndefined)
|
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.List operations
protected org.w3c.dom.Element docEl
protected java.util.Map extensionAttributes
protected java.util.List nativeAttributeNames
protected boolean isUndefined
public static final long serialVersionUID
Constructor Detail |
---|
public PortTypeImpl()
Method Detail |
---|
public void setQName(QName name)
setQName
in interface PortType
name
- the desired namepublic QName getQName()
getQName
in interface PortType
public void addOperation(Operation operation)
addOperation
in interface PortType
operation
- the operation to be addedpublic Operation getOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName)
getOperation
in interface PortType
name
- the name of the desired operation.inputName
- the name of the input message; if this is null
it will be ignored.outputName
- the name of the output message; if this is null
it will be ignored.
public java.util.List getOperations()
getOperations
in interface PortType
public void setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement
in interface PortType
docEl
- the documentation elementpublic org.w3c.dom.Element getDocumentationElement()
getDocumentationElement
in interface PortType
public void setUndefined(boolean isUndefined)
setUndefined
in interface PortType
public boolean isUndefined()
isUndefined
in interface PortType
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 name
setExtensionAttribute(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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |