da.author.setExpression(author);
da.version = new StringAttribute(da, "version");
da.version.setExpression(version);
da.since = new StringAttribute(da, "since");
da.since.setExpression("");
da.description = new StringParameter(da, "description");
da.description.setExpression(userLevelDocumentation);
//add ports and params
Enumeration portItt = portHash.keys();
while (portItt.hasMoreElements()) {
String name = (String) portItt.nextElement();
String desc = (String) portHash.get(name);
StringAttribute sa = new StringAttribute(da, name + " (port)");
sa.setExpression(desc);
}
Enumeration propItt = propertyHash.keys();
while (propItt.hasMoreElements()) {
String name = (String) propItt.nextElement();
String desc = (String) propertyHash.get(name);
StringParameter sp = new StringParameter(da, name
+ " (parameter)");
sp.setExpression(desc);
}
return da;
} catch (Exception e) {
System.out