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.ToolException
InputStream getInputStream() throws ToolException
ToolException
Document getInputDocument(String id) throws ToolException
ToolException
Document getInputDocument() throws ToolException
ToolException
OutputStream getOutputStream(String id) throws ToolException
ToolException
OutputStream getOutputStream() throws ToolException
ToolException
String getParameter(String name) throws ToolException
ToolException
String[] getParameters(String name) throws ToolException
ToolException
boolean hasParameter(String name) throws ToolException
ToolException
void sendDocument(Document doc)
void executePipeline()
Apache CXF