Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.servingxml.util
Class SynchronizedNameTable

    java.lang.Object
      com.servingxml.util.SynchronizedNameTable

All Implemented Interfaces:
  MutableNameTable, NameTable

    public class SynchronizedNameTable

extends java.lang.Object
implements MutableNameTable

Constructor Summary
`SynchronizedNameTable(NameTable parentTable)`

Method Summary
`boolean` | `containsSymbol(int nameSymbol)`
`Name` | `createName(java.lang.String namespaceUri, java.lang.String localName)`
`Name[]` | `getNames()`
`java.lang.String` | `getNamespace(int namespaceIndex)`
`java.lang.String[]` | `getNamespaces()`
`int` | `getSymbol(Name name)`
`int` | `getSymbol(java.lang.String namespaceUri, java.lang.String localName)`
`int` | `lookupCreateNamespaceIndex(java.lang.String namespaceUri)`
`Name` | `lookupName(int nameSymbol)`
`int` | `lookupSymbol(Name name)`
`int` | `lookupSymbol(java.lang.String namespaceUri, java.lang.String localName)`
`void` | `printDiagnostics(java.io.PrintStream printStream)`
`int` | `size()`

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

Constructor Detail

### SynchronizedNameTable

    public SynchronizedNameTable(NameTable parentTable)

Method Detail

### size

    public int size()

  Specified by:
    `size` in interface `NameTable`

### getSymbol

    public int getSymbol(java.lang.String namespaceUri,
                         java.lang.String localName)

  Specified by:
    `getSymbol` in interface `MutableNameTable`

### getSymbol

    public int getSymbol(Name name)

  Specified by:
    `getSymbol` in interface `MutableNameTable`

### lookupCreateNamespaceIndex

    public int lookupCreateNamespaceIndex(java.lang.String namespaceUri)

  Specified by:
    `lookupCreateNamespaceIndex` in interface `MutableNameTable`

### getNamespace

    public java.lang.String getNamespace(int namespaceIndex)

  Specified by:
    `getNamespace` in interface `NameTable`

### containsSymbol

    public boolean containsSymbol(int nameSymbol)

  Specified by:
    `containsSymbol` in interface `NameTable`

### lookupName

    public Name lookupName(int nameSymbol)

  Specified by:
    `lookupName` in interface `NameTable`

### lookupSymbol

    public int lookupSymbol(java.lang.String namespaceUri,
                            java.lang.String localName)

  Specified by:
    `lookupSymbol` in interface `NameTable`

### createName

    public Name createName(java.lang.String namespaceUri,
                           java.lang.String localName)

  Specified by:
    `createName` in interface `MutableNameTable`

### lookupSymbol

    public int lookupSymbol(Name name)

  Specified by:
    `lookupSymbol` in interface `NameTable`

### getNames

    public Name[] getNames()

  Specified by:
    `getNames` in interface `NameTable`

### getNamespaces

    public java.lang.String[] getNamespaces()

  Specified by:
    `getNamespaces` in interface `NameTable`

### printDiagnostics

    public void printDiagnostics(java.io.PrintStream printStream)

  Specified by:
    `printDiagnostics` in interface `NameTable`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD