/** * Creates the primary path query node. * * @param node xpath node representing the root of the parsed tree. * @return the path query node */ private PathQueryNode createPathQueryNode(SimpleNode node) { root.setLocationNode(factory.createPathQueryNode(root)); node.childrenAccept(this, root.getLocationNode()); return root.getLocationNode(); }
/** * Creates the primary path query node. * * @param node xpath node representing the root of the parsed tree. * @return the path query node */ private PathQueryNode createPathQueryNode(SimpleNode node) { root.setLocationNode(factory.createPathQueryNode(root)); node.childrenAccept(this, root.getLocationNode()); return root.getLocationNode(); }
public Object visit(ASTQuery node, Object data) { root = factory.createQueryRootNode(); root.setLocationNode(factory.createPathQueryNode(root));
public Object visit(ASTQuery node, Object data) { root = factory.createQueryRootNode(); root.setLocationNode(factory.createPathQueryNode(root));