com.espertech.esper.util
Class PlaceholderParser.TextFragment

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


Constructor Summary
PlaceholderParser.TextFragment(java.lang.String value)
          Ctor.
 
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 com.espertech.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(java.lang.String value)
Ctor.

Parameters:
value - is the text
Method Detail

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.

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com