net.charlesames.music.ensemble
Class EnsembleEntity.AttributeTable

java.lang.Object
  extended by net.charlesames.music.ensemble.EnsembleEntity.AttributeTable
Enclosing class:
EnsembleEntity

public class EnsembleEntity.AttributeTable
extends java.lang.Object

Generates an HTML-formated list of attributes, each represented as a name-value pair.

Author:
Charles Ames

Constructor Summary
EnsembleEntity.AttributeTable()
          Constructor for AttributeTable instances.
 
Method Summary
 void add(java.lang.String name, java.lang.String value)
           
 void build(HtmlBuilder builder, int level)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnsembleEntity.AttributeTable

public EnsembleEntity.AttributeTable()
Constructor for AttributeTable instances.

Method Detail

add

public void add(java.lang.String name,
                java.lang.String value)
Parameters:
name - The attribute name.
value - The attribute's value in this instance.

build

public void build(HtmlBuilder builder,
                  int level)
           throws java.lang.Exception
Parameters:
builder - The HTML formatter which accumulates nested descriptions.
level - The number of parent-child generations between the top-level Ensemble instance and this component.
Throws:
java.lang.Exception