org.apache.fop.fo.expr
public class: FopPropValFunction [javadoc |
source]
java.lang.Object
org.apache.fop.fo.expr.FunctionBase
org.apache.fop.fo.expr.FopPropValFunction
All Implemented Interfaces:
Function
Return the specified or initial value of the property on this object.
| Method from org.apache.fop.fo.expr.FopPropValFunction Summary: |
|---|
|
eval, nbArgs |
| Method from org.apache.fop.fo.expr.FopPropValFunction Detail: |
public Property eval(Property[] args,
PropertyInfo pInfo) throws PropertyException {
String propName = args[0].getString();
if (propName == null) {
throw new PropertyException("Incorrect parameter to _int-property-value function");
}
// System.err.println("Get property-value for " + propName);
return pInfo.getPropertyList().get(propName);
}
|
public int nbArgs() {
return 1;
}
|