|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.wiki.plugin.query.Term
public class Term
A Term is part of a QueryItem's formal Expression that corresponds to a wiki page name. A term of an expression evaluates to true if it matches the page name begin evaluated.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ceryle.wiki.plugin.query.Operand |
|---|
Operand.NullOperand |
| Field Summary | |
|---|---|
static Term |
ALL_PAGES
A canonical instance of the "all pages" Term. |
static String |
ALL_PAGES_REGEX
The "all pages" query regular expression. |
| Fields inherited from interface org.ceryle.wiki.plugin.query.Operand |
|---|
NULL |
| Constructor Summary | |
|---|---|
Term(String pageName)
Constructor, takes bracketed page name. |
|
| Method Summary | |
|---|---|
boolean |
evaluateOperand(Modifier modifier,
ReferenceInfoProvider refInfoProvider,
String pageName)
Evaluates the operand, returns the truth value. |
String |
getPageName()
Return the unbracketed page name. |
String |
toString()
Returns the bracketed page name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ALL_PAGES_REGEX
public static Term ALL_PAGES
| Constructor Detail |
|---|
public Term(String pageName)
pageName - the wiki page name| Method Detail |
|---|
public String getPageName()
public boolean evaluateOperand(Modifier modifier,
ReferenceInfoProvider refInfoProvider,
String pageName)
throws QueryException
Operand
evaluateOperand in interface OperandQueryExceptionOperandpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||