matchResult);
String expression;
if (_valueParseTree instanceof ASTPtSumNode) {
StringBuffer buffer = new StringBuffer();
for (int i = 0; i < _valueParseTree.jjtGetNumChildren(); i++) {
ASTPtRootNode child = (ASTPtRootNode) _valueParseTree
.jjtGetChild(i);
if (!(child.isConstant() && child.getToken() instanceof StringToken)) {
ASTPtLeafNode newNode = _evaluate(child, evaluator, scope);
buffer.append(_parseTreeWriter
.parseTreeToExpression(newNode));
} else {
buffer.append(((StringToken) child.getToken())
.stringValue());
}
}
expression = buffer.toString();
} else if (!(_valueParseTree.isConstant() && _valueParseTree.getToken() instanceof StringToken)) {
ASTPtRootNode newRoot = _evaluate(_valueParseTree, evaluator, scope);
expression = _parseTreeWriter.parseTreeToExpression(newRoot);
} else {
expression = _attributeValue.get();
}
String moml = "<property name=\"" + _attributeName + "\" class=\""