public class ToolSpec extends Object
| Constructor and Description |
|---|
ToolSpec() |
ToolSpec(Document d) |
ToolSpec(InputStream in) |
ToolSpec(InputStream in,
boolean validate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnotation() |
ExtendedDocumentBuilder |
getDocumentBuilder() |
Element |
getElementById(String id) |
Tool |
getHandler() |
Tool |
getHandler(ClassLoader loader) |
List<String> |
getInstreamIds() |
List<String> |
getOutstreamIds() |
String |
getParameterDefault(String name) |
Element |
getPipeline() |
String |
getStreamRefName(String streamId)
Arguments can have streamref attributes which associate them with a
stream.
|
Element |
getStreams() |
Element |
getUsage() |
List<Element> |
getUsageForms() |
boolean |
hasHandler() |
boolean |
isValidInputStream(String id) |
void |
transform(InputStream stylesheet,
OutputStream out) |
public ToolSpec()
public ToolSpec(InputStream in) throws ToolException
ToolExceptionpublic ToolSpec(InputStream in, boolean validate) throws ToolException
ToolExceptionpublic ToolSpec(Document d)
public ExtendedDocumentBuilder getDocumentBuilder()
public boolean isValidInputStream(String id)
public boolean hasHandler()
public Tool getHandler() throws ToolException
ToolExceptionpublic Tool getHandler(ClassLoader loader) throws ToolException
ToolExceptionpublic Element getStreams()
public Element getUsage()
public void transform(InputStream stylesheet, OutputStream out) throws TransformerException
TransformerExceptionpublic Element getPipeline()
public String getStreamRefName(String streamId)
public String getAnnotation()
Apache CXF