|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.wordhoard.swing.calculator.cql.CQLPhrase
public class CQLPhrase
A WordHoard Corpus Query Language phrase.
| Field Summary | |
|---|---|
protected java.util.List |
queryWords
Ordered list of query words defining a query phrase. |
| Constructor Summary | |
|---|---|
CQLPhrase()
Create a query word. |
|
CQLPhrase(CQLQueryTokenizer tokenizer)
Create a new phrase from a CQLQueryTokenizer. |
|
CQLPhrase(CQLWord[] queryWords)
Create a query phrase from a collection of query words. |
|
CQLPhrase(java.util.List queryWords)
Create a query phrase from a collection of query words. |
|
| Method Summary | |
|---|---|
java.util.List |
getQueryWords()
Get the query words for this phrase. |
java.lang.String |
toString()
Displayable version of phrase. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List queryWords
| Constructor Detail |
|---|
public CQLPhrase()
public CQLPhrase(java.util.List queryWords)
queryWords - The query words defining the phrase. public CQLPhrase(CQLWord[] queryWords)
queryWords - The query words defining the query phrase.
public CQLPhrase(CQLQueryTokenizer tokenizer)
throws InvalidCQLQueryException
tokenizer - The CQLQueryTokenizer. Should be pointing
at the start of a set of CQLWord definitions.
InvalidCQLQueryException - if the CQL syntax is bad. | Method Detail |
|---|
public java.util.List getQueryWords()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||