public class Gs2AttributeValue extends AbstractCharAttributeValue
Constructor and Description |
---|
Gs2AttributeValue(Gs2Attributes attribute,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
static Gs2AttributeValue |
parse(java.lang.String value)
Parses a potential Gs2AttributeValue String.
|
static java.lang.StringBuffer |
writeTo(java.lang.StringBuffer sb,
Gs2Attributes attribute,
java.lang.String value) |
getChar, getValue, writeTo
toString
public Gs2AttributeValue(Gs2Attributes attribute, java.lang.String value)
public static java.lang.StringBuffer writeTo(java.lang.StringBuffer sb, Gs2Attributes attribute, java.lang.String value)
public static Gs2AttributeValue parse(java.lang.String value) throws java.lang.IllegalArgumentException
value
- The string that contains the Attribute-Value pair (where value is optional).java.lang.IllegalArgumentException
- If the String is an invalid Gs2AttributeValue