|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mockrunner.tag.DynamicAttribute
public class DynamicAttribute
This class encapsulates the data for a dynamic tag attribute.
You can add it to the paramater map of any
NestedTag
instance.
It is not necessary to use an instance of this class to set dynamic
attributes. If the attribute is set directly (like normal attributes),
the URI will be set to null
, i.e. the attribute has
the default namespace.
Constructor Summary | |
---|---|
DynamicAttribute()
|
|
DynamicAttribute(java.lang.String uri,
java.lang.Object value)
|
Method Summary | |
---|---|
java.lang.String |
getUri()
Returns the namespace of the attribute. |
java.lang.Object |
getValue()
Returns the value of the attribute. |
void |
setUri(java.lang.String uri)
Sets the namespace of the attribute. |
void |
setValue(java.lang.Object value)
Sets the value of the attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicAttribute()
public DynamicAttribute(java.lang.String uri, java.lang.Object value)
Method Detail |
---|
public java.lang.String getUri()
public void setUri(java.lang.String uri)
uri
- the namespace of the attributepublic java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- the value of the attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |