Package org.eclipse.wst.xml.xpath2.processor.internal.ast


org.eclipse.wst.xml.xpath2.processor.internal.ast
Class StringLiteral



public class StringLiteral
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.Literal
The value of a string literal is an atomic value whose type is xs:string and whose value is the string denoted by the characters between the delimiting apostrophes or quotation marks. If the literal is delimited by apostrophes, two adjacent apostrophes within the literal are interpreted as a single apostrophe. Similarly, if the literal is delimited by quotation marks, two adjacent quotation marks within the literal are interpreted as one quotation mark

Constructor Summary

StringLiteral(java.lang.String value)

Method Summary

public java.lang.Objectaccept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
     Support for Visitor interface.
public java.lang.Stringstring()
    
public org.eclipse.wst.xml.xpath2.processor.internal.types.XSStringvalue()
    

Constructor Detail

StringLiteral

public StringLiteral(java.lang.String value)

Constructor for StringLiteral


Methods Detail

accept

public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)

Support for Visitor interface.

Parameters

v

Returns

java.lang.Object - Result of Visitor operation.


string

public java.lang.String string()

Returns

java.lang.String - string value


value

public org.eclipse.wst.xml.xpath2.processor.internal.types.XSString value()

Returns

org.eclipse.wst.xml.xpath2.processor.internal.types.XSString - xs:string value