/** * {@inheritDoc}. Find a const's id. */ @Override public Pointer getPointerByID(JXPathContext xpc, String id) { Object value = getConst(id, true); if (value == null) { return new NullPointer(null, id); } else { return new BeanPointerFactory().createNodePointer(null, value, null); // return new BeanPointer(null, value, // JXPathIntrospector.getBeanInfo(value.getClass()), null); } }
/** * {@inheritDoc}. Find a const's id. */ @Override public Pointer getPointerByID(JXPathContext xpc, String id) { Object value = getConst(id, true); if (value == null) { return new NullPointer(null, id); } else { return new BeanPointerFactory().createNodePointer(null, value, null); // return new BeanPointer(null, value, // JXPathIntrospector.getBeanInfo(value.getClass()), null); } }