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)
AttributeValue
compareForOperation
in interface AttributeValue
other
- attribute value.op
- attribute expression operation.other
matches the current value for the
operation op
.public void validateAndInitializeValue(String valueStr) throws IOException
AttributeValue
validateAndInitializeValue
in interface AttributeValue
valueStr
- value.IOException
- io error occur.public String getValue()
getValue
in interface AttributeValue
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.