Class ImmutableToken

java.lang.Object
org.graylog.plugins.views.search.validation.ImmutableToken

public abstract class ImmutableToken extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract int
    The column number of the first character of this Token.
    abstract int
    The line number of the first character of this Token.
    create(org.apache.lucene.queryparser.classic.Token mutableToken)
     
    abstract int
    The column number of the last character of this Token.
    abstract int
    The line number of the last character of this Token.
    abstract String
    The string image of the token.
    abstract int
     
    boolean
    matches(int tokenType, String tokenValue)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ImmutableToken

      public ImmutableToken()
  • Method Details

    • kind

      public abstract int kind()
    • beginLine

      public abstract int beginLine()
      The line number of the first character of this Token.
    • beginColumn

      public abstract int beginColumn()
      The column number of the first character of this Token.
    • endLine

      public abstract int endLine()
      The line number of the last character of this Token.
    • endColumn

      public abstract int endColumn()
      The column number of the last character of this Token.
    • image

      public abstract String image()
      The string image of the token.
    • create

      public static ImmutableToken create(org.apache.lucene.queryparser.classic.Token mutableToken)
    • matches

      public boolean matches(int tokenType, String tokenValue)