net.esper.util
Class PlaceholderParser.ParameterFragment

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


Constructor Summary
PlaceholderParser.ParameterFragment(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.ParameterFragment

public PlaceholderParser.ParameterFragment(String value)
Ctor.

Parameters:
value - is the parameter name
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals 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.

toString

public String toString()
Overrides:
toString in class Object

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com