Class FrankDigesterRules

java.lang.Object
org.frankframework.configuration.digester.FrankDigesterRules
All Implemented Interfaces:
org.apache.commons.digester3.binder.RulesModule, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class FrankDigesterRules extends Object implements org.apache.commons.digester3.binder.RulesModule, org.springframework.context.ApplicationContextAware
Custom implementation that replaces the old digester-rules.xml file. Where previously you had to specify a 'create', 'set-properties' and a 'set-next-rule' In this implementation you only have to call 'createRule(rulesBinder, PATTERN, NEXT-RULE')
Author:
Niels Meijer
  • Field Details

  • Constructor Details

    • FrankDigesterRules

      public FrankDigesterRules(org.apache.commons.digester3.Digester digester)
      We need to parse the Digester in case a factory create rule is used
    • FrankDigesterRules

      public FrankDigesterRules(org.apache.commons.digester3.Digester digester, Resource digesterRules)
  • Method Details

    • configure

      public void configure(org.apache.commons.digester3.binder.RulesBinder rulesBinder)
      Specified by:
      configure in interface org.apache.commons.digester3.binder.RulesModule
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware