Class ConditionVisit

java.lang.Object
org.ocpsoft.rewrite.config.ConditionVisit

public class ConditionVisit extends Object
This class allows Visitors to walk through a Condition tree which may contain CompositeCondition elements.
Author:
Christian Kaltepoth
  • Constructor Details

    • ConditionVisit

      public ConditionVisit(Condition root)
      Initialize class with the supplied root Condition
  • Method Details

    • accept

      public void accept(Visitor<Condition> visitor)
      Submit the supplied visitor and apply it to all Condition instances in the tree