Top Description Methods
org.testng.xml

public Interface IWeaveXml

Known Direct Implementers
org.testng.xml.DefaultXmlWeaver

Represents the capabilities of a XML serializer (As string)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

- The String representation
asXml
(XmlSuite
- The XmlSuite that needs to be transformed to a String.
xmlSuite
)

Helps represent the contents of XmlSuite as a String.

public String

Returns:

- The String representation
asXml
(XmlTest
- The XmlTest that needs to be transformed to a String.
xmlTest
,
String
- The indentation.
indent
)

Helps represent the contents of XmlTest as a String.

Method Detail

asXmlback to summary
public String asXml(XmlSuite xmlSuite)

Helps represent the contents of XmlSuite as a String.

Parameters
xmlSuite:XmlSuite

- The XmlSuite that needs to be transformed to a String.

Returns:String

- The String representation

asXmlback to summary
public String asXml(XmlTest xmlTest, String indent)

Helps represent the contents of XmlTest as a String.

Parameters
xmlTest:XmlTest

- The XmlTest that needs to be transformed to a String.

indent:String

- The indentation.

Returns:String

- The String representation