Package com.helger.peppol.xhe.write
Class DBNAllianceXHEDataWriter
java.lang.Object
com.helger.peppol.xhe.write.DBNAllianceXHEDataWriter
Convert DBNAlliance XHE data to a regular XHE document
- Author:
- Robinson Garcia, Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.helger.xhe.v10.XHE10XHETypeCreate a newXHE10XHETypefrom the specified document data.
-
Method Details
-
createExchangeHeaderEnvelope
@Nonnull public static com.helger.xhe.v10.XHE10XHEType createExchangeHeaderEnvelope(@Nonnull DBNAllianceXHEData aData) Create a newXHE10XHETypefrom the specified document data.- Parameters:
aData- The document data to be used. May not benullandDBNAllianceXHEData.areAllFieldsSet()must return true!- Returns:
- Never
null. - Throws:
IllegalArgumentException- if not all document data fields are set!
-