Class ContainsStringQuery
- java.lang.Object
-
- net.anotheria.anodoc.query2.string.ContainsStringQuery
-
- All Implemented Interfaces:
DocumentQuery
public class ContainsStringQuery extends java.lang.Object implements DocumentQuery
Implementation of DocumentQuery- Version:
- $Id: $Id
- Author:
- another
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringANY_STRING_EXPRESSIONAny string constantstatic java.lang.StringANY_STRING_REG_EXPRESSIONAny string regular expression for replace()static intOFFSETOffset.
-
Constructor Summary
Constructors Constructor Description ContainsStringQuery(java.lang.String aCriteria)ContainsStringQuery constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<QueryResultEntry>match(DataObject obj)Returns a list of possible results for an object.java.lang.StringtoString()
-
-
-
Field Detail
-
OFFSET
public static final int OFFSET
Offset.- See Also:
- Constant Field Values
-
ANY_STRING_EXPRESSION
public static final java.lang.String ANY_STRING_EXPRESSION
Any string constant- See Also:
- Constant Field Values
-
ANY_STRING_REG_EXPRESSION
public static final java.lang.String ANY_STRING_REG_EXPRESSION
Any string regular expression for replace()- See Also:
- Constant Field Values
-
-
Method Detail
-
match
public java.util.List<QueryResultEntry> match(DataObject obj)
Returns a list of possible results for an object. Match method with simple expressions processing support.- Specified by:
matchin interfaceDocumentQuery- Parameters:
obj- aDataObjectobject.- Returns:
- a
Listobject.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-