org.fest.swing.junit.xml
Class XmlAttributes

java.lang.Object
  extended by org.fest.swing.junit.xml.XmlAttributes
All Implemented Interfaces:
Iterable<XmlAttribute>

public class XmlAttributes
extends Object
implements Iterable<XmlAttribute>

Understands a collection of attributes of a XmlNode. This class is intended for internal use only. It only provides the necessary functionality needed by the FEST-Swing JUnit extension.

Author:
Alex Ruiz

Method Summary
static XmlAttributes attributes(XmlAttribute... attributes)
          Creates a new XmlAttributes.
 boolean equals(Object obj)
           
 int hashCode()
           
 Iterator<XmlAttribute> iterator()
          Returns an iterator containing all the XmlAttributes in this collection.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

attributes

public static XmlAttributes attributes(XmlAttribute... attributes)
Creates a new XmlAttributes.

Parameters:
attributes - the actual attributes.
Returns:
the created XmlAttributes.

iterator

public Iterator<XmlAttribute> iterator()
Returns an iterator containing all the XmlAttributes in this collection.

Specified by:
iterator in interface Iterable<XmlAttribute>
Returns:
an iterator containing all the XmlAttributes in this collection.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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