net.sf.jasperreports.engine.base
Class JRBaseExpression
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseExpression
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, JRCloneable, JRExpression
- Direct Known Subclasses:
- JRDesignExpression
public class JRBaseExpression
- extends java.lang.Object
- implements JRExpression, java.io.Serializable
- Version:
- $Id: JRBaseExpression.java 3940 2010-08-20 10:35:15Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
Fields inherited from interface net.sf.jasperreports.engine.JRExpression |
EVALUATION_DEFAULT, EVALUATION_ESTIMATED, EVALUATION_OLD, EVALUATION_TIME_AUTO, EVALUATION_TIME_BAND, EVALUATION_TIME_COLUMN, EVALUATION_TIME_GROUP, EVALUATION_TIME_NOW, EVALUATION_TIME_PAGE, EVALUATION_TIME_REPORT, NOT_USED_ID |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
valueClassName
protected java.lang.String valueClassName
valueClassRealName
protected java.lang.String valueClassRealName
id
protected int id
valueClass
protected transient java.lang.Class valueClass
JRBaseExpression
protected JRBaseExpression()
JRBaseExpression
protected JRBaseExpression(JRExpression expression,
JRBaseObjectFactory factory,
java.lang.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
regenerateId
public void regenerateId()
getValueClass
public java.lang.Class getValueClass()
- Description copied from interface:
JRExpression
- Returns the expression return value class.
- Specified by:
getValueClass
in interface JRExpression
getValueClassName
public java.lang.String getValueClassName()
- Description copied from interface:
JRExpression
- Returns the expression return value class.
- Specified by:
getValueClassName
in interface JRExpression
getId
public int getId()
- Specified by:
getId
in interface JRExpression
getChunks
public JRExpressionChunk[] getChunks()
- Specified by:
getChunks
in interface JRExpression
getText
public java.lang.String getText()
- Specified by:
getText
in interface JRExpression
escapeTextChunk
protected java.lang.String escapeTextChunk(java.lang.String text)
clone
public java.lang.Object clone()
- Specified by:
clone
in interface JRCloneable
- Overrides:
clone
in class java.lang.Object
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com