deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.enterprise.control
Class RPCFactory

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

public class RPCFactory
extends java.lang.Object

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

Version:
$Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
RPCFactory()
           
 
Method Summary
static RPCMethodCall createRPCMethodCall(org.w3c.dom.Document doc)
          Creates an instance of RPCMethodCall from the given XML document.
static RPCMethodCall createRPCMethodCall(java.io.Reader reader)
          Creates an instance of RPCMethodCall from an XML document that can be accessed through the passed Reader.
static RPCMethodResponse createRPCMethodResponse(org.w3c.dom.Document doc)
          Creates an instance of RPCMethodResponse from the given XML document.
static RPCMethodResponse createRPCMethodResponse(java.io.Reader reader)
          Creates an instance of RPCMethodResponse from an XML document that can be accessed through the passed Reader.
static RPCMethodResponse createRPCMethodResponse(RPCParameter[] par)
          Creates an RPCMethodResponse from the given parameters.
 
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(java.io.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(org.w3c.dom.Document doc)
                                         throws RPCException
Creates an instance of RPCMethodCall from the given XML document.

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

createRPCMethodResponse

public static RPCMethodResponse createRPCMethodResponse(java.io.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(org.w3c.dom.Document doc)
                                                 throws RPCException
Creates an instance of RPCMethodResponse from the given XML document.

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

createRPCMethodResponse

public static RPCMethodResponse createRPCMethodResponse(RPCParameter[] par)
Creates an RPCMethodResponse from the given parameters.

Parameters:
par -
Returns:
corresponding RPCMethodResponse object

deegree 2.5 (2011/06/29 09:44 build-8-official)

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