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

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

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

Expression.canTraverseOutsideSubtree介绍

[英]Tell if this expression or it's subexpressions can traverse outside the current subtree.
[中]说明此表达式或其子表达式是否可以在当前子树之外遍历。

代码示例

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

/**
 * Tell if this expression or it's subexpressions can traverse outside
 * the current subtree.
 *
 * @return true if traversal outside the context node's subtree can occur.
 */
public boolean canTraverseOutsideSubtree()
{
 if (null != m_right && m_right.canTraverseOutsideSubtree())
  return true;
 return false;
}

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

/**
 * Tell if this expression or it's subexpressions can traverse outside
 * the current subtree.
 *
 * @return true if traversal outside the context node's subtree can occur.
 */
public boolean canTraverseOutsideSubtree()
{
 if (null != m_right && m_right.canTraverseOutsideSubtree())
  return true;
 return false;
}

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

/**
 * Tell if this expression or it's subexpressions can traverse outside
 * the current subtree.
 *
 * @return true if traversal outside the context node's subtree can occur.
 */
public boolean canTraverseOutsideSubtree()
{
 if (null != m_left && m_left.canTraverseOutsideSubtree())
  return true;
 if (null != m_right && m_right.canTraverseOutsideSubtree())
  return true;
 return false;
}

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

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 return m_arg0.canTraverseOutsideSubtree();
 }

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

/**
 * Tell if this expression or it's subexpressions can traverse outside
 * the current subtree.
 *
 * @return true if traversal outside the context node's subtree can occur.
 */
public boolean canTraverseOutsideSubtree()
{
 if (null != m_left && m_left.canTraverseOutsideSubtree())
  return true;
 if (null != m_right && m_right.canTraverseOutsideSubtree())
  return true;
 return false;
}

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

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 return m_arg0.canTraverseOutsideSubtree();
 }

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

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 return m_xpath.getExpression().canTraverseOutsideSubtree();
 }

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

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 return super.canTraverseOutsideSubtree() 
 ? true : m_arg1.canTraverseOutsideSubtree();
 }

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

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 return super.canTraverseOutsideSubtree() 
 ? true : m_arg2.canTraverseOutsideSubtree();
 }

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

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 return super.canTraverseOutsideSubtree() 
 ? true : m_arg2.canTraverseOutsideSubtree();
 }

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

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 return m_xpath.getExpression().canTraverseOutsideSubtree();
 }

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

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 return super.canTraverseOutsideSubtree() 
 ? true : m_arg1.canTraverseOutsideSubtree();
 }

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

/**
 * Tell if this expression or it's subexpressions can traverse outside
 * the current subtree.
 *
 * @return true if traversal outside the context node's subtree can occur.
 */
public boolean canTraverseOutsideSubtree()
{
 if (super.canTraverseOutsideSubtree())
  return true;
 else
 {
  int n = m_args.length;
  for (int i = 0; i < n; i++)
  {
   if (m_args[i].canTraverseOutsideSubtree())
    return true;
  }
  return false;
 }
}

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

/**
 * Tell if this expression or it's subexpressions can traverse outside
 * the current subtree.
 *
 * @return true if traversal outside the context node's subtree can occur.
 */
public boolean canTraverseOutsideSubtree()
{
 if (super.canTraverseOutsideSubtree())
  return true;
 else
 {
  int n = m_args.length;
  for (int i = 0; i < n; i++)
  {
   if (m_args[i].canTraverseOutsideSubtree())
    return true;
  }
  return false;
 }
}

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

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 int n = getPredicateCount();
 for (int i = 0; i < n; i++) 
 {
  if(getPredicate(i).canTraverseOutsideSubtree())
   return true;
 }
 return false;
 }

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

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 int n = getPredicateCount();
 for (int i = 0; i < n; i++) 
 {
  if(getPredicate(i).canTraverseOutsideSubtree())
   return true;
 }
 return false;
 }

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

/**
 * Tell if this expression or it's subexpressions can traverse outside
 * the current subtree.
 *
 * NOTE: Ancestors tests with predicates are problematic, and will require
 * special treatment.
 *
 * @return true if traversal outside the context node's subtree can occur.
 */
public boolean canTraverseOutsideSubtree()
{
 int n = getPredicateCount();
 for (int i = 0; i < n; i++)
 {
  if (getPredicate(i).canTraverseOutsideSubtree())
   return true;
 }
 return false;
}

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

/**
 * Tell if this expression or it's subexpressions can traverse outside
 * the current subtree.
 *
 * NOTE: Ancestors tests with predicates are problematic, and will require
 * special treatment.
 *
 * @return true if traversal outside the context node's subtree can occur.
 */
public boolean canTraverseOutsideSubtree()
{
 int n = getPredicateCount();
 for (int i = 0; i < n; i++)
 {
  if (getPredicate(i).canTraverseOutsideSubtree())
   return true;
 }
 return false;
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 return m_xpath.getExpression().canTraverseOutsideSubtree();
 }

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Tell if this expression or it's subexpressions can traverse outside 
 * the current subtree.
 * 
 * @return true if traversal outside the context node's subtree can occur.
 */
 public boolean canTraverseOutsideSubtree()
 {
 return m_xpath.getExpression().canTraverseOutsideSubtree();
 }

相关文章