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 Server 6.0sp2 API Reference

## weblogic.apache.xalan.xpath.xml
Class StringToStringTable

    java.lang.Object
      |
      +--weblogic.apache.xalan.xpath.xml.StringToStringTable

public class StringToStringTable
extends java.lang.Object
implements java.io.Serializable

A very simple lookup table that stores a list of strings, the even number strings being keys, and the odd number strings being values.

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.

Author:
  Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
See Also:
  Serialized Form

Constructor Summary
`StringToStringTable()` Default constructor.
`StringToStringTable(int blocksize)` Construct a StringToStringTable, using the given block size.

Method Summary
`boolean` | `contains(java.lang.String key)` Tell if the table contains the given string.
`boolean` | `containsValue(java.lang.String val)` Tell if the table contains the given string.
`java.lang.String` | `elementAt(int i)` Get the nth element.
`java.lang.String` | `get(java.lang.String key)` Tell if the table contains the given string.
`java.lang.String` | `getByValue(java.lang.String val)` Tell if the table contains the given string in the value.
`java.lang.String` | `getIgnoreCase(java.lang.String key)` Tell if the table contains the given string.
`int` | `getLength()` Get the length of the list.
`void` | `put(java.lang.String key, java.lang.String value)` Append a string onto the vector.
`void` | `remove(java.lang.String key)` Tell if the table contains the given string.

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

Constructor Detail

### StringToStringTable

    public StringToStringTable()

  Default constructor. Note that the default block size is very small, for small lists.

### StringToStringTable

    public StringToStringTable(int blocksize)

  Construct a StringToStringTable, using the given block size.

Method Detail

### getLength

    public final int getLength()

  Get the length of the list.

### put

    public final void put(java.lang.String key,
                          java.lang.String value)

  Append a string onto the vector.

### get

    public final java.lang.String get(java.lang.String key)

  Tell if the table contains the given string.

### remove

    public final void remove(java.lang.String key)

  Tell if the table contains the given string.

### getIgnoreCase

    public final java.lang.String getIgnoreCase(java.lang.String key)

  Tell if the table contains the given string.

### getByValue

    public final java.lang.String getByValue(java.lang.String val)

  Tell if the table contains the given string in the value.

### elementAt

    public final java.lang.String elementAt(int i)

  Get the nth element.

### contains

    public final boolean contains(java.lang.String key)

  Tell if the table contains the given string.

### containsValue

    public final boolean containsValue(java.lang.String val)

  Tell if the table contains the given string.

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