org.apache.xindice.util
Class SymbolDeserializer
java.lang.Object
|
+--org.apache.xindice.util.SymbolDeserializer
- public final class SymbolDeserializer
- extends Object
SymbolDeserializer is a utility class for managing SymbolTables in
the client context of Wire Compression.
- Version:
- $Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
Method Summary |
org.w3c.dom.Document |
convertToDocument(Hashtable buffer)
convertToDocument converts the compressed Hashtable to
a DOM Document. |
long |
getLastModified()
getLastModified returns the last modified time stamp of the
client's image of the managed Symbol Table. |
SymbolTable |
getSymbols(Hashtable buffer)
getSymbols returns the current SymbolTable image for the
server-side Collection that is being managed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SymbolDeserializer
public SymbolDeserializer()
convertToDocument
public org.w3c.dom.Document convertToDocument(Hashtable buffer)
- convertToDocument converts the compressed Hashtable to
a DOM Document.
- Parameters:
buffer
- The Hashtable- Returns:
- The Document
getSymbols
public SymbolTable getSymbols(Hashtable buffer)
- getSymbols returns the current SymbolTable image for the
server-side Collection that is being managed. The Symbol
table is shipped as part of an Hashtable when the server
has determined that its image of the SymbolTable is out of
date. This method either returns the current image or
extracts the new image from the Hashtable.
- Parameters:
buffer
- The Hashtable- Returns:
- The Symbol Table
getLastModified
public long getLastModified()
- getLastModified returns the last modified time stamp of the
client's image of the managed Symbol Table.
- Returns:
- The last modified stamp
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.