Class StringLiteralNode

  • All Implemented Interfaces:
    AliasableNode

    public class StringLiteralNode
    extends LiteralNode
    INTERNAL

    Purpose: Represent a String literal

    Responsibilities:

    • Generate the correct expression for the string
    Since:
    TopLink 4.0
    Author:
    Jon Driscoll and Joel Lucuik
    • Constructor Detail

      • StringLiteralNode

        public StringLiteralNode()
        Return a new StringLiteralNode
      • StringLiteralNode

        public StringLiteralNode​(String theString)
        Return a new StringLiteralNode with the internal string set to the passed value
    • Method Detail

      • validate

        public void validate​(ParseTreeContext context)
        INTERNAL Validate node and calculate its type.
        Overrides:
        validate in class Node