Class PlaceholderParser.Fragment
java.lang.Object
com.espertech.esper.common.internal.util.PlaceholderParser.Fragment
- Direct Known Subclasses:
PlaceholderParser.ParameterFragment
,PlaceholderParser.TextFragment
- Enclosing class:
- PlaceholderParser
Fragment is a parse result, a parse results in an ordered list of fragments.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Fragment
Ctor.- Parameters:
value
- is the fragment text
-
-
Method Details
-
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() -
equals
-