Xindice API
version 1.2m1

org.apache.xindice.util
Class SymbolDeserializer

java.lang.Object
  extended byorg.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: 595817 $, $Date: 2007-11-16 15:49:03 -0500 (Fri, 16 Nov 2007) $

Constructor Summary
SymbolDeserializer()
           
 
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(Map 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
 

Constructor Detail

SymbolDeserializer

public SymbolDeserializer()
Method Detail

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(Map 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

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.