com.espertech.esper.util
Class PlaceholderParser.Fragment

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

public abstract static class PlaceholderParser.Fragment
extends java.lang.Object

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


Constructor Summary
protected PlaceholderParser.Fragment(java.lang.String value)
          Ctor.
 
Method Summary
 java.lang.String getValue()
          Returns the string text of the fragment.
 int hashCode()
           
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, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaceholderParser.Fragment

protected PlaceholderParser.Fragment(java.lang.String value)
Ctor.

Parameters:
value - is the fragment text
Method Detail

getValue

public java.lang.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.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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