Class MissingXmlElementAppender


  • public class MissingXmlElementAppender
    extends Object
    This class detects missing nodes of a DOM document based on an XPath expression and appends the missing branch.
    • Constructor Detail

      • MissingXmlElementAppender

        public MissingXmlElementAppender​(Document document,
                                         String xPathString)
        Parameters:
        document - Document that may have missing nodes
        xPathString - XPath that needs to be present in the document