Пример #1
0
 /**
  * Set the current node that is the expression's context (i.e. for current() support).
  *
  * @param n The sub-expression node to be current.
  */
 public final void pushCurrentExpressionNode(int n) {
   m_currentExpressionNodes.push(n);
 }
Пример #2
0
 public final void pushPredicatePos(int n) {
   m_predicatePos.push(n);
 }
Пример #3
0
 /**
  * Set the current context node.
  *
  * @param n the <a href="http://www.w3.org/TR/xslt#dt-current-node">current node</a>.
  */
 public final void pushCurrentNode(int n) {
   m_currentNodes.push(n);
 }
Пример #4
0
 /**
  * Push the current context node, expression node, and prefix resolver.
  *
  * @param cn the <a href="http://www.w3.org/TR/xslt#dt-current-node">current node</a>.
  * @param en the sub-expression context node.
  * @param nc the namespace context (prefix resolver.
  */
 public final void pushExpressionState(int cn, int en, PrefixResolver nc) {
   m_currentNodes.push(cn);
   m_currentExpressionNodes.push(cn);
   m_prefixResolvers.push(nc);
 }
Пример #5
0
 /**
  * Set the current context node and expression node.
  *
  * @param cn the <a href="http://www.w3.org/TR/xslt#dt-current-node">current node</a>.
  * @param en the sub-expression context node.
  */
 public final void pushCurrentNodeAndExpression(int cn, int en) {
   m_currentNodes.push(cn);
   m_currentExpressionNodes.push(cn);
 }
Пример #6
0
 /**
  * Push the RTFDTM's context mark, to allows discarding RTFs added after this point. (If it
  * doesn't exist we don't push, since we might still be able to get away with not creating it.
  * That requires that excessive pops be harmless.)
  */
 public void pushRTFContext() {
   m_last_pushed_rtfdtm.push(m_which_rtfdtm);
   if (null != m_rtfdtm_stack) ((SAX2RTFDTM) (getRTFDTM())).pushRewindMark();
 }