org.apache.cxf.jaxrs.ext.search.odata
Class ODataParser<T>
java.lang.Object
org.apache.cxf.jaxrs.ext.search.AbstractSearchConditionParser<T>
org.apache.cxf.jaxrs.ext.search.odata.ODataParser<T>
- All Implemented Interfaces:
- SearchConditionParser<T>
public class ODataParser<T>
- extends AbstractSearchConditionParser<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ODataParser
public ODataParser(Class<T> conditionClass)
- Creates OData parser.
- Parameters:
conditionClass
- - class of T used to create condition objects. Class T must have
accessible no-arguments constructor and complementary setters to these used in
OData $filter expressions.
ODataParser
public ODataParser(Class<T> tclass,
Map<String,String> contextProperties)
- Creates OData parser.
- Parameters:
tclass
- - class of T used to create condition objects in built syntax tree. Class T must have
accessible no-arg constructor and complementary setters to these used in
OData $filter expressions.contextProperties
-
ODataParser
public ODataParser(Class<T> tclass,
Map<String,String> contextProperties,
Map<String,String> beanProperties)
- Creates OData parser.
- Parameters:
tclass
- - class of T used to create condition objects in built syntax tree. Class T must have
accessible no-arg constructor and complementary setters to these used in
OData $filter expressions.contextProperties
-
parse
public SearchCondition<T> parse(String searchExpression)
throws SearchParseException
- Throws:
SearchParseException
Apache CXF