| java.lang.Object org.griphyn.vdl.parser.VDLtQuotedString
VDLtQuotedString | class VDLtQuotedString implements VDLtToken(Code) | | Class to pass the content from a quoted string from scanner to parser.
This class is module-local on purpose.
author: Jens-S. Vöckler version: $Revision: 50 $ |
Method Summary | |
public static String | getQuotedValue(String unquoted) Turns the content of a string into a quoted version of itself.
The quote and backslash character are quoted by prepending a
backslash in front of them. | public String | getValue() Obtains the current, unmodified content of the string. |
VDLtQuotedString | public VDLtQuotedString(String value)(Code) | | Contructs a new string value to pass.
Parameters: value - is the content of the string. |
getQuotedValue | public static String getQuotedValue(String unquoted)(Code) | | Turns the content of a string into a quoted version of itself.
The quote and backslash character are quoted by prepending a
backslash in front of them. Single quotes (apostrophe) are not
touched.
Parameters: unquoted - is the raw string that may require quoting. null if the input was null, or the quoted string. |
getValue | public String getValue()(Code) | | Obtains the current, unmodified content of the string. This
means that quote characters inside the string will remain
as-is.
the content of the quoted string. |
|
|