EXIficient

com.siemens.ct.exi.datatype.stringtable
Interface StringTableCommon

All Known Subinterfaces:
StringTableDecoder, StringTableEncoder
All Known Implementing Classes:
AbstractStringTable, StringTableDecoderImpl, StringTableEncoderImpl, StringTableEncoderImplNoGlobalValues

public interface StringTableCommon

TODO Description

Version:
0.3.20080718
Author:
Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com

Method Summary
 void addGlobalValue(java.lang.String value)
          Add a string value to the global value table.
 void addLocalName(java.lang.String uri, java.lang.String name)
          Add a name to the local name table.
 void addLocalValue(java.lang.String uri, java.lang.String local, java.lang.String value)
          Add a value to the local value table.
 void addPrefix(java.lang.String uri, java.lang.String prefix)
          Add a prefix to the namespace prefix table.
 void addURI(java.lang.String uri)
          Add a URI to the URI table.
 int getGlobalValueTableSize()
          Get the current size the global value table.
 int getLocalNameTableSize(java.lang.String uri)
          Get size of the local name table partition for a given URI.
 int getLocalValueTableSize(java.lang.String uri, java.lang.String local)
          Get size of the localName table partition identified by QName.
 int getPrefixTableSize(java.lang.String uri)
          Get the size of the prefix table partition identified by URI.
 int getURITableSize()
          Get the size of the URI table.
 

Method Detail

addURI

void addURI(java.lang.String uri)
Add a URI to the URI table.

Parameters:
uri - - URI to be added.

getURITableSize

int getURITableSize()
Get the size of the URI table.


addPrefix

void addPrefix(java.lang.String uri,
               java.lang.String prefix)
Add a prefix to the namespace prefix table.

Parameters:
uri - - Namespace URI.
prefix - - Namespace prefix to be added.

getPrefixTableSize

int getPrefixTableSize(java.lang.String uri)
Get the size of the prefix table partition identified by URI.

Parameters:
uri - - Namespace URI.
Returns:
- Current number of items (strings) in the table.

addLocalName

void addLocalName(java.lang.String uri,
                  java.lang.String name)
Add a name to the local name table.

Parameters:
uri - - Namespace URI.
name - - Name to be added.

getLocalNameTableSize

int getLocalNameTableSize(java.lang.String uri)
Get size of the local name table partition for a given URI.

Parameters:
uri - - Namespace URI.
Returns:
- Number of items (strings) in the table.

addLocalValue

void addLocalValue(java.lang.String uri,
                   java.lang.String local,
                   java.lang.String value)
Add a value to the local value table.

Parameters:
uri - - Namespace URI
local - - local-name
value - - String value to be added.

getLocalValueTableSize

int getLocalValueTableSize(java.lang.String uri,
                           java.lang.String local)
Get size of the localName table partition identified by QName.

Parameters:
uri - - Namespace URI
local - - local-name
Returns:
- Number of items (strings) in table.

addGlobalValue

void addGlobalValue(java.lang.String value)
Add a string value to the global value table.

Parameters:
value - - Value to be added.

getGlobalValueTableSize

int getGlobalValueTableSize()
Get the current size the global value table.

Returns:
Number of items (strings) in the table.

EXIficient