net.esper.util
Class PlaceholderParser.Fragment

java.lang.Object
  extended by net.esper.util.PlaceholderParser.Fragment
Direct Known Subclasses:
PlaceholderParser.ParameterFragment, PlaceholderParser.TextFragment
Enclosing class:
PlaceholderParser

public abstract static class PlaceholderParser.Fragment
extends Object

Fragment is a parse result, a parse results in an ordered list of fragments.


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

Constructor Detail

PlaceholderParser.Fragment

protected PlaceholderParser.Fragment(String value)
Ctor.

Parameters:
value - is the fragment text
Method Detail

getValue

public String 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.