Top Constructors Methods
org.testng.xml

public Class XmlUtils

extends Object
Class Inheritance
Imports
java.util.Map, .Properties, org.testng.internal.Utils, org.testng.reporters.XMLStringBuffer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
public static void
setProperty(Properties
The properties
p
,
String
The property name
name
,
String
The property value
value
,
String
The default value
def
)

Don't add this property if it's equal to its default value.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

XmlUtilsback to summary
public XmlUtils()

Method Detail

dumpParametersback to summary
public static void dumpParameters(XMLStringBuffer xsb, Map<String, String> parameters)
setPropertyback to summary
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:Properties

The properties

name:String

The property name

value:String

The property value

def:String

The default value