Package org.apache.fop.fo.expr
Class MaxFunction
java.lang.Object
org.apache.fop.fo.expr.FunctionBase
org.apache.fop.fo.expr.MaxFunction
- All Implemented Interfaces:
Function
Class for managing the "max" Number Function. See Sec. 5.10.1 in the XSL-FO
standard.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneval
(Property[] args, PropertyInfo pInfo) Evaluate the functionint
Methods inherited from class org.apache.fop.fo.expr.FunctionBase
getOptionalArgDefault, getOptionalArgsCount, getPercentBase, getPropertyName, hasVariableArgs
-
Constructor Details
-
MaxFunction
public MaxFunction()
-
-
Method Details
-
getRequiredArgsCount
public int getRequiredArgsCount()- Returns:
- the number of required (non-optional) arguments that must be specified in the argument list
-
eval
Evaluate the function- Parameters:
args
- an array of Properties that should be evaluatedpInfo
- property information instance that applies to property being evaluated- Returns:
- the Property satisfying the function
- Throws:
PropertyException
- for problems when evaluating the function
-