Interface EbicsRootElement

All Superinterfaces:
EbicsElement, Serializable
All Known Implementing Classes:
DefaultEbicsRootElement, DefaultResponseElement, DownloadInitializationRequestElement, DownloadInitializationResponseElement, DownloadTransferRequestElement, DownloadTransferResponseElement, HIARequestElement, HIARequestOrderDataElement, HPBRequestElement, HPBResponseOrderDataElement, INIRequestElement, InitializationRequestElement, InitializationResponseElement, KeyManagementResponseElement, NoPubKeyDigestsRequestElement, ReceiptRequestElement, ReceiptResponseElement, SignaturePubKeyOrderDataElement, SignedInfo, SPRRequestElement, SPRResponseElement, TransferRequestElement, TransferResponseElement, UnsecuredRequestElement, UploadInitializationRequestElement, UploadTransferRequestElement, UserSignature

public interface EbicsRootElement extends EbicsElement
An Ebics root element knows its name.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a namespace declaration for the EbicsRootElement
    void
    Saves the EbicsElement into a given output stream.
    byte[]
    Converts the EbicsElement to a byte array
    void
    Validates the request element according to the EBICS XML schema specification

    Methods inherited from interface EbicsElement

    build, getName, print
  • Method Details

    • toByteArray

      byte[] toByteArray()
      Converts the EbicsElement to a byte array
      Returns:
      the equivalent byte array of this EbicsElement
    • validate

      void validate() throws EbicsException
      Validates the request element according to the EBICS XML schema specification
      Throws:
      EbicsException - throws an EbicsException when validation fails
    • addNamespaceDecl

      void addNamespaceDecl(String prefix, String uri)
      Adds a namespace declaration for the EbicsRootElement
      Parameters:
      prefix - namespace prefix
      uri - namespace uri
    • save

      void save(OutputStream out) throws EbicsException
      Saves the EbicsElement into a given output stream.
      Parameters:
      out - the output stream
      Throws:
      EbicsException - the save operation fails