java.lang.Object
com.foursoft.harness.navext.runtime.io.write.xmlmeta.comments.Comments

public class Comments extends Object
Comments allows adding XML-comments to the output file. The comments are linked to JAXB elements and added directly before the xml-element. e.g. if a Root-class exists which is serialized to <Root></Root> the following code: Root root = new Root(); Comments comments = new Comments(); comments.put(root, "TestComment"); XMLWriter::write(root, comments); would result in: <!-- TestComment --> <Root></Root>
  • Constructor Details

    • Comments

      public Comments()
  • Method Details