Package net.sf.jasperreports.engine.util
Class ExpressionParser
- java.lang.Object
-
- net.sf.jasperreports.engine.util.ExpressionParser
-
public class ExpressionParser extends Object
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ExpressionParser.ParseResult
-
Field Summary
Fields Modifier and Type Field Description protected static char
PLACEHOLDER_CLOSE
protected static char
PLACEHOLDER_OPEN
static Pattern
PLACEHOLDER_PATTERN
protected static char
PLACEHOLDER_START
protected static int
PLACEHOLDER_TEXT_INDEX
protected static char
PLACEHOLDER_TYPE_FIELD
protected static int
PLACEHOLDER_TYPE_INDEX
protected static char
PLACEHOLDER_TYPE_PARAMETER
protected static char
PLACEHOLDER_TYPE_RESOURCE_MESSAGE
protected static char
PLACEHOLDER_TYPE_VARIABLE
-
Constructor Summary
Constructors Constructor Description ExpressionParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte
chunkStringToType(String chunkStringType)
boolean
fastPlaceholderDetect(String text)
static ExpressionParser
instance()
void
parseExpression(String text, ExpressionParser.ParseResult result)
-
-
-
Field Detail
-
PLACEHOLDER_PATTERN
public static final Pattern PLACEHOLDER_PATTERN
-
PLACEHOLDER_TYPE_INDEX
protected static final int PLACEHOLDER_TYPE_INDEX
- See Also:
- Constant Field Values
-
PLACEHOLDER_TEXT_INDEX
protected static final int PLACEHOLDER_TEXT_INDEX
- See Also:
- Constant Field Values
-
PLACEHOLDER_START
protected static final char PLACEHOLDER_START
- See Also:
- Constant Field Values
-
PLACEHOLDER_OPEN
protected static final char PLACEHOLDER_OPEN
- See Also:
- Constant Field Values
-
PLACEHOLDER_CLOSE
protected static final char PLACEHOLDER_CLOSE
- See Also:
- Constant Field Values
-
PLACEHOLDER_TYPE_RESOURCE_MESSAGE
protected static final char PLACEHOLDER_TYPE_RESOURCE_MESSAGE
- See Also:
- Constant Field Values
-
PLACEHOLDER_TYPE_PARAMETER
protected static final char PLACEHOLDER_TYPE_PARAMETER
- See Also:
- Constant Field Values
-
PLACEHOLDER_TYPE_FIELD
protected static final char PLACEHOLDER_TYPE_FIELD
- See Also:
- Constant Field Values
-
PLACEHOLDER_TYPE_VARIABLE
protected static final char PLACEHOLDER_TYPE_VARIABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
instance
public static ExpressionParser instance()
-
parseExpression
public void parseExpression(String text, ExpressionParser.ParseResult result)
-
chunkStringToType
protected byte chunkStringToType(String chunkStringType)
-
fastPlaceholderDetect
public boolean fastPlaceholderDetect(String text)
-
-