Java Code Examples for com.sun.org.apache.xpath.internal.Expression#fixupVariables()

The following examples show how to use com.sun.org.apache.xpath.internal.Expression#fixupVariables() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FuncExtFunction.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(java.util.Vector vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}
 
Example 2
Source File: FuncExtFunction.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(java.util.Vector vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}
 
Example 3
Source File: FuncExtFunction.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(java.util.Vector vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}
 
Example 4
Source File: FuncExtFunction.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(java.util.Vector vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}
 
Example 5
Source File: FuncExtFunction.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(java.util.Vector vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}
 
Example 6
Source File: FuncExtFunction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(java.util.Vector vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}
 
Example 7
Source File: FuncExtFunction.java    From Bytecoder with Apache License 2.0 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(List<QName> vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = m_argVec.get(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}
 
Example 8
Source File: FuncExtFunction.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(java.util.Vector vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}
 
Example 9
Source File: FuncExtFunction.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(java.util.Vector vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}
 
Example 10
Source File: FuncExtFunction.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(java.util.Vector vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}
 
Example 11
Source File: FuncExtFunction.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used to fixup variables from QNames to stack frame
 * indexes at stylesheet build time.
 * @param vars List of QNames that correspond to variables.  This list
 * should be searched backwards for the first qualified name that
 * corresponds to the variable reference qname.  The position of the
 * QName in the vector from the start of the vector will be its position
 * in the stack frame (but variables above the globalsTop value will need
 * to be offset to the current stack frame).
 * NEEDSDOC @param globalsSize
 */
public void fixupVariables(java.util.Vector vars, int globalsSize)
{

  if (null != m_argVec)
  {
    int nArgs = m_argVec.size();

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);

      arg.fixupVariables(vars, globalsSize);
    }
  }
}