@NotThreadSafe public class PeppolSBDHDocumentWriter extends Object
| Constructor and Description |
|---|
PeppolSBDHDocumentWriter() |
| Modifier and Type | Method and Description |
|---|---|
org.unece.cefact.namespaces.sbdh.StandardBusinessDocument |
createStandardBusinessDocument(PeppolSBDHDocument aData)
Create a new
StandardBusinessDocument from the specified document
data. |
protected String |
getHeaderVersion()
Override this method to customize the created header version
|
@Nonnull @OverrideOnDemand protected String getHeaderVersion()
null.@Nonnull public org.unece.cefact.namespaces.sbdh.StandardBusinessDocument createStandardBusinessDocument(@Nonnull PeppolSBDHDocument aData)
StandardBusinessDocument from the specified document
data.aData - The document data to be used. May not be null and
PeppolSBDHDocument.areAllFieldsSet() must return true!null.IllegalArgumentException - if not all document data fields are set!Copyright © 2014–2018 Philip Helger. All rights reserved.