org.fest.swing.junit.xml
Class XmlAttribute.XmlAttributeBuilder

java.lang.Object
  extended by org.fest.swing.junit.xml.XmlAttribute.XmlAttributeBuilder
Enclosing class:
XmlAttribute

public static class XmlAttribute.XmlAttributeBuilder
extends Object

Understands creation of XmlAttributes.

Author:
Alex Ruiz

Method Summary
 XmlAttribute value(double value)
          Creates a new XmlAttribute using the attribute name passed when this builder was created and the given value.
 XmlAttribute value(long value)
          Creates a new XmlAttribute using the attribute name passed when this builder was created and the given value.
 XmlAttribute value(String value)
          Creates a new XmlAttribute using the attribute name passed when this builder was created and the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

value

public XmlAttribute value(String value)
Creates a new XmlAttribute using the attribute name passed when this builder was created and the given value.

Parameters:
value - the value of the attribute to create.
Returns:
the created XmlAttribute.

value

public XmlAttribute value(long value)
Creates a new XmlAttribute using the attribute name passed when this builder was created and the given value.

Parameters:
value - the value of the attribute to create.
Returns:
the created XmlAttribute.

value

public XmlAttribute value(double value)
Creates a new XmlAttribute using the attribute name passed when this builder was created and the given value.

Parameters:
value - the value of the attribute to create.
Returns:
the created XmlAttribute.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.