Open SiteSearch 4.1.1
Final

ORG.oclc.qnorm
Class BaseTermNormalizer

java.lang.Object
  |
  +--ORG.oclc.qnorm.BaseTermNormalizer
Direct Known Subclasses:
NewtonDbBaseTermNormalizer, RemoteZFSAuthorTermNormalizer, RemoteZFSTermNormalizer, RemoteZTermNormalizer

public class BaseTermNormalizer
extends Object

The BaseTermNormalizer class is the default query filter class that is invoked when cleanforquery is true.

See Also:
UserStateObject, Map

Field Summary
static int ALPHA
          integer object defining special character for Alpha (0x71).
static int BETA
          integer object defining special character for Beta (0x72).
static int GAMMA
          integer object defining special character for Gamma (0x73).
static int LC_AE
          integer object defining special character for LC_AE (0x8A).
static int LC_OE
          integer object defining special character for LC_OE (0x8F).
static int LC_THORN
          integer object defining special character for LC_THORN (0x9C).
static int UC_AE
          integer object defining special character for UC_AE (0xCA).
static int UC_OE
          integer object defining special character for UC_OE (0xCF).
static int UC_THORN
          integer object defining special character for UC_THORN (0xDC).
 
Constructor Summary
BaseTermNormalizer()
          Constructs a BaseTermNormalizer object.
 
Method Summary
protected  char[] expandSpecial(char translateChar)
          Expands the special characters (THORNS, OE, AE, Alpha, Beta, Gamma)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALPHA

public static final int ALPHA
integer object defining special character for Alpha (0x71).

BETA

public static final int BETA
integer object defining special character for Beta (0x72).

GAMMA

public static final int GAMMA
integer object defining special character for Gamma (0x73).

UC_THORN

public static final int UC_THORN
integer object defining special character for UC_THORN (0xDC).

LC_THORN

public static final int LC_THORN
integer object defining special character for LC_THORN (0x9C).

UC_OE

public static final int UC_OE
integer object defining special character for UC_OE (0xCF).

LC_OE

public static final int LC_OE
integer object defining special character for LC_OE (0x8F).

UC_AE

public static final int UC_AE
integer object defining special character for UC_AE (0xCA).

LC_AE

public static final int LC_AE
integer object defining special character for LC_AE (0x8A).
Constructor Detail

BaseTermNormalizer

public BaseTermNormalizer()
Constructs a BaseTermNormalizer object.
Method Detail

expandSpecial

protected char[] expandSpecial(char translateChar)
Expands the special characters (THORNS, OE, AE, Alpha, Beta, Gamma)
Parameters:
translateChar - the input character
Returns:
char array containing the expanded data

Open SiteSearch 4.1.1
Final