Class PlaceholderParser.Fragment

java.lang.Object
com.espertech.esper.common.internal.util.PlaceholderParser.Fragment
Direct Known Subclasses:
PlaceholderParser.ParameterFragment, PlaceholderParser.TextFragment
Enclosing class:
PlaceholderParser

public abstract static class PlaceholderParser.Fragment extends Object
Fragment is a parse result, a parse results in an ordered list of fragments.
  • Constructor Details

    • Fragment

      protected Fragment(String value)
      Ctor.
      Parameters:
      value - is the fragment text
  • Method Details

    • getValue

      public String getValue()
      Returns the string text of the fragment.
      Returns:
      fragment string
    • isParameter

      public abstract boolean isParameter()
      Returns true to indicate this is a parameter and not a text fragment.
      Returns:
      true if parameter fragement, false if text fragment.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object