Class ToolSpec
java.lang.Object
org.apache.cxf.tools.common.toolspec.ToolSpec
-
Constructor Summary
ConstructorsConstructorDescriptionToolSpec()ToolSpec(InputStream in) ToolSpec(InputStream in, boolean validate) -
Method Summary
Modifier and TypeMethodDescriptiongetElementById(String id) getHandler(ClassLoader loader) getParameterDefault(String name) getStreamRefName(String streamId) Arguments can have streamref attributes which associate them with a stream.getUsage()booleanbooleanvoidtransform(InputStream stylesheet, OutputStream out)
-
Constructor Details
-
ToolSpec
public ToolSpec() -
ToolSpec
- Throws:
ToolException
-
ToolSpec
- Throws:
ToolException
-
ToolSpec
-
-
Method Details
-
getDocumentBuilder
-
isValidInputStream
-
getElementById
-
hasHandler
public boolean hasHandler() -
getHandler
- Throws:
ToolException
-
getHandler
- Throws:
ToolException
-
getStreams
-
getInstreamIds
-
getOutstreamIds
-
getUsage
-
transform
- Throws:
TransformerException
-
getPipeline
-
getUsageForms
-
getStreamRefName
Arguments can have streamref attributes which associate them with a stream. Tools usually request streams and rely on them being ready. If an argument is given a streamref, then the container constructs a stream from the argument value. This would usually be a simple FileInputStream or FileOutputStream. The mechanics of this are left for the container to sort out, but that is the reason why this getter method exists. -
getParameterDefault
-
getAnnotation
-