shortdesc.setTextContent(asDocUtil.descToShortDesc(fullDesc));
Element apiDesc = outputObject.createElement("apiDesc");
CDATASection cdata = outputObject.createCDATASection(asDocUtil.validateText(fullDesc, "description", fullName));
apiDesc.appendChild(cdata);
apiClassifierDetail.appendChild(apiDesc);
asDocUtil.convertDescToDITA(apiDesc, oldNewNamesMap);
}
Element apiAccess = outputObject.createElement("apiAccess");
apiAccess.setAttribute("value", accessLevel);
apiClassifierDef.appendChild(apiAccess);
if (isDynamic.equals("true"))
{
Element apiDynamic = outputObject.createElement("apiDynamic");
apiClassifierDef.appendChild(apiDynamic);
}
else
{
Element apiStatic = outputObject.createElement("apiStatic");
apiClassifierDef.appendChild(apiStatic);
}
if (isFinal.equals("true"))
{
Element apiFinal = outputObject.createElement("apiFinal");
apiClassifierDef.appendChild(apiFinal);
}
if (!author.equals(""))
{
Element tempAuthorElement = outputObject.createElement("author");
tempAuthorElement.setTextContent(author);
prolog.appendChild(tempAuthorElement);
}
Element asMetadata = outputObject.createElement("asMetadata");
prolog.appendChild(asMetadata);
processVersions(record, nuClass);
NodeList nodeList = record.getElementsByTagName("example");
if (nodeList != null)
{
for (int ix = 0; ix < nodeList.getLength(); ix++)
{
Element inputExampleElement = (Element)nodeList.item(ix);
Element exampleElement = outputObject.createElement("example");
CDATASection cdata = outputObject.createCDATASection(asDocUtil.validateText(inputExampleElement.getTextContent(), "example", fullName));
exampleElement.appendChild(cdata);
apiClassifierDetail.appendChild(exampleElement);
asDocUtil.convertDescToDITA(exampleElement, oldNewNamesMap);