Package org.ldaptive.props
Class SearchRequestPropertyInvoker
- java.lang.Object
-
- org.ldaptive.props.AbstractPropertyInvoker
-
- org.ldaptive.props.SearchRequestPropertyInvoker
-
- All Implemented Interfaces:
PropertyInvoker
public class SearchRequestPropertyInvoker extends AbstractPropertyInvoker
Handles properties forSearchRequest
.
-
-
Constructor Summary
Constructors Constructor Description SearchRequestPropertyInvoker(Class<?> c)
Creates a new search request property invoker for the supplied class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
convertValue(Class<?> type, String value)
Converts the supplied string value into an Object of the supplied type.-
Methods inherited from class org.ldaptive.props.AbstractPropertyInvoker
convertSimpleType, createArrayEnumFromPropertyValue, createArrayTypeFromPropertyValue, createClass, createTypeFromPropertyValue, getEnum, getProperties, hasProperty, initialize, instantiateType, invokeMethod, setProperty
-
-
-
-
Constructor Detail
-
SearchRequestPropertyInvoker
public SearchRequestPropertyInvoker(Class<?> c)
Creates a new search request property invoker for the supplied class.- Parameters:
c
- class that has setter methods
-
-
Method Detail
-
convertValue
protected Object convertValue(Class<?> type, String value)
Description copied from class:AbstractPropertyInvoker
Converts the supplied string value into an Object of the supplied type. If value cannot be converted it is returned as is.- Specified by:
convertValue
in classAbstractPropertyInvoker
- Parameters:
type
- of object to convert value intovalue
- to parse- Returns:
- object of the supplied type
-
-