Class query.Modifier
All Packages Class Hierarchy This Package Previous Next Index
Class query.Modifier
java.lang.Object
|
+----query.Modifier
- public class Modifier
- extends Object
A STARTS modifier.
-
Modifier(Query, String)
- construct with default attribute set
-
Modifier(Query, String, String)
- construct a modifier with a specified attribute set
-
GetAttributeSet()
- return the attribute set of this modifier
-
GetModifier()
- return the string that is the modifier.
-
LanguageSupported_p(String)
- predicate to determine whether a language is supported for
this modifier
-
Supported_p()
- predicate returning whether this modifier is supported in the
source.
Modifier
public Modifier(Query query,
String modifier)
- construct with default attribute set
- Parameters:
- query - query context of this modifier
- modifier - the string that is the modifier
Modifier
public Modifier(Query query,
String attributeSet,
String modifier)
- construct a modifier with a specified attribute set
- Parameters:
- query - query context of this modifier
- attributeSet - attribute set of this modifier
- modifier - the string that is the modifier
GetModifier
public String GetModifier()
- return the string that is the modifier.
- Returns:
- the string that is the modifier (e.g. soundex)
GetAttributeSet
public String GetAttributeSet()
- return the attribute set of this modifier
- Returns:
- the string that is the attribute set of this modifier
(e.g., basic-1)
Supported_p
public boolean Supported_p()
- predicate returning whether this modifier is supported in the
source.
- Returns:
- true or false depening on whether this modifier is suported
for the source in the query context.
LanguageSupported_p
public boolean LanguageSupported_p(String language)
- predicate to determine whether a language is supported for
this modifier
- Parameters:
- language - the language to check.
- Returns:
- True or false depending if the input language is supported
for this modifier.
All Packages Class Hierarchy This Package Previous Next Index