{
appendAttribute(sb, "id", peer.getId());
}
} else if (key.equals("handler"))
{
InheritableValueMap map = opts.getOptions("handler");
String handler = (String) map.resolve(obj.getClass());
appendAttribute(sb, "handler", handler);
} else if (key.equals("font"))
{
if (obj instanceof Component)
{
Component com = (Component) obj;
Font f = com.getFont();
if (f != null)
{
appendAttribute(sb, "fontSize", String.valueOf(f.getSize()));
}
}
} else if (key.equals("events"))
{
InheritableValueMap evtConfigs = opts.getOptions("events");
Iterator it = getConfig(obj.getClass(), evtConfigs).entrySet().iterator();
while (it.hasNext())
{
Map.Entry entry = (Map.Entry) it.next();
if (_listenerChecker.hasListener((Component) obj, (String) entry.getValue()))