Class CssDeclarationValueTokenizer.Token

java.lang.Object
com.itextpdf.styledxmlparser.css.parse.CssDeclarationValueTokenizer.Token
Enclosing class:
CssDeclarationValueTokenizer

public static class CssDeclarationValueTokenizer.Token extends Object
The Token class.
  • Constructor Details

  • Method Details

    • getValue

      public String getValue()
      Gets the value.
      Returns:
      the value
    • getType

      Gets the type.
      Returns:
      the type
    • getStringQuote

      public char getStringQuote()
      Gets the quotes of the string.
      Returns:
      0 if the token isn't a string or there are no quotes, quote char otherwise
    • hasSpace

      public boolean hasSpace()
      Gets the flag if token contains whitespace.
      Returns:
      true, if containing whitespace
    • isString

      public boolean isString()
      Checks if the token is a string.
      Returns:
      true, if is string
    • toString

      public String toString()
      Overrides:
      toString in class Object