out.println("tag.addAttribute(attr);");
}
out.println("com.caucho.jsp.cfg.TldVariable var;");
for (int i = 0; i < _variables.size(); i++) {
TldVariable var = _variables.get(i);
out.println("var = new com.caucho.jsp.cfg.TldVariable();");
if (var.getNameGiven() != null)
out.println("var.setNameGiven(\"" + var.getNameGiven() + "\");");
if (var.getNameFromAttribute() != null)
out.println("var.setNameFromAttribute(\"" + var.getNameFromAttribute() + "\");");
String type = var.getVariableClass();
if (type != null)
out.println("var.setVariableClass(\"" + type + "\");");
out.println("var.setDeclare(" + var.getDeclare() + ");");
if (var.getScope() != null)
out.println("var.setScope(\"" + var.getScope() + "\");");
out.println("tag.addVariable(var);");
}
String bodyContent = _bodyContent;