fop 0.95

org.apache.fop.fo.expr
Class BodyStartFunction

java.lang.Object
  extended by org.apache.fop.fo.expr.FunctionBase
      extended by org.apache.fop.fo.expr.BodyStartFunction
All Implemented Interfaces:
Function

public class BodyStartFunction
extends FunctionBase

Class corresponding to the body-start Property Value function. See Sec. 5.10.4 of the XSL-FO spec.


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

Constructor Detail

BodyStartFunction

public BodyStartFunction()
Method Detail

nbArgs

public int nbArgs()
Returns:
0 (there are no arguments for body-start)

eval

public Property eval(Property[] args,
                     PropertyInfo pInfo)
              throws PropertyException
Description copied from interface: Function
Evaluate the function

Parameters:
args - array of arguments (none are used, but this is required by the Function interface)
pInfo - PropertyInfo object to be evaluated
Returns:
numeric object containing the calculated body-start value
Throws:
PropertyException - if called from outside of an fo:list-item

fop 0.95

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