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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • executeProcessDeclaration

      public void executeProcessDeclaration​(@NonNull @NonNull java.io.InputStream declarationInput) throws ProcessingException
      Parses 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 - If declarationInput is null.