Package org.testng.xml
Class XmlWeaver
java.lang.Object
org.testng.xml.XmlWeaver
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static String
Helps represent the contents ofXmlSuite
as a String.(package private) static String
Helps represent the contents ofXmlTest
as a String.private static IWeaveXml
private static String
private static IWeaveXml
private static IWeaveXml
-
Field Details
-
instance
-
testMode
private static final boolean testMode
-
-
Constructor Details
-
XmlWeaver
private XmlWeaver()
-
-
Method Details
-
getInstance
-
instantiateIfRequired
-
getClassName
-
asXml
Helps represent the contents ofXmlSuite
as a String.- Parameters:
suite
- - TheXmlSuite
that needs to be transformed to a String.- Returns:
- - The String representation
-
asXml
Helps represent the contents ofXmlTest
as a String.- Parameters:
xmlTest
- - TheXmlTest
that needs to be transformed to a String.indent
- - The indentation.- Returns:
- - The String representation
-
attemptDefaultImplementationInstantiation
-