Class XmlUtils

java.lang.Object
org.testng.xml.XmlUtils

public class XmlUtils extends Object
  • Constructor Details

    • XmlUtils

      public XmlUtils()
  • Method Details

    • setProperty

      public static void setProperty(Properties p, String name, String value, String def)
      Don't add this property if it's equal to its default value.
      Parameters:
      p - The properties
      name - The property name
      value - The property value
      def - The default value
    • dumpParameters

      public static void dumpParameters(XMLStringBuffer xsb, Map<String,String> parameters)