Interface Comment


  • public interface Comment
    A comment. Returned by the Abdera XPath implementation when querying for comment nodes (e.g. xpath.selectNodes("//comment()"); ...). Most applications should never have much of a reason to use this interface. It is provided primarily to avoid application from having to deal directly with the underlying parser implementation
    • Method Detail

      • discard

        void discard()
        Delete the comment node
      • getText

        java.lang.String getText()
        The text of this comment node
      • setText

        Comment setText​(java.lang.String text)
        The text of this comment node
      • getFactory

        Factory getFactory()
        The Abdera Factory
      • getParentElement

        <T extends Base> T getParentElement()
        The parent node