org.eclipse.ocl.examples.common.label
Class DefaultLabelGeneratorBuilder

java.lang.Object
  extended by org.eclipse.ocl.examples.common.label.AbstractLabelGeneratorBuilder
      extended by org.eclipse.ocl.examples.common.label.DefaultLabelGeneratorBuilder
All Implemented Interfaces:
ILabelGenerator.Builder

public class DefaultLabelGeneratorBuilder
extends AbstractLabelGeneratorBuilder

DefaultLabelGeneratorBuilder builds the label on behalf of a ILabelGenerator.Registry using a StringBuilder.


Field Summary
protected  java.lang.StringBuilder s
           
 
Fields inherited from class org.eclipse.ocl.examples.common.label.AbstractLabelGeneratorBuilder
options, registry
 
Fields inherited from interface org.eclipse.ocl.examples.common.label.ILabelGenerator.Builder
SHOW_CLASS_NAME, SHOW_CLASS_SIMPLE_NAME
 
Constructor Summary
DefaultLabelGeneratorBuilder(ILabelGenerator.Registry registry, java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> options)
           
 
Method Summary
 void appendString(java.lang.String string)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.common.label.AbstractLabelGeneratorBuilder
appendObject, buildLabelFor, getOption, getRegistry, setOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

s

protected final java.lang.StringBuilder s
Constructor Detail

DefaultLabelGeneratorBuilder

public DefaultLabelGeneratorBuilder(ILabelGenerator.Registry registry,
                                    java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> options)
Method Detail

appendString

public void appendString(java.lang.String string)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object