Class XmlWeaver


  • final class XmlWeaver
    extends java.lang.Object
    A Utility class that helps represent a XmlSuite and XmlTest as String.
    • Field Detail

      • instance

        private static IWeaveXml instance
      • testMode

        private static final boolean testMode
    • Constructor Detail

      • XmlWeaver

        private XmlWeaver()
    • 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 of XmlSuite as a String.
        Parameters:
        suite - - The XmlSuite 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 of XmlTest as a String.
        Parameters:
        xmlTest - - The XmlTest that needs to be transformed to a String.
        indent - - The indentation.
        Returns:
        - The String representation
      • attemptDefaultImplementationInstantiation

        private static IWeaveXml attemptDefaultImplementationInstantiation()