Example usage for org.apache.commons.jxpath.ri.model NodePointer createPath

List of usage examples for org.apache.commons.jxpath.ri.model NodePointer createPath

Introduction

In this page you can find the example usage for org.apache.commons.jxpath.ri.model NodePointer createPath.

Prototype

public NodePointer createPath(JXPathContext context, Object value) 

Source Link

Document

Called directly by JXPathContext.

Usage

From source file:org.eclipse.e4.emf.internal.xpath.CollectionPointer.java

@Override
public NodePointer createChild(JXPathContext context, QName name, int index, Object value) {
    NodePointer ptr = (NodePointer) clone();
    ptr.setIndex(index);//from w ww. j a v a  2 s . co  m
    return ptr.createPath(context, value);
}