public XPathMatcher(XPath xpath, boolean shouldBufferContent, IdentityConstraint idConstraint) {
fLocationPaths = xpath.getLocationPaths();
fShouldBufferContent = shouldBufferContent;
fIDConstraint = idConstraint;
fStepIndexes = new IntStack[fLocationPaths.length];
for(int i=0; i<fStepIndexes.length; i++) fStepIndexes[i] = new IntStack();
fCurrentStep = new int[fLocationPaths.length];
fNoMatchDepth = new int[fLocationPaths.length];
fMatched = new boolean[fLocationPaths.length];
if (DEBUG_METHODS) {
System.out.println(toString()+"#<init>()");