public abstract class Tokenizer extends FTIterator
| Modifier and Type | Field and Description |
|---|---|
static java.util.LinkedList<Tokenizer> |
IMPL
List of available tokenizers.
|
| Constructor and Description |
|---|
Tokenizer() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(org.basex.util.ft.LanguageImpl o) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
protected abstract byte |
prec()
Returns the precedence of the processor.
|
static boolean |
supportFor(Language l)
Checks if the language is supported by the available tokenizers.
|
boolean |
supports(Language ln)
Checks if the specified language is supported.
|
init, nextToken, removepublic static final java.util.LinkedList<Tokenizer> IMPL
public static boolean supportFor(Language l)
l - language to be foundprotected abstract byte prec()
public boolean supports(Language ln)
ln - languagepublic final boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic final int compareTo(org.basex.util.ft.LanguageImpl o)
compareTo in interface java.lang.Comparable<org.basex.util.ft.LanguageImpl>public int hashCode()
hashCode in class java.lang.Object