Package com.ongres.scram.common
Class Gs2AttributeValue
- java.lang.Object
-
- com.ongres.scram.common.StringWritable
-
- com.ongres.scram.common.AbstractCharAttributeValue<Gs2Attributes>
-
- com.ongres.scram.common.Gs2AttributeValue
-
final class Gs2AttributeValue extends AbstractCharAttributeValue<Gs2Attributes>
Parse and write GS2 Attribute-Value pairs.
-
-
Constructor Summary
Constructors Constructor Description Gs2AttributeValue(@NotNull Gs2Attributes attribute, @Nullable java.lang.String value)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static @NotNull Gs2AttributeValue
parse(@NotNull java.lang.String value)
Parses a potential Gs2AttributeValue String.-
Methods inherited from class com.ongres.scram.common.AbstractCharAttributeValue
getChar, getValue, writeTo
-
-
-
-
Constructor Detail
-
Gs2AttributeValue
Gs2AttributeValue(@NotNull @NotNull Gs2Attributes attribute, @Nullable @Nullable java.lang.String value)
-
-
Method Detail
-
parse
@NotNull static @NotNull Gs2AttributeValue parse(@NotNull @NotNull java.lang.String value)
Parses a potential Gs2AttributeValue String.- Parameters:
value
- The string that contains the Attribute-Value pair (where value is optional).- Returns:
- The parsed class, or null if the String was null.
- Throws:
java.lang.IllegalArgumentException
- If the String is an invalid Gs2AttributeValue
-
-