public abstract class AttributeFormatter extends Object implements ValueListFormatter, AttributeValueFormatter
Constructor and Description |
---|
AttributeFormatter() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
format(Attribute<?> att,
List<? extends AttributeValue> val,
StringBuilder buf)
Format an attribute and its list of values as a string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
format
format
public StringBuilder format(Attribute<?> att, List<? extends AttributeValue> val, StringBuilder buf)
val
- Value of the attribute. May be null
if the attribute is set but
has no value.buf
- String buffer to which the formatted attribute is appended.Copyright © 2001-2013 the JGloss developers. All Rights Reserved.