Package org.apache.fop.fo.expr
Class PropertyParser
java.lang.Object
org.apache.fop.fo.expr.PropertyParser
Class to parse XSL-FO property expressions.
This class is heavily based on the epxression parser in James Clark's
XT, an XSLT processor.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Property
parse
(String expr, PropertyInfo propInfo) Public entrypoint to the Property expression parser.
-
Field Details
-
currentToken
protected int currentToken -
currentTokenValue
-
currentUnitLength
protected int currentUnitLength
-
-
Method Details
-
parse
Public entrypoint to the Property expression parser.- Parameters:
expr
- The specified value (attribute on the xml element).propInfo
- A PropertyInfo object representing the context in which the property expression is to be evaluated.- Returns:
- A Property object holding the parsed result.
- Throws:
PropertyException
- If the "expr" cannot be parsed as a Property.
-