org.cdlib.xtf.textEngine
Class Constants

Object
  extended by Constants

public class Constants
extends Object

Holds global constants for the XTF text system.

Author:
Martin Haye

Field Summary
static char ATTRIBUTE_MARKER
           
static char BUMP_MARKER
          The character used to mark the start/end of a special bump token.
static char ELEMENT_MARKER
           
static char FIELD_END_MARKER
           
static char FIELD_START_MARKER
           
static char MARKER_BASE
          Character guaranteed to be less than all special markers
static char NODE_MARKER
          The special marker used to track the location of nodes within a chunk of text to be indexed.
static String VIRTUAL_WORD
          The string used to represent a virtual word in a chunk of text.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARKER_BASE

public static final char MARKER_BASE
Character guaranteed to be less than all special markers

See Also:
Constant Field Values

BUMP_MARKER

public static final char BUMP_MARKER
The character used to mark the start/end of a special bump token.

See Also:
Constant Field Values

NODE_MARKER

public static final char NODE_MARKER
The special marker used to track the location of nodes within a chunk of text to be indexed.

See Also:
Constant Field Values

VIRTUAL_WORD

public static final String VIRTUAL_WORD
The string used to represent a virtual word in a chunk of text. This string is chosen in such a way to be an unlikely combination of characters in typical western texts. Initially, the characters qw were selected as a mnemonic for a "quiet word".

See Also:
Constant Field Values

FIELD_START_MARKER

public static final char FIELD_START_MARKER
See Also:
Constant Field Values

FIELD_END_MARKER

public static final char FIELD_END_MARKER
See Also:
Constant Field Values

ELEMENT_MARKER

public static final char ELEMENT_MARKER
See Also:
Constant Field Values

ATTRIBUTE_MARKER

public static final char ATTRIBUTE_MARKER
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()