public class RegularExpressionString
extends java.lang.Object
Constructor and Description |
---|
RegularExpressionString()
Construct a Ptolemy expression string.
|
RegularExpressionString(java.lang.String value)
Construct a Ptolemy expression string with the given value as its
initial value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get()
Get the current value.
|
java.util.regex.Pattern |
getPattern()
Get the pattern for the regular expression.
|
void |
set(java.lang.String value)
Set the value.
|
java.lang.String |
toString()
Return the regular expression in a string.
|
public RegularExpressionString()
public RegularExpressionString(java.lang.String value)
value
- The initial value.public java.lang.String get()
set(String)
public java.util.regex.Pattern getPattern()
public void set(java.lang.String value)
value
- The value.get()
public java.lang.String toString()
toString
in class java.lang.Object