public interface SubmitStructureResponseBuilder
Modifier and Type | Method and Description |
---|---|
org.apache.xmlbeans.XmlObject |
buildErrorResponse(java.lang.Throwable th,
StructureReferenceBean errorReference,
SDMX_SCHEMA schemaVersion)
Returns an error response based on the submitted beans and exception
|
org.apache.xmlbeans.XmlObject |
buildSuccessResponse(SdmxBeans beans,
SDMX_SCHEMA schemaVersion)
Builds a success response based on the submitted beans
|
org.apache.xmlbeans.XmlObject buildErrorResponse(java.lang.Throwable th, StructureReferenceBean errorReference, SDMX_SCHEMA schemaVersion)
th
- - the errorerrorBean
- - the beans that caused the error, if null aschemaVersion
- - the version of the schema to output the response inorg.apache.xmlbeans.XmlObject buildSuccessResponse(SdmxBeans beans, SDMX_SCHEMA schemaVersion)
beans
- - the beans that were successfully submittedschemaVersion
- - the version of the schema to output the response in