本文整理了Java中org.apache.xpath.Expression.callVisitors()
方法的一些代码示例,展示了Expression.callVisitors()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Expression.callVisitors()
方法的具体详情如下:
包路径:org.apache.xpath.Expression
类名称:Expression
方法名:callVisitors
暂无
代码示例来源:origin: robovm/robovm
/**
* @see org.apache.xpath.XPathVisitable#callVisitors(ExpressionOwner, XPathVisitor)
*/
public void callArgVisitors(XPathVisitor visitor)
{
if(null != m_arg0)
m_arg0.callVisitors(this, visitor);
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
}
代码示例来源:origin: robovm/robovm
/**
* @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);
}
}
代码示例来源:origin: robovm/robovm
/**
* @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);
}
}
代码示例来源:origin: robovm/robovm
/**
* @see XSLTVisitable#callVisitors(XSLTVisitor)
*/
public void callVisitors(XSLTVisitor visitor)
{
m_xpath.getExpression().callVisitors(m_xpath, visitor);
}
}
代码示例来源:origin: xalan/xalan
/**
* 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);
}
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
代码示例来源:origin: robovm/robovm
/**
* @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);
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
代码示例来源:origin: robovm/robovm
/**
* @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);
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
代码示例来源:origin: robovm/robovm
/**
* Call the visitor for the function.
*/
protected void callSubtreeVisitors(XPathVisitor visitor)
{
m_functionExpr.callVisitors(new FunctionOwner(), visitor);
super.callSubtreeVisitors(visitor);
}
代码示例来源:origin: robovm/robovm
/**
* 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);
}
代码示例来源:origin: xalan/xalan
/**
* 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);
}
内容来源于网络,如有侵权,请联系作者删除!