Java Code Examples for org.apache.commons.jxpath.ri.JXPathContextReferenceImpl#addNodePointerFactory()
The following examples show how to use
org.apache.commons.jxpath.ri.JXPathContextReferenceImpl#addNodePointerFactory() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LazyDynaBeanTest.java From commons-jxpath with Apache License 2.0 | 5 votes |
public void testStrictLazyDynaBeanPropertyFactory() { JXPathContextReferenceImpl.addNodePointerFactory(new StrictLazyDynaBeanPointerFactory()); try { testLazyProperty(); fail(); } catch (JXPathNotFoundException e) { //okay } }
Example 2
Source File: TestConfigurationNodePointerFactory.java From commons-configuration with Apache License 2.0 | 4 votes |
@BeforeClass public static void setUpBeforeClass() throws Exception { JXPathContextReferenceImpl .addNodePointerFactory(new ConfigurationNodePointerFactory()); }