Class XmlFlowReader

java.lang.Object
org.chenile.stm.impl.FlowReaderBase
org.chenile.stm.impl.XmlFlowReader
All Implemented Interfaces:
FlowReader

public class XmlFlowReader extends FlowReaderBase
Provides an xml implementation of the FlowStoreReader. Supports flexible custom xml tags for specific action state components. Custom properties are made available to actions registered. These two features provide a powerful extension making this parser support an xml based DSL.
Author:
Raja Shankar Kolluru
  • Field Details

  • Constructor Details

    • XmlFlowReader

      public XmlFlowReader(STMFlowStoreImpl stmFlowStoreImpl)
      Parameters:
      stmFlowStoreImpl -
  • Method Details

    • setUpDigesterRules

      private void setUpDigesterRules()
    • setFilename

      public void setFilename(String filename) throws Exception
      Parameters:
      filename -
      Throws:
      Exception
    • init

      public void init()
    • parse

      public void parse(InputStream inputStream) throws Exception
      Parameters:
      inputStream -
      Throws:
      Exception
    • setUpDigester

      public void setUpDigester()
    • setRulesForStateTag

      private void setRulesForStateTag(String tag)
    • toXml

      public String toXml()
      Returns: