JavaScript is disabled on your browser.
All Implemented Interfaces:
IWeaveXml
Direct Known Subclasses:
CommentDisabledXmlWeaver
This class provides String representation of both
XmlSuite and
XmlTest but adds
an XML comment as the test name and suite name at the end of the corresponding tags.
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
Helps represent the contents of
XmlSuite as a String.
Helps represent the contents of
XmlTest as a String.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
DefaultXmlWeaver
DefaultXmlWeaver ()
DefaultXmlWeaver
DefaultXmlWeaver (String defaultComment)
Method Details
asXml
Helps represent the contents of
XmlSuite as a String.
Specified by:
asXml in interface IWeaveXml
Parameters:
xmlSuite - - The XmlSuite that needs to be transformed to a String.
Returns:
- The String representation
asXml
Helps represent the contents of
XmlTest as a String.
Specified by:
asXml in interface IWeaveXml
Parameters:
xmlTest - - The XmlTest that needs to be transformed to a String.
indent - - The indentation.
Returns:
- The String representation