public static class CssDeclarationValueTokenizer.Token extends Object
| Constructor and Description |
|---|
Token(String value,
CssDeclarationValueTokenizer.TokenType type)
Creates a new
CssDeclarationValueTokenizer.Token instance. |
| Modifier and Type | Method and Description |
|---|---|
char |
getStringQuote()
Gets the quotes of the string.
|
CssDeclarationValueTokenizer.TokenType |
getType()
Gets the type.
|
String |
getValue()
Gets the value.
|
boolean |
hasSpace()
Gets the flag if token contains whitespace.
|
boolean |
isString()
Checks if the token is a string.
|
String |
toString() |
public Token(String value, CssDeclarationValueTokenizer.TokenType type)
CssDeclarationValueTokenizer.Token instance.value - the valuetype - the typepublic String getValue()
public CssDeclarationValueTokenizer.TokenType getType()
public char getStringQuote()
0 if the token isn't a string or there are no quotes, quote char otherwisepublic boolean hasSpace()
public boolean isString()
Copyright © 1998–2025 Apryse Group NV. All rights reserved.