net.sf.sasl.language.placeholder.syntax.types
Class SingleQuotedStringNode
java.lang.Object
net.sf.sasl.language.placeholder.syntax.ASTNode
net.sf.sasl.language.placeholder.syntax.types.TypeValueNode<String>
net.sf.sasl.language.placeholder.syntax.types.StringNode
net.sf.sasl.language.placeholder.syntax.types.SingleQuotedStringNode
public class SingleQuotedStringNode
- extends StringNode
Defines a string node for single quoted strings.
- Since:
- 0.0.1 (sasl-common-aspect-library)
- Author:
- Philipp Förmer
|
Constructor Summary |
SingleQuotedStringNode(String value)
Creates a single quoted string node that stores the given single quoted
string value as normalized string value and has got no parent node. |
SingleQuotedStringNode(String value,
ASTNode parentNode)
Creates a single quoted string node that stores the given single quoted
string value as normalized string value and has got the given parent as
its parent node. |
SingleQuotedStringNode
public SingleQuotedStringNode(String value)
throws IllegalArgumentException
- Creates a single quoted string node that stores the given single quoted
string value as normalized string value and has got no parent node. The
single quoted string will be decoded to a normalized string that has no
single quote at the start and end of the string.
- Parameters:
value - non null single quoted string.
- Throws:
IllegalArgumentException - if value is null or not a well formed single quoted string.- Since:
- 0.0.1 (sasl-common-aspect-library)
SingleQuotedStringNode
public SingleQuotedStringNode(String value,
ASTNode parentNode)
throws IllegalArgumentException
- Creates a single quoted string node that stores the given single quoted
string value as normalized string value and has got the given parent as
its parent node. The single quoted string will be decoded to a normalized
string that has no single quote at the start and end of the string.
- Parameters:
value - non null single quoted string.parentNode - null or non null parent node.
- Throws:
IllegalArgumentException - if value is null or not a well formed single quoted string.- Since:
- 0.0.1 (sasl-common-aspect-library)
Copyright © 2010. All Rights Reserved.