/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public boolean checkAbsolute(LocPathIterator path) { m_isAbs = true; path.callVisitors(null, this); return m_isAbs; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public boolean checkAbsolute(LocPathIterator path) { m_isAbs = true; path.callVisitors(null, this); return m_isAbs; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public static boolean check(LocPathIterator path) { HasPositionalPredChecker hppc = new HasPositionalPredChecker(); path.callVisitors(null, hppc); return hppc.m_hasPositionalPred; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public static boolean check(LocPathIterator path) { HasPositionalPredChecker hppc = new HasPositionalPredChecker(); path.callVisitors(null, hppc); return hppc.m_hasPositionalPred; }
/** * @see org.apache.xpath.XPathVisitable#callVisitors(ExpressionOwner, XPathVisitor) */ public void callVisitors(ExpressionOwner owner, XPathVisitor visitor) { if(visitor.visitUnionPath(owner, this)) { if(null != m_exprs) { int n = m_exprs.length; for(int i = 0; i < n; i++) { m_exprs[i].callVisitors(new iterOwner(i), visitor); } } } }
/** * @see org.apache.xpath.XPathVisitable#callVisitors(ExpressionOwner, XPathVisitor) */ public void callVisitors(ExpressionOwner owner, XPathVisitor visitor) { if(visitor.visitUnionPath(owner, this)) { if(null != m_exprs) { int n = m_exprs.length; for(int i = 0; i < n; i++) { m_exprs[i].callVisitors(new iterOwner(i), visitor); } } } }
lpi.callVisitors(null, m_varNameCollector);
lpi.callVisitors(null, m_varNameCollector);
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public boolean checkAbsolute(LocPathIterator path) { m_isAbs = true; path.callVisitors(null, this); return m_isAbs; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public boolean checkAbsolute(LocPathIterator path) { m_isAbs = true; path.callVisitors(null, this); return m_isAbs; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public boolean checkAbsolute(LocPathIterator path) { m_isAbs = true; path.callVisitors(null, this); return m_isAbs; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public boolean checkAbsolute(LocPathIterator path) { m_isAbs = true; path.callVisitors(null, this); return m_isAbs; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public boolean checkAbsolute(LocPathIterator path) { m_isAbs = true; path.callVisitors(null, this); return m_isAbs; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public static boolean check(LocPathIterator path) { HasPositionalPredChecker hppc = new HasPositionalPredChecker(); path.callVisitors(null, hppc); return hppc.m_hasPositionalPred; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public static boolean check(LocPathIterator path) { HasPositionalPredChecker hppc = new HasPositionalPredChecker(); path.callVisitors(null, hppc); return hppc.m_hasPositionalPred; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public static boolean check(LocPathIterator path) { HasPositionalPredChecker hppc = new HasPositionalPredChecker(); path.callVisitors(null, hppc); return hppc.m_hasPositionalPred; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public static boolean check(LocPathIterator path) { HasPositionalPredChecker hppc = new HasPositionalPredChecker(); path.callVisitors(null, hppc); return hppc.m_hasPositionalPred; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public static boolean check(LocPathIterator path) { HasPositionalPredChecker hppc = new HasPositionalPredChecker(); path.callVisitors(null, hppc); return hppc.m_hasPositionalPred; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public static boolean check(LocPathIterator path) { HasPositionalPredChecker hppc = new HasPositionalPredChecker(); path.callVisitors(null, hppc); return hppc.m_hasPositionalPred; }
/** * Process the LocPathIterator to see if it contains variables * or functions that may make it context dependent. * @param path LocPathIterator that is assumed to be absolute, but needs checking. * @return true if the path is confirmed to be absolute, false if it * may contain context dependencies. */ public static boolean check(LocPathIterator path) { HasPositionalPredChecker hppc = new HasPositionalPredChecker(); path.callVisitors(null, hppc); return hppc.m_hasPositionalPred; }