public class CommonQueryLanguage extends AbstractGeneralLanguage
http://www.loc.gov/z3950/agency/zing/cql/
ALL_WORDS, and, AND, ANY_WORDS, currentClause, currentQuery, EXACT_WORDS, or, OR
Constructor and Description |
---|
CommonQueryLanguage() |
Modifier and Type | Method and Description |
---|---|
void |
addClauses(java.lang.String parameter,
java.util.Iterator values,
java.lang.String concordancia,
java.lang.String operator) |
void |
addClauses(java.lang.String parameter,
java.lang.String line,
java.lang.String concordancia,
java.lang.String operator) |
protected void |
addCurrentClauseQuery(java.lang.String operator) |
java.lang.String |
cutWord(java.lang.String line,
java.lang.String titleKeys) |
java.lang.String |
toString() |
getOperator, parseValues, parseValues
public void addClauses(java.lang.String parameter, java.lang.String line, java.lang.String concordancia, java.lang.String operator)
parameter
- line
- concordancia
- public void addClauses(java.lang.String parameter, java.util.Iterator values, java.lang.String concordancia, java.lang.String operator)
parameter
- values
- concordancia
- protected void addCurrentClauseQuery(java.lang.String operator)
public java.lang.String toString()
toString
in interface ILanguages
toString
in class java.lang.Object
public java.lang.String cutWord(java.lang.String line, java.lang.String titleKeys)
line
- titleKeys
-