| java.lang.Object org.makumba.list.engine.valuecomputer.ValueComputer
All known Subclasses: org.makumba.list.engine.valuecomputer.QueryValueComputer,
ValueComputer | public class ValueComputer (Code) | | Every ValueTag will build a ValueComputer at page analysis, which it then retrieves and uses at page running
author: Cristian Bogdan version: $Id |
projectionIndex | int projectionIndex(Code) | | The queryProjection index in the currentListData
|
ValueComputer | ValueComputer()(Code) | | |
ValueComputer | ValueComputer(MultipleKey listKey, String expr, PageCache pageCache)(Code) | | A special ValueComputer made by mak:lists who want to select extra expressions
Parameters: listKey - the key of the list Parameters: parentListKey - the key of the parent list Parameters: expr - the extra expression Parameters: pageCache - the page cache |
ValueComputer | ValueComputer(AnalysableTag analyzed, MultipleKey parentListKey, String expr, PageCache pageCache)(Code) | | A nonQueryMak:value value computer
Parameters: analyzed - the analyzed tag Parameters: expr - the expression of the tag Parameters: pageCache - the page cache |
doEndAnalyze | public void doEndAnalyze(PageCache pageCache)(Code) | | Computes the queryProjection index in the currentListData, and the queryProjection type.
Parameters: pageCache - the page cache |
getQueryKey | MultipleKey getQueryKey()(Code) | | The key of the query in which this value is a projection.
The key of the parent of the value |
getValueComputerAtAnalysis | public static ValueComputer getValueComputerAtAnalysis(AnalysableTag analyzed, MultipleKey parentListKey, String expr, PageCache pageCache)(Code) | | Determines if 'analyzed' is a queryMak:value or a nonQueryMak:value
Parameters: analyzed - the analyzed tag Parameters: parentListKey - the key of the parent list Parameters: expr - the expression passed in the tag Parameters: pageCache - the page cache of the page |
print | public void print(ValueTag running, PageCache pageCache) throws JspException, LogicException(Code) | | Formats the value of the queryProjection from the currentListData of the enclosing query. Sets the var and the
printVar values.
Parameters: running - the tag that is currently running Parameters: pageCache - the page cache of the current page throws: JspException - throws: LogicException - |
|
|