public class AbstractCharAttributeValue extends AbstractStringWritable implements CharAttributeValue
| Constructor and Description |
|---|
AbstractCharAttributeValue(CharAttribute charAttribute,
String value) |
| Modifier and Type | Method and Description |
|---|---|
char |
getChar()
Return the char used to represent this attribute
|
String |
getValue()
Returns the value associated with the
CharAttribute |
StringBuffer |
writeTo(StringBuffer sb)
Write the class information to the given StringBuffer.
|
toStringpublic AbstractCharAttributeValue(CharAttribute charAttribute, String value) throws IllegalArgumentException
IllegalArgumentExceptionpublic char getChar()
CharAttributegetChar in interface CharAttributepublic String getValue()
CharAttributeValueCharAttributegetValue in interface CharAttributeValuepublic StringBuffer writeTo(StringBuffer sb)
StringWritablewriteTo in interface StringWritablesb - Where to write the data.Copyright © 2017–2020. All rights reserved.