Package org.gvsig.catalog.languages
Class AbstractGeneralLanguage
java.lang.Object
org.gvsig.catalog.languages.AbstractGeneralLanguage
- All Implemented Interfaces:
ILanguages
- Direct Known Subclasses:
BasicEncodingRules,CommonQueryLanguage,FilterEncoding
All classes that implement a "Language" must to
inherit of this class
- Author:
- Jorge Piera Llodra (jorge.piera@iver.es)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOperator(String titleKeys) Return logic operatorsparseValues(String line, String titleKeys) Divide a phrase in linesparseValues(String line, String titleKeys, String relationship, String wildCard) Divide a phrase in linesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.catalog.languages.ILanguages
toString
-
Field Details
-
EXACT_WORDS
- See Also:
-
ANY_WORDS
- See Also:
-
ALL_WORDS
- See Also:
-
AND
- See Also:
-
OR
- See Also:
-
and
- See Also:
-
or
- See Also:
-
currentQuery
-
currentClause
-
-
Constructor Details
-
AbstractGeneralLanguage
public AbstractGeneralLanguage()
-
-
Method Details
-
parseValues
Divide a phrase in lines- Parameters:
line- phrase to searchtitleKeys-concordancia- If is 'E' (exact) don't divide- Returns:
- Iteraror A set of words
-
parseValues
Divide a phrase in lines- Parameters:
line- phrase to searchtitleKeys-relationship-wildCard-concordancia- If is 'E' (exact) don't divide- Returns:
- Iteraror A set of words
-
getOperator
Return logic operators- Parameters:
titleKeys- E,A o Y --> Exact, All, anY- Returns:
- Or or And
-