| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.enterprise.control.RPCFactory
public class RPCFactory
Factory for creating RPC methodCall and methodResponse objects from their XML representation.
| Constructor Summary | |
|---|---|
RPCFactory()
 | 
|
| Method Summary | |
|---|---|
static RPCMethodCall | 
createRPCMethodCall(Document doc)
Creates an instance of RPCMethodCall from the given XML document. | 
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 given XML document. | 
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)
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 | 
|---|
public RPCFactory()
| Method Detail | 
|---|
public static RPCMethodCall createRPCMethodCall(Reader reader)
                                         throws RPCException
RPCMethodCall from an XML document that can be accessed through the passed
 Reader.
reader - reader to access an XML document
RPCException
public static RPCMethodCall createRPCMethodCall(Document doc)
                                         throws RPCException
RPCMethodCall from the given XML document.
doc - XML document containing a RPC method call
RPCException
public static RPCMethodResponse createRPCMethodResponse(Reader reader)
                                                 throws RPCException
RPCMethodResponse from an XML document that can be accessed through the
 passed Reader.
reader - reader to access an XML document
RPCMethodResponse
RPCException
public static RPCMethodResponse createRPCMethodResponse(Document doc)
                                                 throws RPCException
RPCMethodResponse from the given XML document.
doc - XML document containing a RPC method call
RPCMethodResponse
RPCExceptionpublic static RPCMethodResponse createRPCMethodResponse(RPCParameter[] par)
RPCMethodResponse from the given parameters.
par - 
RPCMethodResponse object
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org