Modifier and Type | Class and Description |
---|---|
static class |
XmlAttribute.XmlAttributeBuilder
Understands creation of
s. |
Modifier and Type | Method and Description |
---|---|
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.
|
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.public int hashCode()
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.