Class CssDeclarationValueTokenizer.Token
- java.lang.Object
-
- com.itextpdf.styledxmlparser.css.parse.CssDeclarationValueTokenizer.Token
-
- Enclosing class:
- CssDeclarationValueTokenizer
public static class CssDeclarationValueTokenizer.Token extends java.lang.Object
The Token class.
-
-
Field Summary
Fields Modifier and Type Field Description private CssDeclarationValueTokenizer.TokenType
type
The type.private java.lang.String
value
The value.
-
Constructor Summary
Constructors Constructor Description Token(java.lang.String value, CssDeclarationValueTokenizer.TokenType type)
Creates a newCssDeclarationValueTokenizer.Token
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CssDeclarationValueTokenizer.TokenType
getType()
Gets the type.java.lang.String
getValue()
Gets the value.boolean
isString()
Checks if the token is a string.java.lang.String
toString()
-
-
-
Field Detail
-
value
private java.lang.String value
The value.
-
type
private CssDeclarationValueTokenizer.TokenType type
The type.
-
-
Constructor Detail
-
Token
public Token(java.lang.String value, CssDeclarationValueTokenizer.TokenType type)
Creates a newCssDeclarationValueTokenizer.Token
instance.- Parameters:
value
- the valuetype
- the type
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Gets the value.- Returns:
- the value
-
getType
public CssDeclarationValueTokenizer.TokenType getType()
Gets the type.- Returns:
- the type
-
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 classjava.lang.Object
-
-