| |
|
| java.lang.Object org.apache.fop.fo.expr.PropertyTokenizer
All known Subclasses: org.apache.fop.fo.expr.PropertyParser,
PropertyTokenizer | class PropertyTokenizer (Code) | | Class to tokenize XSL FO property expression.
This class is heavily based on the epxression tokenizer in James Clark's
XT, an XSLT processor.
|
Constructor Summary | |
| PropertyTokenizer(String s) Construct a new PropertyTokenizer object to tokenize the passed
String. |
Method Summary | |
void | next() Return the next token in the expression string. |
TOK_COLORSPEC | final static int TOK_COLORSPEC(Code) | | |
TOK_COMMA | final static int TOK_COMMA(Code) | | |
TOK_DIV | final static int TOK_DIV(Code) | | |
TOK_EOF | final static int TOK_EOF(Code) | | |
TOK_FLOAT | final static int TOK_FLOAT(Code) | | |
TOK_FUNCTION_LPAR | final static int TOK_FUNCTION_LPAR(Code) | | |
TOK_INTEGER | final static int TOK_INTEGER(Code) | | |
TOK_LITERAL | final static int TOK_LITERAL(Code) | | |
TOK_LPAR | final static int TOK_LPAR(Code) | | |
TOK_MINUS | final static int TOK_MINUS(Code) | | |
TOK_MOD | final static int TOK_MOD(Code) | | |
TOK_MULTIPLY | final static int TOK_MULTIPLY(Code) | | |
TOK_NCNAME | final static int TOK_NCNAME(Code) | | |
TOK_NUMBER | final static int TOK_NUMBER(Code) | | |
TOK_NUMERIC | final static int TOK_NUMERIC(Code) | | |
TOK_PERCENT | final static int TOK_PERCENT(Code) | | |
TOK_PLUS | final static int TOK_PLUS(Code) | | |
TOK_RPAR | final static int TOK_RPAR(Code) | | |
currentToken | protected int currentToken(Code) | | |
currentUnitLength | protected int currentUnitLength(Code) | | |
PropertyTokenizer | PropertyTokenizer(String s)(Code) | | Construct a new PropertyTokenizer object to tokenize the passed
String.
Parameters: s - The Property expressio to tokenize. |
next | void next() throws PropertyException(Code) | | Return the next token in the expression string.
This sets the following package visible variables:
currentToken An enumerated value identifying the recognized token
currentTokenValue A String containing the token contents
currentUnitLength If currentToken = TOK_NUMERIC, the number of
characters in the unit name.
throws: PropertyException - If un unrecognized token is encountered. |
|
|
|