|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.io.parser.soap.SOAPElement
public class SOAPElement
Base class for all elements in the SOAP object model.
| Method Summary | ||
|---|---|---|
String |
getAttribute(String name)
Returns the value of an attribute from this SOAP element, or null if the attribute is not present. |
|
Hashtable |
getAttributes()
Returns the attributes associated with this tag. |
|
String |
getName()
Returns the name of the tag. |
|
String |
getNamespace()
Returns the namespace for this tag. |
|
String |
getType()
Returns the type of this tag. |
|
void |
putAttribute(String name,
String value)
Sets a single key-value pair into the attribute Hashtable for this SOAP element. |
|
void |
setAttributes(Hashtable attributes)
Sets the attributes Hashtable associated with this element. |
|
void |
setName(String name)
Updates the name of the tag. |
|
void |
setNamespace(String namespace)
Updates the namespace for this tag. |
|
void |
setType(String type)
Sets the type of the tag. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getName()
public void setName(String name)
name - Name of the tag.public String getNamespace()
public void setNamespace(String namespace)
namespace - The namespace for this tag.public String getType()
public void setType(String type)
type - Type of the tag.public Hashtable getAttributes()
Hashtable containing the attributes associated with this tag.public void setAttributes(Hashtable attributes)
Hashtable associated with this element.
attributes - A Hashtable of attributes.
public void putAttribute(String name,
String value)
Hashtable for this SOAP element.
name - Name of the attribute.value - Value of the attribute.public String getAttribute(String name)
null if the attribute is not present.
name - Name of attribute to return.
null if the attribute is not present.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal