write the descriptor class to a DOM tree and return it
LicenseDescriptor licenseDesc = descriptor.getLicenseDescriptor();
if (licenseDesc != null) {
Node licenseNode = appendChild(parent,
ConnectorTagNames.LICENSE);
writeLocalizedDescriptions(licenseNode, licenseDesc);
appendTextChild(licenseNode, ConnectorTagNames.LICENSE_REQUIRED,
licenseDesc.getLicenseRequiredValue());
}
return parent;