public interface ToolContext
| Modifier and Type | Method and Description |
|---|---|
void |
executePipeline() |
Document |
getInputDocument()
Request a document based on the standard input stream.
|
Document |
getInputDocument(String id)
Request a document based on the input stream.
|
InputStream |
getInputStream()
Request the standard input stream.
|
InputStream |
getInputStream(String id)
Request an input stream.
|
OutputStream |
getOutputStream() |
OutputStream |
getOutputStream(String id) |
String |
getParameter(String name) |
String[] |
getParameters(String name) |
Object |
getUserObject(String key) |
boolean |
hasParameter(String name) |
void |
sendDocument(Document doc) |
void |
sendDocument(String id,
Document doc) |
void |
setUserObject(String key,
Object o) |
InputStream getInputStream(String id) throws ToolException
id - the id of the stream in the streams sections of the tool's definition document.ToolExceptionInputStream getInputStream() throws ToolException
ToolExceptionDocument getInputDocument(String id) throws ToolException
ToolExceptionDocument getInputDocument() throws ToolException
ToolExceptionOutputStream getOutputStream(String id) throws ToolException
ToolExceptionOutputStream getOutputStream() throws ToolException
ToolExceptionString getParameter(String name) throws ToolException
ToolExceptionString[] getParameters(String name) throws ToolException
ToolExceptionboolean hasParameter(String name) throws ToolException
ToolExceptionvoid sendDocument(Document doc)
void executePipeline()
Apache CXF