public class StringAttributeValue extends Object implements AttributeValue
| Constructor and Description |
|---|
StringAttributeValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compareForOperation(AttributeValue other,
AttributeExpressionOperation op)
compare the value against the other based on the
AttributeExpressionOperation.
|
String |
getValue() |
String |
toString() |
void |
validateAndInitializeValue(String valueStr)
validate the value based on the type and initialize for further compare
operations.
|
public boolean compareForOperation(AttributeValue other, AttributeExpressionOperation op)
AttributeValuecompareForOperation in interface AttributeValueother - attribute value.op - attribute expression operation.other matches the current value for the
operation op.public void validateAndInitializeValue(String valueStr) throws IOException
AttributeValuevalidateAndInitializeValue in interface AttributeValuevalueStr - value.IOException - io error occur.public String getValue()
getValue in interface AttributeValueCopyright © 2008–2024 Apache Software Foundation. All rights reserved.