| java.lang.Object com.mockrunner.tag.DynamicAttribute
DynamicAttribute | public class DynamicAttribute (Code) | | This class encapsulates the data for a dynamic tag attribute.
You can add it to the paramater map of any
com.mockrunner.tag.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.
|
Method Summary | |
public String | getUri() Returns the namespace of the attribute. | public Object | getValue() Returns the value of the attribute. | public void | setUri(String uri) Sets the namespace of the attribute. | public void | setValue(Object value) Sets the value of the attribute. |
DynamicAttribute | public DynamicAttribute()(Code) | | |
getUri | public String getUri()(Code) | | Returns the namespace of the attribute.
the namespace of the attribute |
getValue | public Object getValue()(Code) | | Returns the value of the attribute.
the value of the attribute |
setUri | public void setUri(String uri)(Code) | | Sets the namespace of the attribute.
Parameters: uri - the namespace of the attribute |
setValue | public void setValue(Object value)(Code) | | Sets the value of the attribute.
Parameters: value - the value of the attribute |
|
|