public abstract class AbstractLabelGeneratorBuilder extends java.lang.Object implements ILabelGenerator.Builder
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> |
options |
protected ILabelGenerator.Registry |
registry |
SHOW_CLASS_NAME, SHOW_CLASS_SIMPLE_NAME
Modifier | Constructor and Description |
---|---|
protected |
AbstractLabelGeneratorBuilder(ILabelGenerator.Registry registry,
java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> options) |
Modifier and Type | Method and Description |
---|---|
void |
appendObject(java.lang.Object object)
Append the generated label of an object to the overall generated label.
|
void |
buildLabelFor(java.lang.Object object) |
<T> T |
getOption(ILabelGenerator.Option<T> option) |
ILabelGenerator.Registry |
getRegistry() |
<T> void |
setOption(ILabelGenerator.Option<T> option,
T value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendString
protected final ILabelGenerator.Registry registry
protected java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> options
protected AbstractLabelGeneratorBuilder(ILabelGenerator.Registry registry, java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> options)
public void appendObject(java.lang.Object object)
ILabelGenerator.Builder
appendObject
in interface ILabelGenerator.Builder
object
- to be appended.public void buildLabelFor(java.lang.Object object)
buildLabelFor
in interface ILabelGenerator.Builder
public <T> T getOption(ILabelGenerator.Option<T> option)
getOption
in interface ILabelGenerator.Builder
public ILabelGenerator.Registry getRegistry()
getRegistry
in interface ILabelGenerator.Builder
public <T> void setOption(ILabelGenerator.Option<T> option, T value)
setOption
in interface ILabelGenerator.Builder