Interface Comment


  • @Deprecated(since="2021-07-29")
    public interface Comment
    Deprecated.
    This API is deprecated as Apache Abdera is a retired project since 2017.
    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()
        Deprecated.
        Delete the comment node
      • getText

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

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

        Factory getFactory()
        Deprecated.
        The Abdera Factory
      • getParentElement

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