|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.wiki.plugin.query.operators.Operator
public abstract class Operator
The abstract class of query expression Operators. Includes: AllOperator, AndOperator, AnyOperator, FromModifier (AKA ByModifier), ExpressionKeyword, IsModifier, Modifier, NotOperator, NullOperator, Operator, OrOperator, and ToModifier.
| Field Summary | |
|---|---|
static String |
_ALL
The String token for the ALL operator. |
static String |
_AND
The String token for the AND operator. |
static String |
_ANY
The String token for the ANY operator. |
static String |
_BY
The String token for the BY operator. |
static String |
_FROM
The String token for the FROM operator. |
static String |
_IS
The String token for the IS operator. |
static String |
_NOT
The String token for the NOT operator. |
static String |
_NULL
The String token for the NULL operator. |
static String |
_OR
The String token for the OR operator. |
static String |
_TO
The String token for the TO operator. |
| Constructor Summary | |
|---|---|
protected |
Operator(String name)
Hide constructor from public, allow subclass access. |
| Method Summary | |
|---|---|
abstract boolean |
evaluateOperator(Operand left,
Operand right,
Modifier modifier,
ReferenceInfoProvider refInfoProvider,
String pageName)
|
String |
getName()
Returns the name of this Operator (returns the same thing as toString()). |
boolean |
isInfix()
|
boolean |
isPrefix()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String _NULL
public static final String _ALL
public static final String _AND
public static final String _ANY
public static final String _BY
public static final String _FROM
public static final String _IS
public static final String _NOT
public static final String _OR
public static final String _TO
| Constructor Detail |
|---|
protected Operator(String name)
name - | Method Detail |
|---|
public boolean isInfix()
public final boolean isPrefix()
public abstract boolean evaluateOperator(Operand left,
Operand right,
Modifier modifier,
ReferenceInfoProvider refInfoProvider,
String pageName)
throws QueryException
QueryExceptionpublic String getName()
toString()).
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||