Package net.sf.jasperreports.engine.base
Class JRBaseExpression
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseExpression
- All Implemented Interfaces:
Serializable,Cloneable,JRCloneable,JRExpression
- Direct Known Subclasses:
JRDesignExpression
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsFields inherited from interface net.sf.jasperreports.engine.JRExpression
EVALUATION_DEFAULT, EVALUATION_ESTIMATED, EVALUATION_OLD, ID_INTERPRETED, NOT_USED_ID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedJRBaseExpression(JRExpression expression, JRBaseObjectFactory factory) Creates a copy of an expression.protectedJRBaseExpression(JRExpression expression, JRBaseObjectFactory factory, Integer expressionId) Creates a copy of an expression. -
Method Summary
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.engine.JRExpression
isInterpreted
-
Field Details
-
id
protected int id -
type
-
-
Constructor Details
-
JRBaseExpression
protected JRBaseExpression() -
JRBaseExpression
protected JRBaseExpression(JRExpression expression, JRBaseObjectFactory factory, Integer expressionId) Creates a copy of an expression.- Parameters:
expression- the original expressionfactory- the base object factoryexpressionId- if not null, the created expression will use it as ID instead of the original expressions's ID
-
JRBaseExpression
Creates a copy of an expression.- Parameters:
expression- the original expressionfactory- the base object factory
-
-
Method Details
-
regenerateId
public void regenerateId() -
getId
public int getId()- Specified by:
getIdin interfaceJRExpression
-
getType
- Specified by:
getTypein interfaceJRExpression
-
getChunks
- Specified by:
getChunksin interfaceJRExpression
-
getText
- Specified by:
getTextin interfaceJRExpression
-
escapeTextChunk
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-