public class XmlExportEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
XmlExportEvent.ExportEventType |
Modifier and Type | Field and Description |
---|---|
static String |
EXPORT_ERROR_IO |
static String |
EXPORT_ERROR_JAXB |
static String |
EXPORT_ERROR_UNKNOWN |
Constructor and Description |
---|
XmlExportEvent(byte[] xmlData)
Creates an event indicating a successful export run which produced the given data.
|
XmlExportEvent(String errorCode)
Creates an event indicating ann export error.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode() |
XmlExportEvent.ExportEventType |
getExportEventType() |
byte[] |
getXmlData() |
public static final String EXPORT_ERROR_UNKNOWN
public static final String EXPORT_ERROR_JAXB
public static final String EXPORT_ERROR_IO
public XmlExportEvent(byte[] xmlData)
xmlData
- the xml data produced by the exporterpublic XmlExportEvent(String errorCode)
errorCode
- the error code, should be one of the EXPORT_ERROR_*public XmlExportEvent.ExportEventType getExportEventType()
public byte[] getXmlData()
public String getErrorCode()
Copyright © 2022 KOBIL Systems GmbH. All rights reserved.