|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.xml.Attrib
Defines an XML attribute as a structure containing a name and a value
Field Summary | |
private java.lang.String |
name
|
private java.lang.String |
value
|
Constructor Summary | |
Attrib(java.lang.String name,
java.lang.String value)
Constructor |
Method Summary | |
java.lang.String |
getName()
Returns the name of the attribute |
java.lang.String |
getValue()
Returns the value of the attribute |
void |
set(java.lang.String name,
java.lang.String value)
Sets name and value to an attribute |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String name
private java.lang.String value
Constructor Detail |
public Attrib(java.lang.String name, java.lang.String value)
name
- name of the attributevalue
- value of the attributeMethod Detail |
public void set(java.lang.String name, java.lang.String value)
name
- name of the attributevalue
- value of the attributepublic java.lang.String getName()
public java.lang.String getValue()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |