org.apache.fop.fo.expr
Class PropertyParser
java.lang.Object
org.apache.fop.fo.expr.PropertyTokenizer
org.apache.fop.fo.expr.PropertyParser
public final class PropertyParser
extends org.apache.fop.fo.expr.PropertyTokenizer
Class to parse XSL-FO property expressions.
This class is heavily based on the epxression parser in James Clark's
XT, an XSLT processor.
parse
public static Property parse(String expr,
PropertyInfo propInfo)
throws PropertyException
Public entrypoint to the Property expression parser.
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.
- A Property object holding the parsed result.
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.