public interface QueryRegistrationResponseBuilder
Modifier and Type | Method and Description |
---|---|
org.apache.xmlbeans.XmlObject |
buildErrorResponse(java.lang.Throwable th,
SDMX_SCHEMA schemaVersion)
Returns a QueryRegistrationResponse with a failure status along with an
error message generated from the Throwable
|
org.apache.xmlbeans.XmlObject |
buildSuccessResponse(java.util.Collection<RegistrationBean> registrations,
SDMX_SCHEMA schemaVersion)
Builds a QueryRegistrationResponse based on the registrations supplied.
|
org.apache.xmlbeans.XmlObject buildErrorResponse(java.lang.Throwable th, SDMX_SCHEMA schemaVersion)
th
- org.apache.xmlbeans.XmlObject buildSuccessResponse(java.util.Collection<RegistrationBean> registrations, SDMX_SCHEMA schemaVersion)
registrations
- - the registration to be output in the response XMLschemaVersion
- - the schema version to output the response in