edu.rice.cs.util.sexp
Class QuotedTextAtom

java.lang.Object
  extended by edu.rice.cs.util.sexp.TextAtom
      extended by edu.rice.cs.util.sexp.QuotedTextAtom
All Implemented Interfaces:
Atom, SExp

 class QuotedTextAtom
extends TextAtom

this type of text atom is mostly like its super class except its string representation includes the sourrounding quotes and the instances of the characters: \ " etc are turned into their corresponding escape character sequences.


Field Summary
 
Fields inherited from class edu.rice.cs.util.sexp.TextAtom
_text
 
Constructor Summary
QuotedTextAtom(String text)
           
 
Method Summary
 String toString()
          If the given text was a quoted string, the text returned excludes the quotes around the string.
 
Methods inherited from class edu.rice.cs.util.sexp.TextAtom
accept, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuotedTextAtom

public QuotedTextAtom(String text)
Method Detail

toString

public String toString()
Description copied from class: TextAtom
If the given text was a quoted string, the text returned excludes the quotes around the string.

Overrides:
toString in class TextAtom
Returns:
the text that went into making this atom.