Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.singularsys.jep.configurableparser.tokens
Class StringToken

    java.lang.Object
      com.singularsys.jep.configurableparser.tokens.Token
          com.singularsys.jep.configurableparser.tokens.StringToken

    public class StringToken

extends Token

Single or double quoted strings.

Author:
  Richard Morris

Constructor Summary
`StringToken(java.lang.String source, java.lang.String uquote, char delim)` Build a string token.

Method Summary
`char` | `getQuoteChar()`
`java.lang.String` | `getUnquotedString()` Gets the string without quote marks.
`boolean` | `isString()`

Methods inherited from class com.singularsys.jep.configurableparser.tokens.Token
`equals, getLength, getSource, hashCode, isBinary, isComment, isFunction, isIdentifier, isImplicitMulRhs, isNumber, isOperator, isPrefix, isSuffix, isSymbol, isTernary, isWhiteSpace, toString`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### StringToken

    public StringToken(java.lang.String source,
                       java.lang.String uquote,
                       char delim)

  Build a string token.

  Parameters:
    `source` - the source text which matches
    `uquote` - the unquoted text
    `delim` - the delimiter character used

Method Detail

### isString

    public boolean isString()

  Overrides:
    `isString` in class `Token`

### getUnquotedString

    public java.lang.String getUnquotedString()

  Gets the string without quote marks.

  Returns:
    the matched string without quote marks

### getQuoteChar

    public char getQuoteChar()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 Singular Systems http://www.singularsys.com/jep