Class KeyManagementResponseElement
java.lang.Object
org.kopi.ebics.xml.DefaultEbicsRootElement
org.kopi.ebics.xml.DefaultResponseElement
org.kopi.ebics.xml.KeyManagementResponseElement
- All Implemented Interfaces:
Serializable, EbicsElement, EbicsRootElement
The
KeyManagementResponseElement is the common element
for ebics key management requests. This element aims to control the
returned code from the ebics server and throw an exception if it is
not an EBICS_OK code.- See Also:
-
Field Summary
Fields inherited from class DefaultResponseElement
factory, returnCodeFields inherited from class DefaultEbicsRootElement
document, session -
Constructor Summary
ConstructorsConstructorDescriptionKeyManagementResponseElement(ContentFactory factory, String name) Creates a newKeyManagementResponseElementfrom a givenContentFactory -
Method Summary
Methods inherited from class DefaultResponseElement
checkReturnCode, getName, parseMethods inherited from class DefaultEbicsRootElement
addNamespaceDecl, generateName, generateName, insertSchemaLocation, prettyPrint, print, save, setSaveSuggestedPrefixes, toByteArray, toPrettyString, toString, validate
-
Constructor Details
-
KeyManagementResponseElement
Creates a newKeyManagementResponseElementfrom a givenContentFactory- Parameters:
factory- the content factory enclosing the ebics responsename- the element name
-
-
Method Details
-
getTransactionKey
public byte[] getTransactionKey()Returns the transaction key of the response.- Returns:
- the transaction key.
-
getOrderData
public byte[] getOrderData()Returns the order data of the response.- Returns:
- the order data.
-
build
Description copied from interface:EbicsElementBuilds theEbicsElementXML fragment- Throws:
EbicsException
-
report
Description copied from class:DefaultResponseElementReports the return code to the user.- Overrides:
reportin classDefaultResponseElement- Throws:
EbicsException- request fails.
-