Interface BaseToken

All Known Subinterfaces:
HtmlNode
All Known Implementing Classes:
BaseHtmlNode, BaseTokenImpl, CData, CommentNode, ContentNode, DoctypeToken, EndTagToken, ProxyTagNode, Serializer.HeadlessTagNode, TagNode, TagToken

public interface BaseToken

Base token interface. Tokens are individual entities recognized by HTML parser.

  • Method Details

    • serialize

      void serialize(Serializer serializer, Writer writer) throws IOException
      Throws:
      IOException
    • getRow

      int getRow()
      Returns:
      row in source html where the token was found
    • setRow

      void setRow(int row)
      Parameters:
      row -
    • getCol

      int getCol()
      Returns:
      col in source html where the token was found
    • setCol

      void setCol(int col)
      Parameters:
      col -