Package org.testng.xml
Class XmlWeaver
- java.lang.Object
-
- org.testng.xml.XmlWeaver
-
final class XmlWeaver extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
XmlWeaver()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.String
asXml(XmlSuite suite)
Helps represent the contents ofXmlSuite
as a String.(package private) static java.lang.String
asXml(XmlTest xmlTest, java.lang.String indent)
Helps represent the contents ofXmlTest
as a String.private static IWeaveXml
attemptDefaultImplementationInstantiation()
private static java.lang.String
getClassName()
private static IWeaveXml
getInstance()
private static IWeaveXml
instantiateIfRequired()
-
-
-
Field Detail
-
instance
private static IWeaveXml instance
-
testMode
private static final boolean testMode
-
-
Method Detail
-
getInstance
private static IWeaveXml getInstance()
-
instantiateIfRequired
private static IWeaveXml instantiateIfRequired()
-
getClassName
private static java.lang.String getClassName()
-
asXml
static java.lang.String asXml(XmlSuite suite)
Helps represent the contents ofXmlSuite
as a String.- Parameters:
suite
- - TheXmlSuite
that needs to be transformed to a String.- Returns:
- - The String representation
-
asXml
static java.lang.String asXml(XmlTest xmlTest, java.lang.String indent)
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
private static IWeaveXml attemptDefaultImplementationInstantiation()
-
-