org.apache.xpath.Expression.exprSetParent()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(171)

本文整理了Java中org.apache.xpath.Expression.exprSetParent()方法的一些代码示例,展示了Expression.exprSetParent()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Expression.exprSetParent()方法的具体详情如下:
包路径:org.apache.xpath.Expression
类名称:Expression
方法名:exprSetParent

Expression.exprSetParent介绍

[英]This pair of methods are used to inform the node of its parent.
[中]这对方法用于通知节点其父节点。

代码示例

代码示例来源:origin: robovm/robovm

/**
  * @see ExpressionOwner#setExpression(Expression)
  */
 public void setExpression(Expression exp)
 {
   exp.exprSetParent(UnionPattern.this);
   m_patterns[m_index] = (StepPattern)exp;
 }
}

代码示例来源:origin: robovm/robovm

/**
 * @see ExpressionOwner#setExpression(Expression)
 */
public void setExpression(Expression exp)
{
 exp.exprSetParent(FilterExprIteratorSimple.this);
 m_expr = exp;
}

代码示例来源:origin: robovm/robovm

/**
 * Set the expression operand for the operation.
 *
 *
 * @param r The expression operand to which the unary operation will be 
 *          applied.
 */
public void setRight(Expression r)
{
 m_right = r;
 r.exprSetParent(this);
}

代码示例来源:origin: robovm/robovm

/**
  * @see ExpressionOwner#setExpression(Expression)
  */
 public void setExpression(Expression exp)
 {
   exp.exprSetParent(StepPattern.this);
   m_predicates[m_index] = exp;
 }
}

代码示例来源:origin: robovm/robovm

/**
 * Set the inner contained expression of this filter.
 */
public void setInnerExpression(Expression expr)
{
 expr.exprSetParent(this);
 m_expr = expr;
}

代码示例来源:origin: robovm/robovm

/**
  * @see ExpressionOwner#setExpression(Expression)
  */
 public void setExpression(Expression exp)
 {
   exp.exprSetParent(PredicatedNodeTest.this);
   m_predicates[m_index] = exp;
 }
}

代码示例来源:origin: robovm/robovm

/**
  * @see ExpressionOwner#setExpression(Expression)
  */
 public void setExpression(Expression exp)
 {
   exp.exprSetParent(Function2Args.this);
   m_arg1 = exp;
 }
}

代码示例来源:origin: robovm/robovm

/**
  * @see ExpressionOwner#setExpression(Expression)
  */
 public void setExpression(Expression exp)
 {
   exp.exprSetParent(FuncExtFunction.this);
   m_exp = exp;
 }
}

代码示例来源:origin: robovm/robovm

/**
  * @see ExpressionOwner#setExpression(Expression)
  */
 public void setExpression(Expression exp)
 {
   exp.exprSetParent(FunctionMultiArgs.this);
   m_args[m_argIndex] = exp;
 }
}

代码示例来源:origin: robovm/robovm

/**
 * @see ExpressionOwner#setExpression(Expression)
 */
public void setExpression(Expression exp)
{
  exp.exprSetParent(this);
  m_right = exp;
}

代码示例来源:origin: robovm/robovm

/**
 * @see ExpressionOwner#setExpression(Expression)
 */
public void setExpression(Expression exp)
{
 exp.exprSetParent(this);
  m_relativePathPattern = (StepPattern)exp;
}

代码示例来源:origin: robovm/robovm

/**
 * @see ExpressionOwner#setExpression(Expression)
 */
public void setExpression(Expression exp)
{
 exp.exprSetParent(FilterExprIterator.this);
 m_expr = exp;
}

代码示例来源:origin: robovm/robovm

/**
 * @see ExpressionOwner#setExpression(Expression)
 */
public void setExpression(Expression exp)
{
  exp.exprSetParent(this);
  m_selectExpression = exp;
}

代码示例来源:origin: robovm/robovm

/**
 * @see ExpressionOwner#setExpression(Expression)
 */
public void setExpression(Expression exp)
{
  exp.exprSetParent(this);
  m_firstWalker = (AxesWalker)exp;
}

代码示例来源:origin: robovm/robovm

/**
  * @see ExpressionOwner#setExpression(Expression)
  */
 public void setExpression(Expression exp)
 {
   exp.exprSetParent(Operation.this);
   m_left = exp;
 }
}

代码示例来源:origin: robovm/robovm

/**
 * @see ExpressionOwner#setExpression(Expression)
 */
public void setExpression(Expression exp)
{
  exp.exprSetParent(this);
  m_nextWalker = (AxesWalker)exp;
}

代码示例来源:origin: robovm/robovm

/**
  * @see ExpressionOwner#setExpression(Expression)
  */
 public void setExpression(Expression exp)
 {
   exp.exprSetParent(Function3Args.this);
   m_arg2 = exp;
 }
}

代码示例来源:origin: robovm/robovm

/**
 * Set the inner contained expression of this filter.
 */
public void setInnerExpression(Expression expr)
{
 expr.exprSetParent(this);
 m_expr = expr;
}

代码示例来源:origin: robovm/robovm

/**
 * @see ExpressionOwner#setExpression(Expression)
 */
public void setExpression(Expression exp)
{
  exp.exprSetParent(this);
  m_arg0 = exp;
}

代码示例来源:origin: robovm/robovm

/**
 * Set the raw expression object for this object.
 *
 *
 * @param exp the raw Expression object, which should not normally be null.
 */
public void setExpression(Expression exp)
{
  if(null != m_mainExp)
   exp.exprSetParent(m_mainExp.exprGetParent()); // a bit bogus
 m_mainExp = exp;
}

相关文章