| fop 0.94 | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.fop.fo.expr.FunctionBaseorg.apache.fop.fo.expr.NearestSpecPropFunctionpublic class NearestSpecPropFunctionextends FunctionBaseMethod 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 |