fop 0.94 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.fop.fo.expr.FunctionBase
org.apache.fop.fo.expr.NearestSpecPropFunction
public class NearestSpecPropFunction
extends FunctionBase
Method Summary | |
Property |
|
int |
|
boolean |
Methods inherited from class org.apache.fop.fo.expr.FunctionBase | |
getPercentBase , padArgsWithPropertyName |
public Property eval(Property[] args, PropertyInfo pInfo) throws PropertyException
- Parameters:
args
- array of arguments for the functionpInfo
- PropertyInfo for the function
- Returns:
- Property containing the nearest-specified-value
- Throws:
PropertyException
- for invalid arguments to the function
public int nbArgs()
- Returns:
- 1 (maximum number of arguments for from-nearest-specified-value function)
public boolean padArgsWithPropertyName()
- Specified by:
- padArgsWithPropertyName in interface Function
- Overrides:
- padArgsWithPropertyName in interface FunctionBase
- Returns:
- true (allow padding of arglist with property name)
fop 0.94 |