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
ToolException
public ToolSpec(InputStream in, boolean validate) throws ToolException
ToolException
public ToolSpec(Document d)
public ExtendedDocumentBuilder getDocumentBuilder()
public boolean isValidInputStream(String id)
public boolean hasHandler()
public Tool getHandler() throws ToolException
ToolException
public Tool getHandler(ClassLoader loader) throws ToolException
ToolException
public Element getStreams()
public Element getUsage()
public void transform(InputStream stylesheet, OutputStream out) throws TransformerException
TransformerException
public Element getPipeline()
public String getStreamRefName(String streamId)
public String getAnnotation()
Apache CXF