org.apache.xpath.axes.WalkingIterator.getXPathContext()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(7.3k)|赞(0)|评价(0)|浏览(94)

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

WalkingIterator.getXPathContext介绍

暂无

代码示例

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

/**
 * Get the DTM for this walker.
 * 
 * @return Non-null reference to a DTM.
 */
public DTM getDTM(int node)
{
 //
 return wi().getXPathContext().getDTM(node);
}

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

/**
 * Get the DTM for this walker.
 * 
 * @return Non-null reference to a DTM.
 */
public DTM getDTM(int node)
{
 //
 return wi().getXPathContext().getDTM(node);
}

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

/**
 * Set the root node of the TreeWalker.
 * (Not part of the DOM2 TreeWalker interface).
 *
 * @param root The context node of this step.
 */
public void setRoot(int root)
{
 // %OPT% Get this directly from the lpi.
 XPathContext xctxt = wi().getXPathContext();
 m_dtm = xctxt.getDTM(root);
 m_traverser = m_dtm.getAxisTraverser(m_axis);
 m_isFresh = true;
 m_foundLast = false;
 m_root = root;
 m_currentNode = root;
 if (DTM.NULL == root)
 {
  throw new RuntimeException(
   XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!");
 }
 resetProximityPositions();
}

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

/**
 * Set the root node of the TreeWalker.
 * (Not part of the DOM2 TreeWalker interface).
 *
 * @param root The context node of this step.
 */
public void setRoot(int root)
{
 // %OPT% Get this directly from the lpi.
 XPathContext xctxt = wi().getXPathContext();
 m_dtm = xctxt.getDTM(root);
 m_traverser = m_dtm.getAxisTraverser(m_axis);
 m_isFresh = true;
 m_foundLast = false;
 m_root = root;
 m_currentNode = root;
 if (DTM.NULL == root)
 {
  throw new RuntimeException(
   XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!");
 }
 resetProximityPositions();
}

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

/**
 * Get the DTM for this walker.
 * 
 * @return Non-null reference to a DTM.
 */
public DTM getDTM(int node)
{
 //
 return wi().getXPathContext().getDTM(node);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Get the DTM for this walker.
 * 
 * @return Non-null reference to a DTM.
 */
public DTM getDTM(int node)
{
 //
 return wi().getXPathContext().getDTM(node);
}

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

/**
 * Get the DTM for this walker.
 * 
 * @return Non-null reference to a DTM.
 */
public DTM getDTM(int node)
{
 //
 return wi().getXPathContext().getDTM(node);
}

代码示例来源:origin: ibinti/bugvm

/**
 * Get the DTM for this walker.
 * 
 * @return Non-null reference to a DTM.
 */
public DTM getDTM(int node)
{
 //
 return wi().getXPathContext().getDTM(node);
}

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

/**
 * Get the DTM for this walker.
 * 
 * @return Non-null reference to a DTM.
 */
public DTM getDTM(int node)
{
 //
 return wi().getXPathContext().getDTM(node);
}

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

/**
 * Get the DTM for this walker.
 * 
 * @return Non-null reference to a DTM.
 */
public DTM getDTM(int node)
{
 //
 return wi().getXPathContext().getDTM(node);
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Get the DTM for this walker.
 * 
 * @return Non-null reference to a DTM.
 */
public DTM getDTM(int node)
{
 //
 return wi().getXPathContext().getDTM(node);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Set the root node of the TreeWalker.
 * (Not part of the DOM2 TreeWalker interface).
 *
 * @param root The context node of this step.
 */
public void setRoot(int root)
{
 // %OPT% Get this directly from the lpi.
 XPathContext xctxt = wi().getXPathContext();
 m_dtm = xctxt.getDTM(root);
 m_traverser = m_dtm.getAxisTraverser(m_axis);
 m_isFresh = true;
 m_foundLast = false;
 m_root = root;
 m_currentNode = root;
 if (DTM.NULL == root)
 {
  throw new RuntimeException(
   XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!");
 }
 resetProximityPositions();
}

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

/**
 * Set the root node of the TreeWalker.
 * (Not part of the DOM2 TreeWalker interface).
 *
 * @param root The context node of this step.
 */
public void setRoot(int root)
{
 // %OPT% Get this directly from the lpi.
 XPathContext xctxt = wi().getXPathContext();
 m_dtm = xctxt.getDTM(root);
 m_traverser = m_dtm.getAxisTraverser(m_axis);
 m_isFresh = true;
 m_foundLast = false;
 m_root = root;
 m_currentNode = root;
 if (DTM.NULL == root)
 {
  throw new RuntimeException(
   XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!");
 }
 resetProximityPositions();
}

代码示例来源:origin: ibinti/bugvm

/**
 * Set the root node of the TreeWalker.
 * (Not part of the DOM2 TreeWalker interface).
 *
 * @param root The context node of this step.
 */
public void setRoot(int root)
{
 // %OPT% Get this directly from the lpi.
 XPathContext xctxt = wi().getXPathContext();
 m_dtm = xctxt.getDTM(root);
 m_traverser = m_dtm.getAxisTraverser(m_axis);
 m_isFresh = true;
 m_foundLast = false;
 m_root = root;
 m_currentNode = root;
 if (DTM.NULL == root)
 {
  throw new RuntimeException(
   XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!");
 }
 resetProximityPositions();
}

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

/**
 * Set the root node of the TreeWalker.
 * (Not part of the DOM2 TreeWalker interface).
 *
 * @param root The context node of this step.
 */
public void setRoot(int root)
{
 // %OPT% Get this directly from the lpi.
 XPathContext xctxt = wi().getXPathContext();
 m_dtm = xctxt.getDTM(root);
 m_traverser = m_dtm.getAxisTraverser(m_axis);
 m_isFresh = true;
 m_foundLast = false;
 m_root = root;
 m_currentNode = root;
 if (DTM.NULL == root)
 {
  throw new RuntimeException(
   XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!");
 }
 resetProximityPositions();
}

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

/**
 * Set the root node of the TreeWalker.
 * (Not part of the DOM2 TreeWalker interface).
 *
 * @param root The context node of this step.
 */
public void setRoot(int root)
{
 // %OPT% Get this directly from the lpi.
 XPathContext xctxt = wi().getXPathContext();
 m_dtm = xctxt.getDTM(root);
 m_traverser = m_dtm.getAxisTraverser(m_axis);
 m_isFresh = true;
 m_foundLast = false;
 m_root = root;
 m_currentNode = root;
 if (DTM.NULL == root)
 {
  throw new RuntimeException(
   XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!");
 }
 resetProximityPositions();
}

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

/**
 * Set the root node of the TreeWalker.
 * (Not part of the DOM2 TreeWalker interface).
 *
 * @param root The context node of this step.
 */
public void setRoot(int root)
{
 // %OPT% Get this directly from the lpi.
 XPathContext xctxt = wi().getXPathContext();
 m_dtm = xctxt.getDTM(root);
 m_traverser = m_dtm.getAxisTraverser(m_axis);
 m_isFresh = true;
 m_foundLast = false;
 m_root = root;
 m_currentNode = root;
 if (DTM.NULL == root)
 {
  throw new RuntimeException(
   XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!");
 }
 resetProximityPositions();
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Set the root node of the TreeWalker.
 * (Not part of the DOM2 TreeWalker interface).
 *
 * @param root The context node of this step.
 */
public void setRoot(int root)
{
 // %OPT% Get this directly from the lpi.
 XPathContext xctxt = wi().getXPathContext();
 m_dtm = xctxt.getDTM(root);
 m_traverser = m_dtm.getAxisTraverser(m_axis);
 m_isFresh = true;
 m_foundLast = false;
 m_root = root;
 m_currentNode = root;
 if (DTM.NULL == root)
 {
  throw new RuntimeException(
   XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!");
 }
 resetProximityPositions();
}

相关文章