Save This Page
Home » fop-0.95beta-src » org.apache » fop » fo » expr » [javadoc | source]
org.apache.fop.fo.expr
class: PropertyTokenizer [javadoc | source]
java.lang.Object
   org.apache.fop.fo.expr.PropertyTokenizer

Direct Known Subclasses:
    PropertyParser

Class to tokenize XSL FO property expression. This class is heavily based on the epxression tokenizer in James Clark's XT, an XSLT processor.
Field Summary
static final  int TOK_EOF     
static final  int TOK_NCNAME     
static final  int TOK_MULTIPLY     
static final  int TOK_LPAR     
static final  int TOK_RPAR     
static final  int TOK_LITERAL     
static final  int TOK_NUMBER     
static final  int TOK_FUNCTION_LPAR     
static final  int TOK_PLUS     
static final  int TOK_MINUS     
static final  int TOK_MOD     
static final  int TOK_DIV     
static final  int TOK_NUMERIC     
static final  int TOK_COMMA     
static final  int TOK_PERCENT     
static final  int TOK_COLORSPEC     
static final  int TOK_FLOAT     
static final  int TOK_INTEGER     
protected  int currentToken     
protected  String currentTokenValue     
protected  int currentUnitLength     
Constructor:
 PropertyTokenizer(String s) 
    Construct a new PropertyTokenizer object to tokenize the passed String.
    Parameters:
    s - The Property expressio to tokenize.
Method from org.apache.fop.fo.expr.PropertyTokenizer Summary:
next
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.fop.fo.expr.PropertyTokenizer Detail:
  void next() throws PropertyException 
    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.