Package org.fest.swing.junit.xml
Class XmlDocument
java.lang.Object
org.fest.swing.junit.xml.XmlDocument
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.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
document
-
-
Constructor Details
-
XmlDocument
public XmlDocument()Creates a newXmlDocument
.- Throws:
ExceptionInInitializerError
- if the XML document could not be created.
-
-
Method Details
-
newRoot
Creates and adds a new XML root node.- Parameters:
name
- the name of the XML node to create.- Returns:
- the created root node.
-