Examples of IntStack


Examples of org.apache.xml.utils.IntStack

      }


      xctxt.pushCurrentNode(DTM.NULL);

      IntStack currentNodes = xctxt.getCurrentNodeStack();

      xctxt.pushCurrentExpressionNode(DTM.NULL);

      IntStack currentExpressionNodes = xctxt.getCurrentExpressionNodeStack();

      xctxt.pushSAXLocatorNull();
      xctxt.pushContextNodeList(sourceNodes);
      transformer.pushElemTemplateElement(null);

      // pushParams(transformer, xctxt);
      // Should be able to get this from the iterator but there must be a bug.
      DTM dtm = xctxt.getDTM(sourceNode);
      int docID = sourceNode & DTMManager.IDENT_DTM_DEFAULT;
      int child;

      while (DTM.NULL != (child = sourceNodes.nextNode()))
      {
        currentNodes.setTop(child);
        currentExpressionNodes.setTop(child);

        if ((child & DTMManager.IDENT_DTM_DEFAULT) != docID)
        {
          dtm = xctxt.getDTM(child);
          docID = child & DTMManager.IDENT_DTM_DEFAULT;
View Full Code Here

Examples of org.apache.xml.utils.IntStack

        }
        vars.setStackFrame(argsFrame);
      }
     
      xctxt.pushCurrentNode(DTM.NULL);
      IntStack currentNodes = xctxt.getCurrentNodeStack();
     
      xctxt.pushCurrentExpressionNode(DTM.NULL);
      IntStack currentExpressionNodes = xctxt.getCurrentExpressionNodeStack();    

      xctxt.pushSAXLocatorNull();
      xctxt.pushContextNodeList(sourceNodes);
      transformer.pushElemTemplateElement(null);
      // pushParams(transformer, xctxt);
     
      int child;
      while (DTM.NULL != (child = sourceNodes.nextNode()))
      {
        currentNodes.setTop(child);
        currentExpressionNodes.setTop(child);

        if(xctxt.getDTM(child) != dtm)
        {
          dtm = xctxt.getDTM(child);
        }
View Full Code Here

Examples of org.apache.xml.utils.IntStack

    {
      m_data = new SuballocatedIntVector(blocksize, DEFAULT_NUMBLOCKS_SMALL);
      m_dataOrQName = new SuballocatedIntVector(blocksize, DEFAULT_NUMBLOCKS_SMALL);
      m_valuesOrPrefixes = new DTMStringPool(16);
      m_chars = new FastStringBuffer(7, 10);
      m_contextIndexes = new IntStack(4);
      m_parents = new IntStack(4);
    }
    else
    {
      m_data = new SuballocatedIntVector(blocksize, DEFAULT_NUMBLOCKS);
      m_dataOrQName = new SuballocatedIntVector(blocksize, DEFAULT_NUMBLOCKS);
      m_valuesOrPrefixes = new DTMStringPool();
      m_chars = new FastStringBuffer(10, 13);
      m_contextIndexes = new IntStack();
      m_parents = new IntStack();
    }
        
    // %REVIEW%  Initial size pushed way down to reduce weight of RTFs
    // (I'm not entirely sure 0 would work, so I'm playing it safe for now.)
    //m_data = new SuballocatedIntVector(doIndexing ? (1024*2) : 512, 1024);
View Full Code Here

Examples of org.apache.xml.utils.IntStack

  public void startDocument() throws SAXException
  {
    // Re-initialize the tree append process
    m_endDocumentOccured = false;
    m_prefixMappings = new java.util.Vector();
    m_contextIndexes = new IntStack();
    m_parents = new IntStack();
   
    m_currentDocumentNode=m_size;
    super.startDocument();
  }
View Full Code Here

Examples of org.apache.xml.utils.IntStack

      }


      xctxt.pushCurrentNode(DTM.NULL);

      IntStack currentNodes = xctxt.getCurrentNodeStack();

      xctxt.pushCurrentExpressionNode(DTM.NULL);

      IntStack currentExpressionNodes = xctxt.getCurrentExpressionNodeStack();

      xctxt.pushSAXLocatorNull();
      xctxt.pushContextNodeList(sourceNodes);
      transformer.pushElemTemplateElement(null);

      // pushParams(transformer, xctxt);
      // Should be able to get this from the iterator but there must be a bug.
      DTM dtm = xctxt.getDTM(sourceNode);
      int docID = sourceNode & DTMManager.IDENT_DTM_DEFAULT;
      int child;

      while (DTM.NULL != (child = sourceNodes.nextNode()))
      {
        currentNodes.setTop(child);
        currentExpressionNodes.setTop(child);

        if ((child & DTMManager.IDENT_DTM_DEFAULT) != docID)
        {
          dtm = xctxt.getDTM(child);
          docID = child & DTMManager.IDENT_DTM_DEFAULT;
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.contenttype.IntStack

  
    fShouldLoadBuffered = false;
    fBufferedContext = null;
    fBufferedStart = 1;
    fBufferedLength = 0;
    fStateStack = new IntStack();
 
    fLastInternalBlockStart = -1;
 
    context = null;
    start = 0;
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.parser.IntStack

  
    fShouldLoadBuffered = false;
    fBufferedContext = null;
    fBufferedStart = 1;
    fBufferedLength = 0;
    fStateStack = new IntStack();
 
    fLastInternalBlockStart = -1;
 
    context = null;
    start = 0;
View Full Code Here

Examples of org.jibx.runtime.IntStack

     * @param current initial value
     */
    public SparseStack(Object current) {
       
        // initialize so peek always works
        m_levels = new IntStack();
        m_levels.push(-1);
        m_items = new ObjectStack();
        m_items.push(current);
        m_current = current;
    }
View Full Code Here

Examples of org.jibx.runtime.IntStack

     */
    public StAXReaderWrapper(XMLStreamReader rdr, String name, boolean nsa) {
        m_parser = rdr;
        m_docName = name;
        m_isNamespaceAware = nsa;
        m_inScopeCounts = new IntStack();
        m_inScopeCounts.push(0);
        m_inScopeUris = new GrowableStringArray();
        m_inScopePrefixes = new GrowableStringArray();
        if (rdr.isStartElement()) {
            startTag();
View Full Code Here

Examples of xbird.util.collections.IntStack

    public static final byte PERCENT_CODE = 0x0;

    private final IntStack stack;

    public RevPathCoder() {
        this(new IntStack(12));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.