Map scripts = (Map)getPrivateObject(this, "scriptModules");
if (scripts != null && scripts.size() > 0) {
Set keys = scripts.keySet();
result.append("<script>");
for (Iterator iterator = keys.iterator(); iterator.hasNext();) {
SimpleScriptModule scriptModule = (SimpleScriptModule)
scripts.get(iterator.next());
if (scriptModule != null) {
result.append("<module");
Object value;
if ((value = scriptModule.getId()) != null) {
result.append(" id=\"" + value + "\"");
}
result.append(">");
Map scriptFilters = (Map)getPrivateObject(scriptModule,
"scriptFilters");