|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttuwien.auto.calimero.xml.Attribute
public class Attribute
XML element attribute.
Objects of this type are immutable.
Constructor Summary | |
---|---|
Attribute(java.lang.String name,
java.lang.String value)
Creates an attribute with its name and value. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the attribute name. |
java.lang.String |
getValue()
Returns the value of this attribute. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Attribute(java.lang.String name, java.lang.String value)
name
- name of the attributevalue
- value of the attributeMethod Detail |
---|
public final java.lang.String getName()
public final java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |