|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.enterprise.control.RPCFactory
Factory class for creating RPC methodCall and methodResponse objects from their XML representation
Constructor Summary | |
RPCFactory()
|
Method Summary | |
private static RPCParameter[] |
createArray(org.w3c.dom.Element array)
creates an ArrayList object from the passed Element |
private static RPCFault |
createRPCFault(org.w3c.dom.Element fault)
creates an RPCFault object from the passed Element |
private static RPCMember |
createRPCMember(org.w3c.dom.Element member)
creates a RPC struture member object from the passed Element |
static RPCMethodCall |
createRPCMethodCall(org.w3c.dom.Document doc)
creates an instance of RPCMethodCall from the XML document passed |
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 XML document passed |
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)
|
private static RPCParameter |
createRPCParam(org.w3c.dom.Element param)
creates a RPCParameter from its XML representation |
private static RPCStruct |
createRPCStruct(org.w3c.dom.Element struct)
creates a RPC struture object from the passed Element |
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(java.io.Reader reader) throws RPCException
reader
- reader to access an XML document
RPCException
public static RPCMethodCall createRPCMethodCall(org.w3c.dom.Document doc) throws RPCException
doc
- XML document containing a RPC method call
RPCException
public static RPCMethodResponse createRPCMethodResponse(java.io.Reader reader) throws RPCException
reader
- reader to access an XML document
RPCException
public static RPCMethodResponse createRPCMethodResponse(org.w3c.dom.Document doc) throws RPCException
doc
- XML document containing a RPC method call
RPCException
public static RPCMethodResponse createRPCMethodResponse(RPCParameter[] par) throws RPCException
RPCException
private static RPCParameter createRPCParam(org.w3c.dom.Element param) throws RPCException
param
- element containing a RPC param
RPCException
private static RPCStruct createRPCStruct(org.w3c.dom.Element struct) throws RPCException
struct
- element containing a RPC struct
RPCException
private static RPCMember createRPCMember(org.w3c.dom.Element member) throws RPCException
member
- element containing a RPC member
RPCException
private static RPCParameter[] createArray(org.w3c.dom.Element array) throws RPCException
array
-
RPCException
private static RPCFault createRPCFault(org.w3c.dom.Element fault) throws RPCException
fault
- fault element
RPCException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |