|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines methods that are required for an object to support the nested "attribute" tag in the repository file.
Method Summary | |
void |
addAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Store the specified attribute and it's value. |
java.lang.String |
getAttribute(java.lang.String attributeName)
Get the value of an attribute |
java.lang.String |
getAttribute(java.lang.String attributeName,
java.lang.String defaultValue)
Get the value of an attribute |
Method Detail |
public void addAttribute(java.lang.String attributeName, java.lang.String attributeValue)
attributeName
- the name of the attribute to retrieveattributeValue
- the attribute's valuepublic java.lang.String getAttribute(java.lang.String attributeName, java.lang.String defaultValue)
attributeName
- the attribute to retrievedefaultValue
- the value to return if the attribute is not present
public java.lang.String getAttribute(java.lang.String attributeName)
attributeName
- the attribute to retrieve
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |