public interface XMLResponse
Encapsulates the response to send back via the
DocumentAPIDispatcher.
Provides the XMLVisitor to use to construct the response document and also provides facilities to add attachments to the SOAP response.
| Method Summary | |
|---|---|
void |
addAttachment(byte[] data,
java.lang.String type,
java.lang.String location)
Adds the attachment to the SOAP response |
void |
addAttachment(javax.activation.DataSource attachment)
Adds an attachment to the response |
void |
addAttachment(java.lang.String data,
java.lang.String type,
java.lang.String location)
Adds the attachment to the SOAP response |
XMLVisitor |
getXMLVisitor()
Returns the XML Visitor to use |
| Method Detail |
|---|
XMLVisitor getXMLVisitor()
throws VisitorFactoryConfigurationException
VisitorFactoryConfigurationException
void addAttachment(javax.activation.DataSource attachment)
throws java.io.IOException
attachment - the attachment
java.io.IOException
void addAttachment(java.lang.String data,
java.lang.String type,
java.lang.String location)
throws java.io.IOException
data - the attachmenttype - the mime typelocation - the location
java.io.IOException
void addAttachment(byte[] data,
java.lang.String type,
java.lang.String location)
throws java.io.IOException
data - the attachmenttype - the mime typelocation - the location
java.io.IOException