deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.enterprise.control
Class RPCFactory

java.lang.Object
  extended by org.deegree.enterprise.control.RPCFactory

public class RPCFactory
extends Object

Factory class for creating RPC methodCall and methodResponse objects from their XML representation

Version:
$Revision: 9338 $ $Date: 2007-12-27 13:31:31 +0100 (Do, 27 Dez 2007) $
Author:
Andreas Poth

Constructor Summary
RPCFactory()
           
 
Method Summary
static RPCMethodCall createRPCMethodCall(Document doc)
          creates an instance of RPCMethodCall from the XML document passed
static RPCMethodCall createRPCMethodCall(Reader reader)
          creates an instance of RPCMethodCall from an XML document that can be accessed through the passed Reader
static RPCMethodResponse createRPCMethodResponse(Document doc)
          creates an instance of RPCMethodResponse from the XML document passed
static RPCMethodResponse createRPCMethodResponse(Reader reader)
          creates an instance of RPCMethodResponse from an XML document that can be accessed through the passed Reader
static RPCMethodResponse createRPCMethodResponse(RPCParameter[] par)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPCFactory

public RPCFactory()
Method Detail

createRPCMethodCall

public static RPCMethodCall createRPCMethodCall(Reader reader)
                                         throws RPCException
creates an instance of RPCMethodCall from an XML document that can be accessed through the passed Reader

Parameters:
reader - reader to access an XML document
Returns:
an RPCMethodCall
Throws:
RPCException

createRPCMethodCall

public static RPCMethodCall createRPCMethodCall(Document doc)
                                         throws RPCException
creates an instance of RPCMethodCall from the XML document passed

Parameters:
doc - XML document containing a RPC method call
Returns:
an RPCMethodCall
Throws:
RPCException

createRPCMethodResponse

public static RPCMethodResponse createRPCMethodResponse(Reader reader)
                                                 throws RPCException
creates an instance of RPCMethodResponse from an XML document that can be accessed through the passed Reader

Parameters:
reader - reader to access an XML document
Returns:
created RPCMethodResponse
Throws:
RPCException

createRPCMethodResponse

public static RPCMethodResponse createRPCMethodResponse(Document doc)
                                                 throws RPCException
creates an instance of RPCMethodResponse from the XML document passed

Parameters:
doc - XML document containing a RPC method call
Returns:
created RPCMethodResponse
Throws:
RPCException

createRPCMethodResponse

public static RPCMethodResponse createRPCMethodResponse(RPCParameter[] par)
Parameters:
par -
Returns:
Throws:
RPCException

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net