Package org.apache.cxf.jaxrs.ext.search
Class AbstractSearchConditionParser<T>
- java.lang.Object
-
- org.apache.cxf.jaxrs.ext.search.AbstractSearchConditionParser<T>
-
- All Implemented Interfaces:
SearchConditionParser<T>
- Direct Known Subclasses:
FiqlParser,ODataParser
public abstract class AbstractSearchConditionParser<T> extends Object implements SearchConditionParser<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>beanPropertiesMapprotected Beanspector<T>beanspectorprotected Class<T>conditionClassprotected Map<String,String>contextProperties
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetActualSetterName(String setter)protected StringgetSetter(String setter)protected Beanspector.TypeInfogetTypeInfo(String setter, String value)protected booleanisCount(String propName)protected BooleanisDecodeQueryValues()protected ObjectparseType(String originalPropName, Object ownerBean, Object lastCastedValue, String setter, Beanspector.TypeInfo typeInfo, String value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.jaxrs.ext.search.SearchConditionParser
parse
-
-
-
-
Method Detail
-
isDecodeQueryValues
protected Boolean isDecodeQueryValues()
-
getTypeInfo
protected Beanspector.TypeInfo getTypeInfo(String setter, String value) throws SearchParseException, PropertyNotFoundException
-
parseType
protected Object parseType(String originalPropName, Object ownerBean, Object lastCastedValue, String setter, Beanspector.TypeInfo typeInfo, String value) throws SearchParseException
- Throws:
SearchParseException
-
isCount
protected boolean isCount(String propName)
-
-