org.crsh.cmdline.matcher
Class LiteralValue

java.lang.Object
  extended by org.crsh.cmdline.matcher.LiteralValue

public final class LiteralValue
extends Object

A literal value.

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
LiteralValue(String rawValue, String value)
           
 
Method Summary
 String getRawValue()
          Returns the value as expressed in the command line.
 String getValue()
          Returns the value as interpreted by the context.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LiteralValue

public LiteralValue(String rawValue,
                    String value)
Method Detail

getRawValue

public String getRawValue()
Returns the value as expressed in the command line.

Returns:
the raw value

getValue

public String getValue()
Returns the value as interpreted by the context.

Returns:
the value

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 eXo Platform SAS. All Rights Reserved.