Qizx/db 2.1 API

com.qizx.api.util.text
Class SieveBase

java.lang.Object
  extended bycom.qizx.api.util.text.SieveBase
All Implemented Interfaces:
Indexing.Sieve
Direct Known Subclasses:
DefaultWordSieve, FormatDateSieve, FormatNumberSieve

public abstract class SieveBase
extends Object
implements Indexing.Sieve

Base class of Sieve implementations.


Field Summary
protected  String[] parameters
           
 
Constructor Summary
SieveBase()
           
 
Method Summary
 void addParameter(String name, String value)
          Utility method to specify an individual parameter.
 String[] getParameters()
          Returns parameters specified by setParameters().
 String toString()
           
protected static String toString(Class classe, String[] parameters)
          Utility that can be used by different implementations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.qizx.api.Indexing.Sieve
setParameters
 

Field Detail

parameters

protected String[] parameters
Constructor Detail

SieveBase

public SieveBase()
Method Detail

addParameter

public void addParameter(String name,
                         String value)
Utility method to specify an individual parameter.

Parameters:
name - of parameter
value - of parameter

getParameters

public String[] getParameters()
Description copied from interface: Indexing.Sieve
Returns parameters specified by setParameters().

Specified by:
getParameters in interface Indexing.Sieve
Returns:
an array of even size containing alternately a parameter name and a parameter value.

toString

public String toString()

toString

protected static String toString(Class classe,
                                 String[] parameters)
Utility that can be used by different implementations.


© 2008 Axyana Software