String () { final StringBuilder sb = new StringBuilder(); final XPathExpression expr = myTemplate.getMatchExpression(); if (expr != null) sb.append("match='").append(expr.getText()).append("'"); final QName mode = myTemplate.getMode(); if (mode != null) { if (sb.length() > 0) sb.append(", "); sb.append("mode='").append(mode.toString()).append("'"); } return XPathBundle.message("list.item.template", sb); }