Class Substitution.SubstitutionElement

    • Constructor Summary

      Constructors 
      Constructor Description
      SubstitutionElement()
      Constructs a new SubstitutionElement.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract java.lang.String evaluate​(java.util.regex.Matcher rule, java.util.regex.Matcher cond, Resolver resolver)
      Evaluates this element against the given matchers and resolver.
      • Methods inherited from class java.lang.Object

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

      • SubstitutionElement

        public SubstitutionElement()
        Constructs a new SubstitutionElement.
    • Method Detail

      • evaluate

        public abstract java.lang.String evaluate​(java.util.regex.Matcher rule,
                                                  java.util.regex.Matcher cond,
                                                  Resolver resolver)
        Evaluates this element against the given matchers and resolver.
        Parameters:
        rule - the rewrite rule matcher
        cond - the condition matcher
        resolver - the property resolver
        Returns:
        the evaluated string