Package org.eclipse.wst.xml.xpath2.processor.internal.ast
public class StringLiteral extends org.eclipse.wst.xml.xpath2.processor.internal.ast.LiteralThe 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.Object | accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v) Support for Visitor interface. |
public java.lang.String | string() |
public org.eclipse.wst.xml.xpath2.processor.internal.types.XSString | value() |
Constructor Detail |
public StringLiteral(java.lang.String value)
Constructor for StringLiteral
Methods Detail |
public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
Support for Visitor interface.
v
java.lang.Object
- Result of Visitor operation.
public java.lang.String string()
java.lang.String
- string value
public org.eclipse.wst.xml.xpath2.processor.internal.types.XSString value()
org.eclipse.wst.xml.xpath2.processor.internal.types.XSString
- xs:string value