List of usage examples for org.apache.commons.ognl Ognl compileExpression
public static Node compileExpression(OgnlContext context, Object root, String expression) throws Exception
From source file:pl.nask.hsn2.ognl.OgnlPocTest.java
@Test public void testCollectionSelectorCompiled() throws Exception { Node expr = Ognl.compileExpression(context, rootObject, "findByName('url').{^ #this.id == 1}"); System.out.println(expr.getValue(context, rootObject)); }