Class HIARequestElement
java.lang.Object
org.kopi.ebics.xml.DefaultEbicsRootElement
org.kopi.ebics.xml.HIARequestElement
- All Implemented Interfaces:
Serializable, EbicsElement, EbicsRootElement
The
HIARequestElement is the root element used
to send the authentication and encryption keys to the ebics
bank server- See Also:
-
Field Summary
Fields inherited from class DefaultEbicsRootElement
document, session -
Constructor Summary
ConstructorsConstructorDescriptionHIARequestElement(EbicsSession session, String orderId) Constructs a new HIA Request root element -
Method Summary
Methods inherited from class DefaultEbicsRootElement
addNamespaceDecl, generateName, generateName, insertSchemaLocation, prettyPrint, print, save, setSaveSuggestedPrefixes, toPrettyString, toString
-
Constructor Details
-
HIARequestElement
Constructs a new HIA Request root element- Parameters:
session- the current ebics sessionorderId- the order id, if null a random one is generated.
-
-
Method Details
-
getName
Description copied from interface:EbicsElementReturns the name of thisEbicsElement- Returns:
- the name of the element
-
build
Description copied from interface:EbicsElementBuilds theEbicsElementXML fragment- Throws:
EbicsException
-
toByteArray
public byte[] toByteArray()Description copied from interface:EbicsRootElementConverts theEbicsElementto a byte array- Specified by:
toByteArrayin interfaceEbicsRootElement- Overrides:
toByteArrayin classDefaultEbicsRootElement- Returns:
- the equivalent byte array of this
EbicsElement
-
validate
Description copied from interface:EbicsRootElementValidates the request element according to the EBICS XML schema specification- Specified by:
validatein interfaceEbicsRootElement- Overrides:
validatein classDefaultEbicsRootElement- Throws:
EbicsException- throws an EbicsException when validation fails
-