Class StringLocalStep<S,E>

All Implemented Interfaces:
Serializable, Cloneable, Iterator<Traverser.Admin<E>>, Step<S,E>
Direct Known Subclasses:
LengthLocalStep, LTrimLocalStep, ReplaceLocalStep, RTrimLocalStep, SplitLocalStep, SubstringLocalStep, ToLowerLocalStep, ToUpperLocalStep, TrimLocalStep

public abstract class StringLocalStep<S,E> extends ScalarMapStep<S,E>
See Also:
  • Constructor Details

  • Method Details

    • map

      protected E map(Traverser.Admin<S> traverser)
      Specified by:
      map in class ScalarMapStep<S,E>
    • getRequirements

      public Set<TraverserRequirement> getRequirements()
      Description copied from interface: Step
      Provide the necessary TraverserRequirement that must be met by the traverser in order for the step to function properly. The provided default implements returns an empty set.
      Returns:
      the set of requirements
    • getTrimmedString

      public static String getTrimmedString(String s, boolean lTrim, boolean rTrim)
    • applyStringOperation

      protected abstract E applyStringOperation(String item)
    • getStepName

      protected abstract String getStepName()