|
dbXML API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.dbxml.xml.dtsm.TableBuilder
TableBuilder
| Constructor Summary | |
TableBuilder()
|
|
TableBuilder(SymbolTable symbols)
|
|
| Method Summary | |
void |
addEntry(byte typeID)
addEntry adds an entry to the table with no associated Symbol ID or Value ID. |
void |
addEntry(byte typeID,
byte[] data)
addEntry adds an entry to the DocumentTable and return the Value ID that the data produces. |
void |
addEntry(byte typeID,
int symbolID)
addEntry adds an entry to the DocumentTable. |
int |
addEntry(byte typeID,
QName qname)
addEntry adds an entry to the DocumentTable and returns the Symbol ID that the qname maps to. |
DocumentTable |
buildDocumentTable()
buildDocumentTable instructs the TableBuilder to take all of the information it has accumulated, and to produce a DocumentTable. |
int |
getDataSize()
getDataSize returns the total number of bytes that are being stored as unique Values. |
SymbolTable |
getSymbolTable()
getSymbolTable returns the SymbolTable that is associated with this TableBuilder. |
void |
setSymbolTable(SymbolTable symbols)
setSymbolTable sets the SymbolTable that will be associated with this TableBuilder. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TableBuilder()
public TableBuilder(SymbolTable symbols)
| Method Detail |
public SymbolTable getSymbolTable()
public void setSymbolTable(SymbolTable symbols)
symbols - the SymbolTablepublic void addEntry(byte typeID)
typeID - The Type IDConstants
public int addEntry(byte typeID,
QName qname)
typeID - The Type IDqname - The QName
Constants
public void addEntry(byte typeID,
int symbolID)
typeID - The Type ID
Constants
public void addEntry(byte typeID,
byte[] data)
typeID - The Type IDdata - The data to storeConstantspublic int getDataSize()
public DocumentTable buildDocumentTable()
|
dbXML API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||