|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.swing.junit.xml.XmlAttribute
public class XmlAttribute
Understands an attribute of a . This class is intended for internal use only. It only
provides the necessary functionality needed by the FEST-Swing JUnit extension.
XmlNode
| Nested Class Summary | |
|---|---|
static class |
XmlAttribute.XmlAttributeBuilder
Understands creation of s. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Indicates whether the given Object is equal to this attribute. |
int |
hashCode()
Returns the hash code of this attribute, based on its name and value. |
String |
name()
Returns the name of this attribute. |
static XmlAttribute.XmlAttributeBuilder |
name(String name)
Creates a new . |
String |
toString()
Returns a String representation of this attribute. |
String |
value()
Returns the value of this attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static XmlAttribute.XmlAttributeBuilder name(String name)
XmlAttribute.XmlAttributeBuilder.
name - the name of the attribute that the created builder will build.
XmlAttributeBuilder.public String name()
public String value()
public boolean equals(Object obj)
Object is equal to this attribute. To be equal, the given object should be
a XmlAttribute with its name and value equal to the ones in this attribute.
equals in class Objectobj - the Object to compare to.
true if the given Object is equal to this attribute, false
otherwise.public int hashCode()
hashCode in class Objectpublic String toString()
String representation of this attribute.
toString in class ObjectString representation of this attribute.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||