Package org.apache.xml.utils

Examples of org.apache.xml.utils.IntVector


  public static final int NULL=-1;

  public DTMStringPool()
    {
      m_intToString=new Vector();
      m_hashChain=new IntVector(512);
      removeAllElements();
     
      // -sb Add this to force empty strings to be index 0.
      stringToIndex("");
    }
View Full Code Here


    m_dataOrQName = new SuballocatedIntVector(m_initialblocksize);
   
    // m_useSourceLocationProperty=org.apache.xalan.processor.TransformerFactoryImpl.m_source_location;
    m_useSourceLocationProperty = m_source_location;
    m_sourceSystemId = (m_useSourceLocationProperty) ? new StringVector() : null;
   m_sourceLine = (m_useSourceLocationProperty) new IntVector() : null;
    m_sourceColumn = (m_useSourceLocationProperty) new IntVector() : null;
  }
View Full Code Here

     */
    public DTMAxisIterNodeList(DTM dtm, DTMAxisIterator dtmAxisIterator) {
        if (dtmAxisIterator == null) {
            m_last = 0;
        } else {
            m_cachedNodes = new IntVector();
            m_dtm = dtm;
        }
        m_iter = dtmAxisIterator;
    }
View Full Code Here

   * @param chainSize The size of the hash chain vector
   */
  public DTMStringPool(int chainSize)
    {
      m_intToString=new Vector();
      m_hashChain=new IntVector(chainSize);
      removeAllElements();
     
      // -sb Add this to force empty strings to be index 0.
      stringToIndex("");
    }
View Full Code Here

    //m_dataOrQName = new SuballocatedIntVector(blocksize);
   
    // m_useSourceLocationProperty=org.apache.xalan.processor.TransformerFactoryImpl.m_source_location;
    m_useSourceLocationProperty = mgr.getSource_location();
    m_sourceSystemId = (m_useSourceLocationProperty) ? new StringVector() : null;
   m_sourceLine = (m_useSourceLocationProperty) new IntVector() : null;
    m_sourceColumn = (m_useSourceLocationProperty) new IntVector() : null;
  }
View Full Code Here

    // (If we did track them, we'd need to tail-prune these too.)
    //org.apache.xalan.processor.TransformerFactoryImpl.m_source_location;
    m_useSourceLocationProperty=false;
    m_sourceSystemId = (m_useSourceLocationProperty) ? new StringVector()
                                                     : null;
    m_sourceLine = (m_useSourceLocationProperty) ? new IntVector() : null;
    m_sourceColumn = (m_useSourceLocationProperty) ? new IntVector() : null;

    // Record initial sizes of fields that are pushed and restored
    // for RTF tail-pruning.  More entries can be popped than pushed, so
    // we need this to mark the primordial state of the DTM.
    m_emptyNodeCount = m_size;
View Full Code Here

    //m_dataOrQName = new SuballocatedIntVector(blocksize);
   
    // m_useSourceLocationProperty=org.apache.xalan.processor.TransformerFactoryImpl.m_source_location;
    m_useSourceLocationProperty = mgr.getSource_location();
    m_sourceSystemId = (m_useSourceLocationProperty) ? new StringVector() : null;
   m_sourceLine = (m_useSourceLocationProperty) new IntVector() : null;
    m_sourceColumn = (m_useSourceLocationProperty) new IntVector() : null;
  }
View Full Code Here

    // (If we did track them, we'd need to tail-prune these too.)
    //org.apache.xalan.processor.TransformerFactoryImpl.m_source_location;
    m_useSourceLocationProperty=false;
    m_sourceSystemId = (m_useSourceLocationProperty) ? new StringVector()
                                                     : null;
    m_sourceLine = (m_useSourceLocationProperty) ? new IntVector() : null;
    m_sourceColumn = (m_useSourceLocationProperty) ? new IntVector() : null;

    // Record initial sizes of fields that are pushed and restored
    // for RTF tail-pruning.  More entries can be popped than pushed, so
    // we need this to mark the primordial state of the DTM.
    m_emptyNodeCount = m_size;
View Full Code Here

     */
    public DTMAxisIterNodeList(DTM dtm, DTMAxisIterator dtmAxisIterator) {
        if (dtmAxisIterator == null) {
            m_last = 0;
        } else {
            m_cachedNodes = new IntVector();
            m_dtm = dtm;
        }
        m_iter = dtmAxisIterator;
    }
View Full Code Here

   * @param chainSize The size of the hash chain vector
   */
  public DTMStringPool(int chainSize)
    {
      m_intToString=new Vector();
      m_hashChain=new IntVector(chainSize);
      removeAllElements();
     
      // -sb Add this to force empty strings to be index 0.
      stringToIndex("");
    }
View Full Code Here

TOP

Related Classes of org.apache.xml.utils.IntVector

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.