Package com.ongres.scram.common
Class AbstractCharAttributeValue<T extends CharSupplier>
java.lang.Object
com.ongres.scram.common.StringWritable
com.ongres.scram.common.AbstractCharAttributeValue<T>
- Direct Known Subclasses:
Gs2AttributeValue
,ScramAttributeValue
Construct and write generic CharAttribute-Value pairs.
Concrete sub-classes should also provide a static parse(String) creation method.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractCharAttributeValue
(T charAttribute, String value) -
Method Summary
Modifier and TypeMethodDescriptionfinal char
getChar()
getValue()
(package private) StringBuilder
writeTo
(StringBuilder sb) Write the class information to the given StringBuffer.
-
Field Details
-
charAttribute
private final char charAttribute -
value
-
-
Constructor Details
-
AbstractCharAttributeValue
-
-
Method Details
-
getChar
public final char getChar() -
getValue
-
writeTo
Description copied from class:StringWritable
Write the class information to the given StringBuffer.- Specified by:
writeTo
in classStringWritable
- Parameters:
sb
- Where to write the data.- Returns:
- The same StringBuffer.
-