extGraphic.setFormat(format);
}
protected String expressionToString( Expression expression ) {
if (expression instanceof PropertyName) {
PropertyName pName = (PropertyName) expression;
return pName.getPropertyName();
}
if (expression instanceof LiteralExpressionImpl) {
LiteralExpressionImpl pName = (LiteralExpressionImpl) expression;
return pName.getValue().toString();
}
Integer evaluateInt = expression.evaluate(null, Integer.class);
if (evaluateInt != null) {
return evaluateInt.toString();