Top Description Constructors Methods
com.ongres.scram.common.gssapi

public Class Gs2AttributeValue

extends AbstractCharAttributeValue
Class Inheritance
Imports
com.ongres.scram.common.util.AbstractCharAttributeValue

Parse and write GS2 Attribute-Value pairs.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Gs2AttributeValue

Returns:

The parsed class, or null if the String was null.
parse
(String
The string that contains the Attribute-Value pair (where value is optional).
value
)

Parses a potential Gs2AttributeValue String.

public static StringBuffer
writeTo(StringBuffer sb, Gs2Attributes attribute, String value)

Inherited from com.ongres.scram.common.util.AbstractCharAttributeValue:
getChargetValuewriteTo

Constructor Detail

Gs2AttributeValueback to summary
public Gs2AttributeValue(Gs2Attributes attribute, String value)

Method Detail

parseback to summary
public static Gs2AttributeValue parse(String value) throws IllegalArgumentException

Parses a potential Gs2AttributeValue String.

Parameters
value:String

The string that contains the Attribute-Value pair (where value is optional).

Returns:Gs2AttributeValue

The parsed class, or null if the String was null.

Exceptions
IllegalArgumentException:
If the String is an invalid Gs2AttributeValue
writeToback to summary
public static StringBuffer writeTo(StringBuffer sb, Gs2Attributes attribute, String value)