public Expression createExpression( ExpressionFactory factory, TagScript tagScript, String attributeName, String attributeValue) throws JellyException { // #### may need to include some namespace URI information in the XPath instance? if (attributeName.equals("select") || attributeName.equals("sort")) { if ( log.isDebugEnabled() ) { log.debug( "Parsing XPath expression: " + attributeValue ); } Expression xpathExpr = createXPathTextExpression( attributeValue ); return new XPathExpression(attributeValue, xpathExpr, tagScript); } // will use the default expression instead return super.createExpression(factory, tagScript, attributeName, attributeValue); }
public Expression createExpression( ExpressionFactory factory, TagScript tagScript, String attributeName, String attributeValue) throws JellyException { // #### may need to include some namespace URI information in the XPath instance? if (attributeName.equals("xpath")) { if ( log.isDebugEnabled() ) { log.debug( "Parsing XPath expression: " + attributeValue ); } // XPath xpath = new Dom4jXPath(attributeValue); Expression xpathExpr = super.createExpression( factory, tagScript, attributeName, attributeValue ); return new XPathExpression(attributeValue, xpathExpr, tagScript); } // will use the default expression instead return super.createExpression(factory, tagScript, attributeName, attributeValue); } }
String attributeValue = list.getValue(i); Expression expression = taglib.createExpression( getExpressionFactory(), script,
String attributeValue = list.getValue(i); Expression expression = taglib.createExpression( getExpressionFactory(), script,
String attributeValue = list.getValue(i); Expression expression = taglib.createExpression( getExpressionFactory(), script,
String attributeValue = list.getValue(i); Expression expression = taglib.createExpression( getExpressionFactory(), script,