com.espertech.esper.util
Class PlaceholderParser.TextFragment
java.lang.Object
com.espertech.esper.util.PlaceholderParser.Fragment
com.espertech.esper.util.PlaceholderParser.TextFragment
- Enclosing class:
- PlaceholderParser
public static class PlaceholderParser.TextFragment
- extends PlaceholderParser.Fragment
Represents a piece of text in a parse string with placeholder values.
Method Summary |
boolean |
equals(java.lang.Object obj)
|
boolean |
isParameter()
Returns true to indicate this is a parameter and not a text fragment. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PlaceholderParser.TextFragment
public PlaceholderParser.TextFragment(java.lang.String value)
- Ctor.
- Parameters:
value
- is the text
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isParameter
public boolean isParameter()
- Description copied from class:
PlaceholderParser.Fragment
- Returns true to indicate this is a parameter and not a text fragment.
- Specified by:
isParameter
in class PlaceholderParser.Fragment
- Returns:
- true if parameter fragement, false if text fragment.