org.apache.fop.fo.expr

Class LabelEndFunction

Implemented Interfaces:
Function

public class LabelEndFunction
extends FunctionBase

Class modelling the label-end Property Value function. See Sec. 5.10.4 of the XSL-FO spec.

Method Summary

Property
eval(Property[] args, PropertyInfo pInfo)
int
nbArgs()

Methods inherited from class org.apache.fop.fo.expr.FunctionBase

getPercentBase, padArgsWithPropertyName

Method Details

eval

public Property eval(Property[] args,
                     PropertyInfo pInfo)
            throws PropertyException
Specified by:
eval in interface Function
Parameters:
args - array of arguments for the function (none are needed, but required for the Function interface)
pInfo - PropertyInfo object for the function
Returns:
the calculated label-end value for the list
Throws:
PropertyException - if called from outside of an fo:list-item

nbArgs

public int nbArgs()
Specified by:
nbArgs in interface Function
Returns:
0 (the number of arguments required for the label-end function)

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