|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xml_project.morganaxproc.XProcPipeline
public class XProcPipeline
This class represents the compiled, i.e. runnable form of an XProc pipeline. To compile
an XProc pipeline call compile()
from an XProcCompiler
.
Objects of this class can be used to run the same (compiled) pipeline multiple times possibly with different port bindings and/or options.
Nested Class Summary | |
---|---|
class |
XProcPipeline.PipelineInfo
|
Method Summary | |
---|---|
XProcConfiguration |
getConfiguration()
Return the XProcConfiguration used to run this XProcLibrary/XProcPipeline . |
XProcEngine |
getEngine()
Returns the XProcEngine used to generate this XProcLibrary/XProcPipeline . |
XProcPipeline.PipelineInfo |
getInfo()
|
java.net.URI |
getPipelineURI()
|
XProcOutput |
run()
Runs the pipeline without any input. |
XProcOutput |
run(XProcInput inputs)
Runs the pipeline with the given input. |
void |
setConfiguration(XProcConfiguration config)
Sets the XProcConfiguration to use when running this XProcLibrary/XProcPipeline . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.net.URI getPipelineURI()
public XProcPipeline.PipelineInfo getInfo()
public XProcOutput run()
Runs the pipeline without any input. Produces an XProcOutput object anyway, even if an error occurs.
XProcOutput
holding the result of the execution.public XProcOutput run(XProcInput inputs)
Runs the pipeline with the given input. Produces an XProcOutput object anyway, even if an error occurs.
inputs
- the inputs (port bindings and option settings) for the execution of the pipeline.
XProcOutput
holding the result of the execution.public XProcEngine getEngine()
Returns the XProcEngine
used to generate this XProcLibrary/XProcPipeline
.
Please mind that the XProcConfiguration
object hold by XProcEngine
might have changed since generation of the pipeline/library.
XProcEngine
used to generate this XProcPipeline
.public XProcConfiguration getConfiguration()
Return the XProcConfiguration
used to run this XProcLibrary/XProcPipeline
.
public void setConfiguration(XProcConfiguration config) throws XProcInterfaceException
Sets the XProcConfiguration
to use when running this XProcLibrary/XProcPipeline
.
config
- the configuration to use.
XProcInterfaceException
- if config
is null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |