org.fest.swing.junit.xml
Class XmlDocument
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlDocument
public XmlDocument()
- Creates a new
XmlDocument
.
- Throws:
ExceptionInInitializerError
- if the XML document could not be created.
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-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.