Class INIRequestElement
java.lang.Object
org.kopi.ebics.xml.DefaultEbicsRootElement
org.kopi.ebics.xml.INIRequestElement
- All Implemented Interfaces:
Serializable, EbicsElement, EbicsRootElement
The INI request XML element. This root element is to be sent
to the ebics server to initiate the signature certificate.
- See Also:
-
Field Summary
Fields inherited from class DefaultEbicsRootElement
document, session -
Constructor Summary
ConstructorsConstructorDescriptionINIRequestElement(EbicsSession session, String orderId) Constructs a new INI request element. -
Method Summary
Methods inherited from class DefaultEbicsRootElement
addNamespaceDecl, generateName, generateName, insertSchemaLocation, prettyPrint, print, save, setSaveSuggestedPrefixes, toPrettyString, toString
-
Constructor Details
-
INIRequestElement
Constructs a new INI request element.- Parameters:
session- the ebics session.orderId- 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
-