Element cls = document.createElement("class");
functions.appendChild(cls);
if (classDoc.tags("prefix").length == 1) {
cls.setAttribute("prefix", classDoc.tags("prefix")[0].text());
}
cls.setAttribute("description", classDoc.commentText());
MethodDoc[] methods = classDoc.methods();
for (int j = 0; j < methods.length; j++) {
MethodDoc method = methods[j];
Element function = document.createElement("function");