org.xins.client
Interface XINSCallResultData

All Known Implementing Classes:
UnsuccessfulXINSCallException, XINSCallResult

public interface XINSCallResultData

Data part of a XINS call result.

Since:
XINS 1.0.0
Version:
$Revision: 1.8 $ $Date: 2006/08/28 09:12:30 $
Author:
Ernst de Haan

Method Summary
 DataElement getDataElement()
          Returns the optional extra data.
 String getErrorCode()
          Returns the error code.
 PropertyReader getParameters()
          Gets all parameters.
 

Method Detail

getErrorCode

public String getErrorCode()
Returns the error code. If null is returned the call was successful and thus no error code was returned. Otherwise the call was unsuccessful.

This method will never return an empty string, so if the result is not null, then it is safe to assume the length of the string is at least 1 character.

Returns:
the returned error code, or null if the call was successful.

getParameters

public PropertyReader getParameters()
Gets all parameters.

Returns:
a PropertyReader with all parameters, or null if there are none.

getDataElement

public DataElement getDataElement()
Returns the optional extra data. The data is an XML DataElement, or null.

Returns:
the extra data as an XML DataElement, can be null;


See http://www.xins.org/.