List of usage examples for org.apache.commons.jxpath Container Container
Container
From source file:org.mule.module.xml.expression.JXPathExpressionEvaluator.java
private JXPathContext createContextForXml(final Document document) { Container container = new Container() { @Override/*from w ww.java 2s . com*/ public Object getValue() { return document; } @Override public void setValue(Object value) { throw new UnsupportedOperationException(); } }; return JXPathContext.newContext(container); }