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 privateXmlWeaver()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.StringasXml(XmlSuite suite)Helps represent the contents ofXmlSuiteas a String.(package private) static java.lang.StringasXml(XmlTest xmlTest, java.lang.String indent)Helps represent the contents ofXmlTestas a String.private static IWeaveXmlattemptDefaultImplementationInstantiation()private static java.lang.StringgetClassName()private static IWeaveXmlgetInstance()private static IWeaveXmlinstantiateIfRequired()
-
-
-
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 ofXmlSuiteas a String.- Parameters:
suite- - TheXmlSuitethat 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 ofXmlTestas a String.- Parameters:
xmlTest- - TheXmlTestthat needs to be transformed to a String.indent- - The indentation.- Returns:
- - The String representation
-
attemptDefaultImplementationInstantiation
private static IWeaveXml attemptDefaultImplementationInstantiation()
-
-