Class XmlAttribute.XmlAttributeBuilder

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

public static class XmlAttribute.XmlAttributeBuilder extends Object
Understands creation of XmlAttributes.
  • Field Details

    • name

      private final String name
  • Constructor Details

    • XmlAttributeBuilder

      XmlAttributeBuilder(String name)
  • Method Details

    • 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.