Package org.apache.xpath.axes

Examples of org.apache.xpath.axes.SubContextList


  public int getPositionInContextNodeList(XPathContext xctxt)
  {

    // System.out.println("FuncPosition- entry");
    // If we're in a predicate, then this will return non-null.
    SubContextList iter = xctxt.getSubContextList();

    if (null != iter)
    {
      int prox = iter.getProximityPosition(xctxt);

      // System.out.println("FuncPosition- prox: "+prox);
      return prox;
    }
View Full Code Here


          throws javax.xml.transform.TransformerException
  {

    // assert(null != m_contextNodeList, "m_contextNodeList must be non-null");
    // If we're in a predicate, then this will return non-null.
    SubContextList iter = xctxt.getSubContextList();

    if (null != iter)
      return iter.getLastPos(xctxt);

    ContextNodeList cnl = xctxt.getContextNodeList();

    if (cnl.size() == 0)
    {
View Full Code Here

TOP

Related Classes of org.apache.xpath.axes.SubContextList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.