Class HPBRequestElement
java.lang.Object
org.kopi.ebics.xml.DefaultEbicsRootElement
org.kopi.ebics.xml.HPBRequestElement
- All Implemented Interfaces:
Serializable, EbicsElement, EbicsRootElement
The
HPBRequestElement is the element to be sent when
a HPB request is needed to retrieve the bank public keys- See Also:
-
Field Summary
Fields inherited from class DefaultEbicsRootElement
document, session -
Constructor Summary
ConstructorsConstructorDescriptionHPBRequestElement(EbicsSession session) Constructs a new HPB Request element. -
Method Summary
Methods inherited from class DefaultEbicsRootElement
addNamespaceDecl, generateName, generateName, insertSchemaLocation, prettyPrint, print, save, setSaveSuggestedPrefixes, toPrettyString, toString
-
Constructor Details
-
HPBRequestElement
Constructs a new HPB Request element.- Parameters:
session- the current ebics session.
-
-
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
-