com.ibm.websphere.sib.wsn
Class AnyElemAnyAttrType
- java.lang.Object
com.ibm.websphere.sib.wsn.AnyElemAnyAttrType
Direct known subclasses:
CreatePullPoint, CreatePullPointResponse, DestroyPullPoint, DestroyPullPointResponse, DestroyRegistration, DestroyRegistrationResponse, GetMessages, GetMessagesResponse
- public abstract class AnyElemAnyAttrType
- extends java.lang.Object
Field Summary
Modifier and Type | Field and Description |
---|---|
|
attributes
The xsd:anyAttribute attributes
|
|
elements
The xsd:any elements
|
Constructor Summary
Constructor and Description |
---|
AnyElemAnyAttrType()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addAttribute(javax.xml.soap.Name name,java.lang.String value)
Add an attribute
|
|
getAttributes()
Get an iterator over the names of all the attributes
which have been set
|
|
getAttributeValue(javax.xml.soap.Name name)
|
|
getElements()
Get the user defined elements which have been set.
|
|
setElements(javax.xml.soap.SOAPElement[] anyElements)
Set the user defined elements.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
elements
- protected javax.xml.soap.SOAPElement[] elements
The xsd:any elements
attributes
- protected java.util.Map attributes
The xsd:anyAttribute attributes
Constructor Detail
AnyElemAnyAttrType
- public AnyElemAnyAttrType()
Method Detail
getElements
- public javax.xml.soap.SOAPElement[] getElements( )
Get the user defined elements which have been set.
Returns:
Returns an array of the user defined elements
or null if no elements have been set.
setElements
- public void setElements(javax.xml.soap.SOAPElement[] anyElements)
Set the user defined elements. Setting this array
overwrites any previously set array.
Parameters:
anyElements
- The user defined elements to set. addAttribute
- public void addAttribute(javax.xml.soap.Name name,
- java.lang.String value)
- throws java.lang.Exception
Add an attribute
Parameters:
name
- The name of the attribute in the form of a Name
value
- The value of the attribute Throws:
java.lang.Exception
getAttributes
- public java.util.Iterator getAttributes( )
Get an iterator over the names of all the attributes
which have been set
Returns:
The iterator. Each iterated value will be a
Name
getAttributeValue
- public java.lang.String getAttributeValue( javax.xml.soap.Name name)
Parameters:
name
- The name of the attribute Returns:
The value of the attribute or null if the attribute has not been set.