Creates a request bean from a kvp set.
A request bean is an object which captures the parameters of an operation
being requested to a service.
This class is intended to be subclassed in cases when the creation
and initilization of a request bean cannot be created reflectivley.
The type of the request bean must be declared by the class.
See
KvpRequestReader.getRequestBean() .
Instances need to be declared in a spring context like the following:
<bean id="myKvpRequestReader" class="org.geoserver.ows.KvpRequestReader">
<constructor-arg value="com.xyz.MyRequestBean"/>
</bean>
Where com.xyz.MyRequestBean is a simple java bean such as:
public class MyRequestBean {
public void setX( Object x ) {
...
}
public Object getX() {
...
}
}
author: Justin Deoliveira, The Open Planning Project |