public class ReceiptUtil extends Object
Constructor and Description |
---|
ReceiptUtil() |
Modifier and Type | Method and Description |
---|---|
static HandlingExceptionType |
convert(HandlingExceptionDTO dto) |
static byte[] |
convert(StandardBusinessDocumentHeader sbdh) |
static StandardBusinessDocumentHeader |
convertToSBDH(byte[] sbdh) |
static byte[] |
generateHandlingExceptionXML(HandlingExceptionDTO dto) |
static byte[] |
generateMetadataXML(MetadataDTO metadataDTO) |
static byte[] |
generateRequestAcknowledgementXML(RequestAcknowledgementDTO dto) |
static HandlingExceptionDTO |
getHandlingException(InputStream in) |
static MetadataDTO |
getMetadata(InputStream in) |
static RequestAcknowledgementDTO |
getRequestAcknowledgement(InputStream in) |
public static byte[] generateMetadataXML(MetadataDTO metadataDTO) throws JAXBException
JAXBException
public static MetadataDTO getMetadata(InputStream in) throws Exception
Exception
public static byte[] generateRequestAcknowledgementXML(RequestAcknowledgementDTO dto) throws Exception
Exception
public static RequestAcknowledgementDTO getRequestAcknowledgement(InputStream in) throws Exception
Exception
public static byte[] generateHandlingExceptionXML(HandlingExceptionDTO dto) throws Exception
Exception
public static HandlingExceptionType convert(HandlingExceptionDTO dto) throws Exception
Exception
public static HandlingExceptionDTO getHandlingException(InputStream in) throws Exception
Exception
public static StandardBusinessDocumentHeader convertToSBDH(byte[] sbdh) throws Exception
Exception
public static byte[] convert(StandardBusinessDocumentHeader sbdh) throws JAXBException
JAXBException
Copyright © 2021 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.