EXIficient

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

All Superinterfaces:
StringTableCommon
All Known Implementing Classes:
StringTableDecoderImpl

public interface StringTableDecoder
extends StringTableCommon

TODO Description

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

Method Summary
 java.lang.String getGlobalValue(int id)
          Get global value using the ID as the key.
 java.lang.String getLocalNameValue(java.lang.String uri, int id)
          Get string value of local name given URI and ID.
 java.lang.String getLocalValue(java.lang.String uri, java.lang.String local, int id)
          Get string value of local value given QName and ID.
 java.lang.String getPrefixValue(java.lang.String uri, int id)
          Get string value of prefix given URI and prefix ID.
 java.lang.String getURIValue(int id)
          Get the URI string value using the ID as the key.
 
Methods inherited from interface com.siemens.ct.exi.datatype.stringtable.StringTableCommon
addGlobalValue, addLocalName, addLocalValue, addPrefix, addURI, getGlobalValueTableSize, getLocalNameTableSize, getLocalValueTableSize, getPrefixTableSize, getURITableSize
 

Method Detail

getURIValue

java.lang.String getURIValue(int id)
Get the URI string value using the ID as the key.

Parameters:
id - - Identifier of URI in table.
Returns:
URI string value or null if URI not found.

getPrefixValue

java.lang.String getPrefixValue(java.lang.String uri,
                                int id)
Get string value of prefix given URI and prefix ID.

Parameters:
uri - - Namespace URI.
id - - Namespace identifier (table index).
Returns:
- Prefix value or null if not found.

getLocalNameValue

java.lang.String getLocalNameValue(java.lang.String uri,
                                   int id)
Get string value of local name given URI and ID.

Parameters:
uri - - Namespace URI.
id - - Identifier (table index) of local name.
Returns:
- Local name or null if not found.

getLocalValue

java.lang.String getLocalValue(java.lang.String uri,
                               java.lang.String local,
                               int id)
Get string value of local value given QName and ID.

Parameters:
uri - - namespace URI
local - - local-name
id - - Identifier (table index) of local name.
Returns:
- Local value or null if not found.

getGlobalValue

java.lang.String getGlobalValue(int id)
Get global value using the ID as the key.

Parameters:
id - - Identifier of global value in table.
Returns:
String value or null if not found.

EXIficient