public interface XMLRequest
Encapsulates a request coming from the
DocumentAPIDispatcher.
Provides capability to process incoming documents as DOM object or as InputStreams. In addition, attachments sent as part of the SOAP message can also be retrieved.
It also provides a capability to validate an incoming document against a schema.
| Method Summary | |
|---|---|
java.util.List |
getAttachments()
Returns the list of attachments that are part of this request. |
org.w3c.dom.Document |
getDocument()
The DOM Document containing the XML request. |
DocumentType |
getDocumentType()
Returns the DocumentType of the incoming XML document. |
java.io.InputStream |
getInputStream()
The stream to read the document from. |
void |
validateWithSchema(java.util.List schemas)
Validates the request document with the XSD schemas defined in schemas. |
| Method Detail |
|---|
DocumentType getDocumentType()
org.w3c.dom.Document getDocument()
java.io.InputStream getInputStream()
void validateWithSchema(java.util.List schemas)
schemas.
schemas - the array of SchemaRefernces.java.util.List getAttachments()
AttachmentPart