Top Description Constructors Methods
com.ongres.scram.common

public Class ScramAttributeValue

extends AbstractCharAttributeValue
Class Inheritance
Imports
com.ongres.scram.common.exception.ScramParseException, com.ongres.scram.common.util.AbstractCharAttributeValue

Parse and write SCRAM Attribute-Value pairs.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ScramAttributeValue

Returns:

The parsed class
parse
(String
The string that contains the Attribute-Value pair.
value
)

Parses a potential ScramAttributeValue String.

public static StringBuffer
Inherited from com.ongres.scram.common.util.AbstractCharAttributeValue:
getChargetValuewriteTo

Constructor Detail

ScramAttributeValueback to summary
public ScramAttributeValue(ScramAttributes attribute, String value)

Method Detail

parseback to summary
public static ScramAttributeValue parse(String value) throws ScramParseException

Parses a potential ScramAttributeValue String.

Parameters
value:String

The string that contains the Attribute-Value pair.

Returns:ScramAttributeValue

The parsed class

Exceptions
ScramParseException:
If the argument is empty or an invalid Attribute-Value
writeToback to summary
public static StringBuffer writeTo(StringBuffer sb, ScramAttributes attribute, String value)