/** * @see org.apache.xpath.XPathVisitable#callVisitors(ExpressionOwner, XPathVisitor) */ public void callArgVisitors(XPathVisitor visitor) { if(null != m_arg0) m_arg0.callVisitors(this, visitor); }
/** * This will traverse the heararchy, calling the visitor for * each member. If the called visitor method returns * false, the subtree should not be called. * * @param owner The owner of the visitor, where that path may be * rewritten if needed. * @param visitor The visitor whose appropriate method will be called. */ public void callVisitors(ExpressionOwner owner, XPathVisitor visitor) { m_mainExp.callVisitors(this, visitor); }
/** * Call the visitors for the function arguments. */ public void callArgVisitors(XPathVisitor visitor) { for (int i = 0; i < m_argVec.size(); i++) { Expression exp = (Expression)m_argVec.elementAt(i); exp.callVisitors(new ArgExtOwner(exp), visitor); } }
/** * @see org.apache.xpath.XPathVisitable#callVisitors(ExpressionOwner, XPathVisitor) */ public void callVisitors(ExpressionOwner owner, XPathVisitor visitor) { if(visitor.visitBinaryOperation(owner, this)) { m_left.callVisitors(new LeftExprOwner(), visitor); m_right.callVisitors(this, visitor); } }
/** * @see org.apache.xpath.XPathVisitable#callVisitors(ExpressionOwner, XPathVisitor) */ public void callVisitors(ExpressionOwner owner, XPathVisitor visitor) { if(visitor.visitUnaryOperation(owner, this)) { m_right.callVisitors(this, visitor); } }
/** * @see XSLTVisitable#callVisitors(XSLTVisitor) */ public void callVisitors(XSLTVisitor visitor) { m_xpath.getExpression().callVisitors(m_xpath, visitor); } }
/** * Call the visitors for the function arguments. */ public void callArgVisitors(XPathVisitor visitor) { for (int i = 0; i < m_argVec.size(); i++) { Expression exp = (Expression)m_argVec.elementAt(i); exp.callVisitors(new ArgExtOwner(exp), visitor); } }
/** * Call the children visitors. * @param visitor The visitor whose appropriate method will be called. */ protected void callChildVisitors(XSLTVisitor visitor, boolean callAttrs) { if(null != m_selectPattern) m_selectPattern.getExpression().callVisitors(m_selectPattern, visitor); super.callChildVisitors(visitor, callAttrs); }
/** * This will traverse the heararchy, calling the visitor for * each member. If the called visitor method returns * false, the subtree should not be called. * * @param visitor The visitor whose appropriate method will be called. */ public void callPredicateVisitors(XPathVisitor visitor) { m_expr.callVisitors(new filterExprOwner(), visitor); super.callPredicateVisitors(visitor); }
/** * @see org.apache.xpath.XPathVisitable#callVisitors(ExpressionOwner, XPathVisitor) */ public void callArgVisitors(XPathVisitor visitor) { super.callArgVisitors(visitor); if(null != m_arg1) m_arg1.callVisitors(new Arg1Owner(), visitor); }
/** * Call the children visitors. * @param visitor The visitor whose appropriate method will be called. */ protected void callChildVisitors(XSLTVisitor visitor, boolean callAttrs) { if(callAttrs) m_selectExpression.getExpression().callVisitors(m_selectExpression, visitor); super.callChildVisitors(visitor, callAttrs); }
/** * Call the children visitors. * @param visitor The visitor whose appropriate method will be called. */ protected void callChildVisitors(XSLTVisitor visitor, boolean callAttrs) { if(callAttrs) m_test.getExpression().callVisitors(m_test, visitor); super.callChildVisitors(visitor, callAttrs); }
/** * Call the children visitors. * @param visitor The visitor whose appropriate method will be called. */ protected void callChildVisitors(XSLTVisitor visitor, boolean callAttrs) { if(callAttrs) m_selectExpression.getExpression().callVisitors(m_selectExpression, visitor); super.callChildVisitors(visitor, callAttrs); }
/** * @see org.apache.xpath.XPathVisitable#callVisitors(ExpressionOwner, XPathVisitor) */ public void callArgVisitors(XPathVisitor visitor) { super.callArgVisitors(visitor); if(null != m_arg2) m_arg2.callVisitors(new Arg2Owner(), visitor); }
/** * This will traverse the heararchy, calling the visitor for * each member. If the called visitor method returns * false, the subtree should not be called. * * @param visitor The visitor whose appropriate method will be called. */ public void callPredicateVisitors(XPathVisitor visitor) { m_expr.callVisitors(new filterExprOwner(), visitor); super.callPredicateVisitors(visitor); }
/** * Call the children visitors. * @param visitor The visitor whose appropriate method will be called. */ protected void callChildVisitors(XSLTVisitor visitor, boolean callAttrs) { if(callAttrs && (null != m_selectPattern)) m_selectPattern.getExpression().callVisitors(m_selectPattern, visitor); super.callChildVisitors(visitor, callAttrs); }
/** * Call the children visitors. * @param visitor The visitor whose appropriate method will be called. */ protected void callChildVisitors(XSLTVisitor visitor, boolean callAttrs) { if(callAttrs) m_test.getExpression().callVisitors(m_test, visitor); super.callChildVisitors(visitor, callAttrs); }
/** * Call the visitor for the function. */ protected void callSubtreeVisitors(XPathVisitor visitor) { m_functionExpr.callVisitors(new FunctionOwner(), visitor); super.callSubtreeVisitors(visitor); }
/** * This will traverse the heararchy, calling the visitor for * each member. If the called visitor method returns * false, the subtree should not be called. * * @param visitor The visitor whose appropriate method will be called. */ public void callPredicateVisitors(XPathVisitor visitor) { m_expr.callVisitors(new filterExprOwner(), visitor); super.callPredicateVisitors(visitor); }
/** * Call the children visitors. * @param visitor The visitor whose appropriate method will be called. */ protected void callChildVisitors(XSLTVisitor visitor, boolean callAttrs) { if(callAttrs && (null != m_selectPattern)) m_selectPattern.getExpression().callVisitors(m_selectPattern, visitor); super.callChildVisitors(visitor, callAttrs); }