public final class StringValue extends Object implements DataValue
| Constructor and Description |
|---|
StringValue(String value)
Create a value with the specified string content.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ValueVisitor visitor) |
StringValue |
copy() |
boolean |
equals(Object o) |
DataType |
getType() |
String |
getValue()
Returns the underlying string content.
|
int |
hashCode() |
String |
toString() |
public StringValue(String value)
value - stringCoreException - if the passed string is nullpublic String getValue()
public void accept(ValueVisitor visitor)
public StringValue copy()
copy in interface DataValueConcurrentModificationException
if the DataValue is modified at the time of coping.Copyright © 2022. All rights reserved.