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