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

    • document

      private final Document document
  • Constructor Details

  • Method Details

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