com.ibm.wsdl
Class PartImpl
java.lang.Object
|
+--com.ibm.wsdl.PartImpl
- All Implemented Interfaces:
- Part, java.io.Serializable
- public class PartImpl
- extends java.lang.Object
- implements Part
This class represents a message part and contains the part's
name, elementName, typeName, and any extensibility attributes.
- Author:
- Paul Fremantle, Nirmal Mukhi, Matthew J. Duftler
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected java.lang.String name
elementName
protected QName elementName
typeName
protected QName typeName
docEl
protected org.w3c.dom.Element docEl
extensionAttributes
protected java.util.Map extensionAttributes
serialVersionUID
public static final long serialVersionUID
PartImpl
public PartImpl()
setName
public void setName(java.lang.String name)
- Set the name of this part.
- Specified by:
setName
in interface Part
- Parameters:
name
- the desired name
getName
public java.lang.String getName()
- Get the name of this part.
- Specified by:
getName
in interface Part
- Returns:
- the part name
setElementName
public void setElementName(QName elementName)
- Specified by:
setElementName
in interface Part
getElementName
public QName getElementName()
- Specified by:
getElementName
in interface Part
setTypeName
public void setTypeName(QName typeName)
- Specified by:
setTypeName
in interface Part
getTypeName
public QName getTypeName()
- Specified by:
getTypeName
in interface Part
setExtensionAttribute
public void setExtensionAttribute(QName name,
QName value)
- Set an extension attribute on this part. Pass in a null
value to remove an extension attribute.
- Specified by:
setExtensionAttribute
in interface Part
- Parameters:
name
- the extension attribute namevalue
- the extension attribute value- See Also:
getExtensionAttribute(javax.xml.namespace.QName)
,
getExtensionAttributes()
getExtensionAttribute
public QName getExtensionAttribute(QName name)
- Retrieve an extension attribute from this part. If the
extension attribute is not defined, null is returned.
- Specified by:
getExtensionAttribute
in interface Part
- Parameters:
name
- the extension attribute name- Returns:
- the value of the extension attribute, or null if
it is not defined
- See Also:
setExtensionAttribute(javax.xml.namespace.QName, javax.xml.namespace.QName)
,
getExtensionAttributes()
getExtensionAttributes
public java.util.Map getExtensionAttributes()
- Get the map containing all the extension attributes defined
on this part. The keys are the qnames of the attributes.
- Specified by:
getExtensionAttributes
in interface Part
- Returns:
- a map containing all the extension attributes defined
on this part
- See Also:
setExtensionAttribute(javax.xml.namespace.QName, javax.xml.namespace.QName)
,
getExtensionAttribute(javax.xml.namespace.QName)
setDocumentationElement
public void setDocumentationElement(org.w3c.dom.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.
- Specified by:
setDocumentationElement
in interface Part
- Parameters:
docEl
- the documentation element
getDocumentationElement
public org.w3c.dom.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.
- Specified by:
getDocumentationElement
in interface Part
- Returns:
- the documentation element
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003 IBM. All Rights Reserved.