Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.apache.xerces.utils
Class StringPool

    java.lang.Object
      |
      +--weblogic.apache.xerces.utils.StringPool

public final class StringPool
extends java.lang.Object

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.

Inner Class Summary
`class` | `StringPool.CharArrayRange`
`static interface` | `StringPool.StringProducer` This class is based on an implementation from the Apache XML Project.

Field Summary
`static int` | `EMPTY_STRING`
`static int` | `NULL_STRING` Constants

Constructor Summary
`StringPool()`

Method Summary
`int` | `addNewSymbol(java.lang.String str, int hashcode)`
`int` | `addString(java.lang.String str)`
`int` | `addString(StringPool.StringProducer stringProducer, int offset, int length)`
`boolean` | `addStringToList(int stringListIndex, int stringIndex)`
`int` | `addSymbol(int stringIndex)`
`int` | `addSymbol(java.lang.String str)`
`int` | `addSymbol(StringPool.StringProducer stringProducer, int offset, int length, int hashcode)`
`StringPool.CharArrayRange` | `createCharArrayRange()`
`int` | `createNonMatchingSymbol(int startOffset, int entry, int[] entries, int offset)`
`boolean` | `equalNames(int stringIndex1, int stringIndex2)`
`void` | `finishStringList(int stringListIndex)`
`void` | `getCharArrayRange(int symbolIndex, StringPool.CharArrayRange r)`
`SymbolCache` | `getSymbolCache()`
`int` | `lookupSymbol(StringPool.StringProducer stringProducer, int offset, int length, int hashcode)`
`java.lang.String` | `orphanString(int stringIndex)`
`void` | `releaseString(int stringIndex)`
`void` | `reset()`
`void` | `resetShuffleCount()`
`int` | `startStringList()`
`boolean` | `stringInList(int stringListIndex, int stringIndex)`
`int[]` | `stringListAsIntArray(int stringListIndex)`
`java.lang.String` | `stringListAsString(int stringListIndex)`
`int` | `stringListLength(int stringListIndex)`
`java.lang.String` | `toString(int stringIndex)`
`void` | `updateCacheLine(int symbolIndex, int totalMisses, int length)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### NULL_STRING

    public static final int NULL_STRING

  Constants

### EMPTY_STRING

    public static final int EMPTY_STRING

Constructor Detail

### StringPool

    public StringPool()

Method Detail

### reset

    public void reset()

### addString

    public int addString(java.lang.String str)

### addString

    public int addString(StringPool.StringProducer stringProducer,
                         int offset,
                         int length)

### getSymbolCache

    public SymbolCache getSymbolCache()

### resetShuffleCount

    public void resetShuffleCount()

### updateCacheLine

    public void updateCacheLine(int symbolIndex,
                                int totalMisses,
                                int length)

### createNonMatchingSymbol

    public int createNonMatchingSymbol(int startOffset,
                                       int entry,
                                       int[] entries,
                                       int offset)
                                throws java.lang.Exception

### addSymbol

    public int addSymbol(java.lang.String str)

### addSymbol

    public int addSymbol(StringPool.StringProducer stringProducer,
                         int offset,
                         int length,
                         int hashcode)

### lookupSymbol

    public int lookupSymbol(StringPool.StringProducer stringProducer,
                            int offset,
                            int length,
                            int hashcode)

### addNewSymbol

    public int addNewSymbol(java.lang.String str,
                            int hashcode)

### addSymbol

    public int addSymbol(int stringIndex)

### createCharArrayRange

    public StringPool.CharArrayRange createCharArrayRange()

### getCharArrayRange

    public void getCharArrayRange(int symbolIndex,
                                  StringPool.CharArrayRange r)

### equalNames

    public boolean equalNames(int stringIndex1,
                              int stringIndex2)

### startStringList

    public int startStringList()

### addStringToList

    public boolean addStringToList(int stringListIndex,
                                   int stringIndex)

### finishStringList

    public void finishStringList(int stringListIndex)

### stringListLength

    public int stringListLength(int stringListIndex)

### stringInList

    public boolean stringInList(int stringListIndex,
                                int stringIndex)

### stringListAsString

    public java.lang.String stringListAsString(int stringListIndex)

### stringListAsIntArray

    public int[] stringListAsIntArray(int stringListIndex)

### releaseString

    public void releaseString(int stringIndex)

### toString

    public java.lang.String toString(int stringIndex)

### orphanString

    public java.lang.String orphanString(int stringIndex)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs70
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference