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
public class JRBaseExpression extends Object implements JRExpression, Serializable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intidprotected ExpressionTypeEnumtypeprotected Class<?>valueClassDeprecated.To be removed.protected StringvalueClassNameDeprecated.To be removed.protected StringvalueClassRealNameDeprecated.To be removed.-
Fields inherited from interface net.sf.jasperreports.engine.JRExpression
EVALUATION_DEFAULT, EVALUATION_ESTIMATED, EVALUATION_OLD, ID_INTERPRETED, NOT_USED_ID
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJRBaseExpression()protectedJRBaseExpression(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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Objectclone()protected StringescapeTextChunk(String text)JRExpressionChunk[]getChunks()intgetId()StringgetText()ExpressionTypeEnumgetType()Class<?>getValueClass()Deprecated.To be removed.StringgetValueClassName()Deprecated.To be removed.voidregenerateId()-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.JRExpression
isInterpreted
-
-
-
-
Field Detail
-
valueClassName
protected String valueClassName
Deprecated.To be removed.
-
valueClassRealName
protected String valueClassRealName
Deprecated.To be removed.
-
id
protected int id
-
valueClass
protected transient Class<?> valueClass
Deprecated.To be removed.
-
type
protected ExpressionTypeEnum type
-
-
Constructor Detail
-
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
protected JRBaseExpression(JRExpression expression, JRBaseObjectFactory factory)
Creates a copy of an expression.- Parameters:
expression- the original expressionfactory- the base object factory
-
-
Method Detail
-
regenerateId
public void regenerateId()
-
getValueClass
public Class<?> getValueClass()
Deprecated.To be removed.Description copied from interface:JRExpressionReturns the expression return value class.- Specified by:
getValueClassin interfaceJRExpression
-
getValueClassName
public String getValueClassName()
Deprecated.To be removed.Description copied from interface:JRExpressionReturns the expression return value class.- Specified by:
getValueClassNamein interfaceJRExpression
-
getId
public int getId()
- Specified by:
getIdin interfaceJRExpression
-
getType
public ExpressionTypeEnum getType()
- Specified by:
getTypein interfaceJRExpression
-
getChunks
public JRExpressionChunk[] getChunks()
- Specified by:
getChunksin interfaceJRExpression
-
getText
public String getText()
- Specified by:
getTextin interfaceJRExpression
-
clone
public Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
-