PathQueryNode
982983984985986987988989990991992
descendant = (c.getId() == JJTSLASHSLASH || c.getId() == JJTROOTDESCENDANTS); } } derefNode.setIncludeDescendants(descendant); pathNode.addPathStep(derefNode); } else { exceptions.add(new InvalidQueryException("Unsupported location for jcr:deref()")); } } } else if (JCR_SCORE.equals(funName)) {
234235236237238239240241242243244
if (pathConstraints.size() == 0) { LocationStepQueryNode step = factory.createLocationStepQueryNode(pathNode); step.setNameTest(null); step.setIncludeDescendants(true); pathNode.addPathStep(step); } else { try {
283284285286287288289290291292293
{ LocationStepQueryNode step = factory.createLocationStepQueryNode(pathNode); step.setNameTest(steps[i].getNameTest()); step.setIncludeDescendants(steps[i].getIncludeDescendants()); step.setIndex(steps[i].getIndex()); pathNode.addPathStep(step); } } if (constraintNode.getNumOperands() == 1) {
235236237238239240241242243244245
284285286287288289290291292293294
980981982983984985986987988989990
233234235236237238239240241242243
282283284285286287288289290291292