fop 0.90alpha1

org.apache.fop.fo.expr
Class FopPropValFunction

java.lang.Object
  |
  +--org.apache.fop.fo.expr.FunctionBase
        |
        +--org.apache.fop.fo.expr.FopPropValFunction
All Implemented Interfaces:
Function

public class FopPropValFunction
extends FunctionBase

This appears to be an artificial function, which handles the specified or initial value of the property on this object.


Constructor Summary
FopPropValFunction()
           
 
Method Summary
 Property eval(Property[] args, PropertyInfo pInfo)
          Evaluate the function
 int nbArgs()
           
 
Methods inherited from class org.apache.fop.fo.expr.FunctionBase
getPercentBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FopPropValFunction

public FopPropValFunction()
Method Detail

nbArgs

public int nbArgs()
Returns:
1 (the maximum number of arguments)

eval

public Property eval(Property[] args,
                     PropertyInfo pInfo)
              throws PropertyException
Description copied from interface: Function
Evaluate the function
Parameters:
args - array of arguments, which should either be empty, or the first of which should be an NCName corresponding to a property name
pInfo - PropertyInfo object to be evaluated
Returns:
the Property corresponding to the input
Throws:
PropertyException - for incorrect parameters

fop 0.90alpha1

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.