getResultsDocument |
public org.w3c.dom.Document getResultsDocument()
throws RpcResponseTypeIsNotXmlException, FoundationsException:
Gets an XML Document format based on the contains of the results returned by
the RPC. Note: This XML document is created during the call to this method and
not as part of the creation of the RpcResponse object.
If calling application wants to use this method, it should use generic xml DOM
interfaces from org.w3c.dom.* package.
Alternatively if application wants to use this document in a specific XML
parser implementation, parser should be able to create a specific Document
implementation from org.w3c.dom.Document interface. In this case it might be
better from performance standpiont to use getResults() and parse xml string
directly.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
return |
Output |
returns org.w3c.dom.Document
|
throws |
Output |
Throws
gov.va.med.vistalink.rpc.RpcResponseTypeIsNotXmlException: results type must
be 'xml'
gov.va.med.exception.FoundationsException: thrown if problem generating xml
DOM document from results string.
|
|
getResults |
public java.lang.String getResults(): Gets the
results string for the returned data in this response.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
return |
Output |
returns java.lang.String: results string for the
returned data in this response.
|
|
getResultsType |
public java.lang.String getResultsType(): gets the
return type of the results sent back from the M VistAServer. The possible
types are 'string' or 'array'.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
return |
Output |
returns java.lang.String: return type of the results
sent back from the M VistAServer, either 'string' or 'array'.
|
|