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

## com.novell.xml.xpath
Class LiteralToken

    java.lang.Object
      com.novell.xml.xpath.Token
          com.novell.xml.xpath.LiteralToken

    public class LiteralToken

extends Token

Class representing a string literal token in XPath expression language

See Also:
  `Scanner`

Field Summary

Fields inherited from class com.novell.xml.xpath.Token
`AT, AXIS_NAME, COLON_COLON, COMMA, DOT, DOT_DOT, FUNCTION_NAME, LEFT_BRACKET, LEFT_PAREN, LITERAL, MAX_TYPE, NODE_TYPE, NOT_A_TOKEN, NUMBER, OPERATOR, RIGHT_BRACKET, RIGHT_PAREN, VARIABLE_REF, WILDCARD_NAME`

Constructor Summary
`LiteralToken(String literal)` Construct Token representing a string literal

Method Summary
`boolean` | `equals(Token rhs)` Compare this Token to passed Token
`String` | `getValue()` Return value of string literal
`String` | `toString()` Return text representing this LiteralToken

Methods inherited from class com.novell.xml.xpath.Token
`dump, getType`

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

Constructor Detail

### LiteralToken

    public LiteralToken(String literal)

  Construct Token representing a string literal

  Parameters:
    `literal` - String to represent

Method Detail

### equals

    public boolean equals(Token rhs)

  Compare this Token to passed Token

  Overrides:
    `equals` in class `Token`
  Parameters:
    `rhs` - Token to compare against
  Returns:
    true if this Token equals rhs Token

### getValue

    public String getValue()

  Return value of string literal

  Returns:
    value of string literal

### toString

    public String toString()

  Return text representing this LiteralToken

  Overrides:
    `toString` in class `Token`
  Returns:
    String representing this Token

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