/** * Returns clone of current IntVector * * @return clone of current IntVector */ public Object clone() throws CloneNotSupportedException { return new IntVector(this); }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMAxisIterator */ public DTMAxisIterNodeList(DTM dtm, DTMAxisIterator dtmAxisIterator) { if (dtmAxisIterator == null) { m_last = 0; } else { m_cachedNodes = new IntVector(); m_dtm = dtm; } m_iter = dtmAxisIterator; }
/** * Returns clone of current IntVector * * @return clone of current IntVector */ public Object clone() throws CloneNotSupportedException { return new IntVector(this); }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMAxisIterator */ public DTMAxisIterNodeList(DTM dtm, DTMAxisIterator dtmAxisIterator) { if (dtmAxisIterator == null) { m_last = 0; } else { m_cachedNodes = new IntVector(); m_dtm = dtm; } m_iter = dtmAxisIterator; }
/** * Create a DTMStringPool using the given chain size * * @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(""); }
/** * Create a DTMStringPool using the given chain size * * @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(""); }
public SAX2RTFDTM(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing) { super(mgr, source, dtmIdentity, whiteSpaceFilter, xstringfactory, doIndexing); // NEVER track source locators for RTFs; they aren't meaningful. I think. // (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; m_emptyNSDeclSetCount = (m_namespaceDeclSets == null) ? 0 : m_namespaceDeclSets.size(); m_emptyNSDeclSetElemsCount = (m_namespaceDeclSetElements == null) ? 0 : m_namespaceDeclSetElements.size(); m_emptyDataCount = m_data.size(); m_emptyCharsCount = m_chars.size(); m_emptyDataQNCount = m_dataOrQName.size(); }
public SAX2RTFDTM(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing) { super(mgr, source, dtmIdentity, whiteSpaceFilter, xstringfactory, doIndexing); // NEVER track source locators for RTFs; they aren't meaningful. I think. // (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; m_emptyNSDeclSetCount = (m_namespaceDeclSets == null) ? 0 : m_namespaceDeclSets.size(); m_emptyNSDeclSetElemsCount = (m_namespaceDeclSetElements == null) ? 0 : m_namespaceDeclSetElements.size(); m_emptyDataCount = m_data.size(); m_emptyCharsCount = m_chars.size(); m_emptyDataQNCount = m_dataOrQName.size(); }
/** * Returns clone of current IntVector * * @return clone of current IntVector */ public Object clone() throws CloneNotSupportedException { return new IntVector(this); }
/** * Returns clone of current IntVector * * @return clone of current IntVector */ public Object clone() throws CloneNotSupportedException { return new IntVector(this); }
/** * Returns clone of current IntVector * * @return clone of current IntVector */ public Object clone() throws CloneNotSupportedException { return new IntVector(this); }
/** * Returns clone of current IntVector * * @return clone of current IntVector */ public Object clone() throws CloneNotSupportedException { return new IntVector(this); }
/** * Returns clone of current IntVector * * @return clone of current IntVector */ public Object clone() throws CloneNotSupportedException { return new IntVector(this); }
/** * Returns clone of current IntVector * * @return clone of current IntVector */ public Object clone() throws CloneNotSupportedException { return new IntVector(this); }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMAxisIterator */ public DTMAxisIterNodeList(DTM dtm, DTMAxisIterator dtmAxisIterator) { if (dtmAxisIterator == null) { m_last = 0; } else { m_cachedNodes = new IntVector(); m_dtm = dtm; } m_iter = dtmAxisIterator; }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMAxisIterator */ public DTMAxisIterNodeList(DTM dtm, DTMAxisIterator dtmAxisIterator) { if (dtmAxisIterator == null) { m_last = 0; } else { m_cachedNodes = new IntVector(); m_dtm = dtm; } m_iter = dtmAxisIterator; }
/** * Returns clone of current IntVector * * @return clone of current IntVector */ public Object clone() throws CloneNotSupportedException { return new IntVector(this); }
/** * Create a DTMStringPool using the given chain size * * @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(""); }