Class CssDeclarationValueTokenizer.Token

  • Enclosing class:
    CssDeclarationValueTokenizer

    public static class CssDeclarationValueTokenizer.Token
    extends java.lang.Object
    The Token class.
    • Field Detail

      • value

        private final java.lang.String value
        The value.
      • stringQuote

        private final char stringQuote
      • hasSpace

        private final boolean hasSpace
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Gets the value.
        Returns:
        the value
      • 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object