Class AbstractSwitch

  • All Implemented Interfaces:
    Replacer
    Direct Known Subclasses:
    AbstractParameterSwitch, AbstractRegionSwitch

    public abstract class AbstractSwitch
    extends java.lang.Object
    implements Replacer
    A replacer that modifies the definition list by skipping all elements till next occurrence of the implemented class if a certain condition is true.
    Version:
    1.0
    Author:
    Andreas
    • Constructor Detail

      • AbstractSwitch

        public AbstractSwitch()
    • Method Detail

      • getReplacement

        public java.lang.Object getReplacement​(java.lang.Object o)
        Tests on switch activity and returns the string representation of this.
        Specified by:
        getReplacement in interface Replacer
      • isSwitchingObject

        public abstract boolean isSwitchingObject​(java.lang.Object o)
        Defines the state of this switch for the given object.