com.espertech.esper.util
Class PlaceholderParser.ParameterFragment
java.lang.Object
com.espertech.esper.util.PlaceholderParser.Fragment
com.espertech.esper.util.PlaceholderParser.ParameterFragment
- Enclosing class:
- PlaceholderParser
public static class PlaceholderParser.ParameterFragment
- extends PlaceholderParser.Fragment
Represents a parameter in a parsed string of texts and parameters.
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.ParameterFragment
public PlaceholderParser.ParameterFragment(java.lang.String value)
- Ctor.
- Parameters:
value
- is the parameter name
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
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.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object