Class JRDesignExpression
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseExpression
net.sf.jasperreports.engine.design.JRDesignExpression
- All Implemented Interfaces:
Serializable
,Cloneable
,JRChangeEventsSupport
,JRCloneable
,JRExpression
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
<JRExpressionChunk> protected static final boolean
static final String
Property that specifies whether a legacy parser method should be used to parse this expression.static final String
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseExpression
id, type
Fields inherited from interface net.sf.jasperreports.engine.JRExpression
EVALUATION_DEFAULT, EVALUATION_ESTIMATED, EVALUATION_OLD, ID_INTERPRETED, NOT_USED_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
addChunk
(JRDesignExpressionChunk chunk) void
addFieldChunk
(String text) void
addParameterChunk
(String text) void
addResourceChunk
(String text) void
addTextChunk
(String text) void
addVariableChunk
(String text) clone()
Returns the property change support object for this instance.protected void
legacyParseText
(String text) protected void
void
setChunks
(List<JRExpressionChunk> chunks) Clears the current list of chunks and adds the passed list of chunks.void
setId
(int id) FIXMENOW remove me?void
void
void
setType
(ExpressionTypeEnum type) Methods inherited from class net.sf.jasperreports.engine.base.JRBaseExpression
escapeTextChunk, getId, getText, getType, regenerateId
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 Details
-
PROPERTY_LEGACY_PARSER
Property that specifies whether a legacy parser method should be used to parse this expression. Default value isfalse
.- See Also:
-
LEGACY_PARSER
protected static final boolean LEGACY_PARSER -
PROPERTY_TEXT
- See Also:
-
chunks
-
-
Constructor Details
-
JRDesignExpression
public JRDesignExpression() -
JRDesignExpression
-
-
Method Details
-
setId
public void setId(int id) FIXMENOW remove me? -
setInterpreted
public void setInterpreted() -
setType
-
getChunks
- Specified by:
getChunks
in interfaceJRExpression
- Overrides:
getChunks
in classJRBaseExpression
-
setChunks
Clears the current list of chunks and adds the passed list of chunks. The reference to the list passed is not kept. -
addChunk
-
addChunk
-
addTextChunk
-
addParameterChunk
-
addFieldChunk
-
addVariableChunk
-
addResourceChunk
-
setText
-
legacyParseText
-
parseText
-
getEventSupport
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-
clone
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classJRBaseExpression
-