use of org.apache.commons.jxpath.ClassFunctions in project galley by Commonjava.
the class JXPathUtils method newContext.
public static JXPathContext newContext(final Node node) {
final JXPathContext ctx = JXPathContext.newContext(node);
ctx.setLenient(true);
ctx.setFunctions(new ClassFunctions(ResolveFunctions.class, "ext"));
return ctx;
}
Aggregations