Class QuotedString

  • All Implemented Interfaces:
    Token

    public class QuotedString
    extends java.lang.Object
    implements Token
    Class to capture the content within a quoted string.
    Version:
    $Revision$
    Author:
    Jens Voeckler, Karan Vahi, Gaurang Mehta
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String m_value
      This instance variable captures the token value for the quoted string.
    • Constructor Summary

      Constructors 
      Constructor Description
      QuotedString​(java.lang.String tokenValue)
      Initializes an instance of a quoted string.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getValue()
      Obtains the token value of a given string token.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_value

        private java.lang.String m_value
        This instance variable captures the token value for the quoted string.
    • Constructor Detail

      • QuotedString

        public QuotedString​(java.lang.String tokenValue)
        Initializes an instance of a quoted string.
        Parameters:
        tokenValue - is the string content to remember.
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Obtains the token value of a given string token.
        Returns:
        the token value.