Class ProcessingProcess
java.lang.Object
es.uvigo.esei.sing.textproc.process.ProcessingProcess
public final class ProcessingProcess extends java.lang.Object
This class represents a processing process, defined by a XML document, and is
responsible for parsing and executing it.
- Author:
- Alejandro González García
-
Constructor Summary
Constructors Constructor Description ProcessingProcess()
-
Method Summary
Modifier and Type Method Description void
executeProcessDeclaration(@NonNull java.io.InputStream declarationInput)
Parses and executes the process declaration defined in the given input stream.
-
Constructor Details
-
ProcessingProcess
public ProcessingProcess()
-
-
Method Details
-
executeProcessDeclaration
public void executeProcessDeclaration(@NonNull @NonNull java.io.InputStream declarationInput) throws ProcessingExceptionParses and executes the process declaration defined in the given input stream. This method doesn't return until all processes were executed.- Parameters:
declarationInput
- The input stream which contains the process declaration, in XML.- Throws:
ProcessingException
- If an exception occurs during parsing or execution.java.lang.IllegalArgumentException
- IfdeclarationInput
isnull
.
-