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 StringHelps represent the contents ofXmlSuiteas a String.(package private) static StringHelps represent the contents ofXmlTestas a String.private static IWeaveXmlprivate static Stringprivate static IWeaveXmlprivate 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 ofXmlSuiteas a String.- Parameters:
suite- - TheXmlSuitethat needs to be transformed to a String.- Returns:
- - The String representation
-
asXml
Helps represent the contents ofXmlTestas a String.- Parameters:
xmlTest- - TheXmlTestthat needs to be transformed to a String.indent- - The indentation.- Returns:
- - The String representation
-
attemptDefaultImplementationInstantiation
-