|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Function
Interface for managing XSL-FO Functions
Method Summary | |
---|---|
Property |
eval(Property[] args,
PropertyInfo pi)
Evaluate the function |
Property |
getOptionalArgDefault(int index,
PropertyInfo pi)
|
int |
getOptionalArgsCount()
|
PercentBase |
getPercentBase()
|
int |
getRequiredArgsCount()
|
boolean |
hasVariableArgs()
Determine if function allows variable arguments. |
Method Detail |
---|
int getRequiredArgsCount()
int getOptionalArgsCount()
Property getOptionalArgDefault(int index, PropertyInfo pi) throws PropertyException
index
- of optional argumentpi
- property information instance that applies to property being evaluated
PropertyException
- if index is greater than or equal to optional args countboolean hasVariableArgs()
PercentBase getPercentBase()
Property eval(Property[] args, PropertyInfo pi) throws PropertyException
args
- an array of Properties that should be evaluatedpi
- property information instance that applies to property being evaluated
PropertyException
- for problems when evaluating the function
|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |