net.sf.dynamicreports.design.transformation
Class AbstractExpressionTransform

java.lang.Object
  extended by net.sf.dynamicreports.design.transformation.AbstractExpressionTransform
Direct Known Subclasses:
DatasetExpressionTransform, MainDatasetExpressionTransform

public abstract class AbstractExpressionTransform
extends Object

Author:
Ricardo Mariaca (r.mariaca@dynamicreports.org)

Field Summary
protected  DesignTransformAccessor accessor
           
 
Constructor Summary
AbstractExpressionTransform(DesignTransformAccessor accessor)
           
 
Method Summary
 Collection<DRIDesignComplexExpression> getComplexExpressions()
           
protected abstract  DRIDesignDataset getDataset()
           
 Collection<DRIDesignField> getFields()
           
 Collection<DRIDesignJasperExpression> getJasperExpressions()
           
 Collection<DRIDesignSimpleExpression> getSimpleExpressions()
           
 Collection<DRIDesignSort> getSorts()
           
 Collection<DRIDesignSystemExpression> getSystemExpressions()
           
protected  DRDesignGroup getVariableResetGroup(DRIVariable<?> variable)
           
protected  ResetType getVariableResetType(DRIVariable<?> variable)
           
 Collection<DRIDesignVariable> getVariables()
           
 void transform()
           
 DRIDesignExpression transformExpression(DRIExpression<?> expression)
           
protected  DRIDesignExpression transformExpression(DRIExpression<?> expression, DRIValueFormatter<?,?> valueFormatter, String parameterName)
           
protected  DRIDesignExpression transformExpression(DRIExpression<?> expression, String parameterName)
           
protected abstract  List<? extends DRIField<?>> transformFields()
           
protected  DRIDesignParameterExpression transformParameterExpression(DRIParameterExpression parameterExpression)
           
protected  DRIDesignPropertyExpression transformPropertyExpression(DRIPropertyExpression propertyExpression)
           
protected abstract  List<? extends DRISort> transformSorts()
           
protected abstract  List<? extends DRIVariable<?>> transformVariables()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accessor

protected DesignTransformAccessor accessor
Constructor Detail

AbstractExpressionTransform

public AbstractExpressionTransform(DesignTransformAccessor accessor)
Method Detail

transform

public void transform()
               throws DRException
Throws:
DRException

transformExpression

public DRIDesignExpression transformExpression(DRIExpression<?> expression)
                                        throws DRException
Throws:
DRException

transformExpression

protected DRIDesignExpression transformExpression(DRIExpression<?> expression,
                                                  String parameterName)
                                           throws DRException
Throws:
DRException

transformExpression

protected DRIDesignExpression transformExpression(DRIExpression<?> expression,
                                                  DRIValueFormatter<?,?> valueFormatter,
                                                  String parameterName)
                                           throws DRException
Throws:
DRException

getVariableResetType

protected ResetType getVariableResetType(DRIVariable<?> variable)

getVariableResetGroup

protected DRDesignGroup getVariableResetGroup(DRIVariable<?> variable)
                                       throws DRException
Throws:
DRException

transformPropertyExpression

protected DRIDesignPropertyExpression transformPropertyExpression(DRIPropertyExpression propertyExpression)
                                                           throws DRException
Throws:
DRException

transformParameterExpression

protected DRIDesignParameterExpression transformParameterExpression(DRIParameterExpression parameterExpression)
                                                             throws DRException
Throws:
DRException

getFields

public Collection<DRIDesignField> getFields()

getVariables

public Collection<DRIDesignVariable> getVariables()

getSystemExpressions

public Collection<DRIDesignSystemExpression> getSystemExpressions()

getJasperExpressions

public Collection<DRIDesignJasperExpression> getJasperExpressions()

getSimpleExpressions

public Collection<DRIDesignSimpleExpression> getSimpleExpressions()

getComplexExpressions

public Collection<DRIDesignComplexExpression> getComplexExpressions()

getSorts

public Collection<DRIDesignSort> getSorts()

transformFields

protected abstract List<? extends DRIField<?>> transformFields()

transformVariables

protected abstract List<? extends DRIVariable<?>> transformVariables()

transformSorts

protected abstract List<? extends DRISort> transformSorts()

getDataset

protected abstract DRIDesignDataset getDataset()


Copyright © 2010-2014. All Rights Reserved.