Class LayoutControllerUtil
java.lang.Object
org.jfree.report.flow.layoutprocessor.LayoutControllerUtil
Creation-Date: 24.11.2006, 15:01:22
- Author:
- Thomas Morgner
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jfree.layouting.util.AttributeMap
createEmptyMap
(String namespace, String tagName) static Object
evaluateExpression
(FlowController flowController, Object declaringParent, Expression expression) static int
findNodeInParent
(Section parentSection, Node n) static LayoutExpressionRuntime
getExpressionRuntime
(FlowController fc, Object node) static StaticExpressionRuntimeData
getStaticExpressionRuntime
(FlowController fc, Object declaringParent) static boolean
isGroupFinished
(FlowController fc, Node node) Checks, whether the current group should continue.static Object
performPrecompute
(int expressionPosition, PrecomputeNodeKey nodeKey, LayoutController layoutController, FlowController flowController) static org.jfree.layouting.util.AttributeMap
processAttributes
(Element node, ReportTarget target, ExpressionRuntime runtime) static FlowController
static LayoutController
skipInvisibleElement
(LayoutController layoutController)
-
Field Details
-
EMPTY_REPORT_DATA
-
-
Method Details
-
findNodeInParent
-
getStaticExpressionRuntime
public static StaticExpressionRuntimeData getStaticExpressionRuntime(FlowController fc, Object declaringParent) -
getExpressionRuntime
-
processFlowOperations
public static FlowController processFlowOperations(FlowController fc, FlowControlOperation[] ops) throws DataSourceException - Throws:
DataSourceException
-
isGroupFinished
Checks, whether the current group should continue. If there is no group, we assume that we should continue. (This emulates the control-break-algorithm's default behaviour if testing an empty set of arguments.)- Parameters:
fc
- the current flow controller holding the datanode
- the current node.- Returns:
- true, if the group is finished and we should stop reiterating it, false if the group is not finished and we can start iterating it again.
- Throws:
DataSourceException
-
processAttributes
public static org.jfree.layouting.util.AttributeMap processAttributes(Element node, ReportTarget target, ExpressionRuntime runtime) throws DataSourceException - Throws:
DataSourceException
-
createEmptyMap
-
performPrecompute
public static Object performPrecompute(int expressionPosition, PrecomputeNodeKey nodeKey, LayoutController layoutController, FlowController flowController) throws ReportProcessingException, ReportDataFactoryException, DataSourceException -
skipInvisibleElement
public static LayoutController skipInvisibleElement(LayoutController layoutController) throws ReportProcessingException, ReportDataFactoryException, DataSourceException -
evaluateExpression
public static Object evaluateExpression(FlowController flowController, Object declaringParent, Expression expression) throws DataSourceException - Throws:
DataSourceException
-