net.esper.util
Class PlaceholderParser.TextFragment

java.lang.Object
  extended by net.esper.util.PlaceholderParser.Fragment
      extended by net.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.


Constructor Summary
PlaceholderParser.TextFragment(String value)
          Ctor.
 
Method Summary
 boolean equals(Object obj)
           
 boolean isParameter()
          Returns true to indicate this is a parameter and not a text fragment.
 String toString()
           
 
Methods inherited from class net.esper.util.PlaceholderParser.Fragment
getValue, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlaceholderParser.TextFragment

public PlaceholderParser.TextFragment(String value)
Ctor.

Parameters:
value - is the text
Method Detail

equals

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

toString

public String toString()
Overrides:
toString in class 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.