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 for SearchRequest.
- Version:
- $Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
- Author:
- Middleware Services
|
Method Summary |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchRequestPropertyInvoker
public SearchRequestPropertyInvoker(Class<?> c)
- Creates a new search request property invoker for the supplied class.
- Parameters:
c - class that has setter methods
convertValue
protected Object convertValue(Class<?> type,
String value)
- 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 class AbstractPropertyInvoker
- Parameters:
type - of object to convert value intovalue - to parse
- Returns:
- object of the supplied type
Copyright © 2003-2017 Virginia Tech. All Rights Reserved.