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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contextProperties
protected final Map<String,String> contextProperties
conditionClass
protected final Class<T> conditionClass
beanspector
protected Beanspector<T> beanspector
beanPropertiesMap
protected Map<String,String> beanPropertiesMap
AbstractSearchConditionParser
protected AbstractSearchConditionParser(Class<T> tclass)
AbstractSearchConditionParser
protected AbstractSearchConditionParser(Class<T> tclass,
Map<String,String> contextProperties,
Map<String,String> beanProperties)
getActualSetterName
protected String getActualSetterName(String setter)
getTypeInfo
protected Beanspector.TypeInfo getTypeInfo(String setter,
String value)
throws SearchParseException,
PropertyNotFoundException
- Throws:
SearchParseException
PropertyNotFoundException
getSetter
protected String getSetter(String setter)
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)
Apache CXF