org.fest.swing.junit.xml
Class XmlDocument

java.lang.Object
  extended by org.fest.swing.junit.xml.XmlDocument

public class XmlDocument
extends Object

Understands a DOM-based XML document. This class is intended for internal use only. It is just a thin wrapper around a DOM Document. It only provides the necessary functionality needed by the FEST-Swing JUnit extension.

Author:
Alex Ruiz

Constructor Summary
XmlDocument()
          Creates a new XmlDocument.
 
Method Summary
 XmlNode newRoot(String name)
          Creates and adds a new XML root node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlDocument

public XmlDocument()
Creates a new XmlDocument.

Throws:
ExceptionInInitializerError - if the XML document could not be created.
Method Detail

newRoot

public XmlNode newRoot(String name)
Creates and adds a new XML root node.

Parameters:
name - the name of the XML node to create.
Returns:
the created root node.


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