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 Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Delete the comment node
    Deprecated.
    The Abdera Factory
    <T extends Base>
    T
    Deprecated.
    The parent node
    Deprecated.
    The text of this comment node
    Deprecated.
    The text of this comment node
  • Method Details

    • discard

      void discard()
      Deprecated.
      Delete the comment node
    • getText

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

      Comment setText(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