|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.xml.pipeline.controller.PipelineProcessor
public class PipelineProcessor
The top level class which executes the pipeline.
Field Summary |
---|
Fields inherited from interface oracle.xml.pipeline.controller.PipelineConstants |
---|
COMPSTREAMRESULT, COMPSTREAMSOURCE, DOCFRAG, DOCUMENT, DOMRESULT, DOMSOURCE, ELEMENT, PROCESS_WAITING, SAXRESULT, SAXSOURCE, STREAMRESULT, STREAMSOURCE |
Constructor Summary | |
---|---|
PipelineProcessor() |
Method Summary | |
---|---|
void |
executePipeline() Execute the pipeline based on the PipelineDoc set earlier by setPipelineDoc(). |
int |
getExecutionMode() Get the type of execution mode |
boolean |
isForceSpecified() Has force been specified for pipeline execution |
void |
setErrorHandler(PipelineErrorHandler e) Set the error handler for the pipeline. |
void |
setExecutionMode(int m) Set the type of execution mode, default is parallel. |
void |
setForce(boolean f) If force is specified, then the pipeline will always execute, regardless of whether the target is up-to-date with respect to the pipeline inputs. |
void |
setPipelineDoc(PipelineDoc doc) Set the PipelineDoc object for the pipeline process to process |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PipelineProcessor()
Method Detail |
---|
public void setPipelineDoc(PipelineDoc doc)
PipelineDoc
- to be processedpublic void setErrorHandler(PipelineErrorHandler e)
e
- - error handler conforming to the PipelineErrorHandler interfacepublic void setExecutionMode(int m)
m
- - execution mode can be PIPELINE_SEQUENTIAL, PIPELINE_PARALLELpublic int getExecutionMode()
public void setForce(boolean f)
boolean
- true or falsepublic boolean isForceSpecified()
public void executePipeline() throws java.net.MalformedURLException, PipelineException, java.lang.InterruptedException
java.net.MalformedURLException
PipelineException
java.lang.InterruptedException
- thrown by threads in parallel execution
|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |