org.gcube.data.oai.tmplugin.requests
Class RequestBinder

java.lang.Object
  extended by org.gcube.data.oai.tmplugin.requests.RequestBinder
All Implemented Interfaces:
Serializable

public class RequestBinder
extends Object
implements Serializable

Author:
"Valentina Marioli valentina.marioli@isti.cnr.it"
See Also:
Serialized Form

Constructor Summary
RequestBinder()
           
 
Method Summary
<T extends Request>
T
bind(Element e, Class<T> type)
           
 Element bind(Object request)
           
 String toXML(Object request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestBinder

public RequestBinder()
Method Detail

bind

public <T extends Request> T bind(Element e,
                                  Class<T> type)
                       throws Exception
Throws:
Exception

bind

public Element bind(Object request)
             throws Exception
Throws:
Exception

toXML

public String toXML(Object request)
             throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.