if (docExtrDef.getValueSource() != null) docExtrEl.setAttribute("source", docExtrDef.getValueSource().toString().toLowerCase()); if (docExtrDef.getMimeType() != null) docExtrEl.setAttribute("type", docExtrDef.getMimeType()); addParams(docExtrDef.getParams(), docExtrEl);
if (docExtrDef.getValueSource() != null) docExtrEl.setAttribute("source", docExtrDef.getValueSource().toString().toLowerCase()); if (docExtrDef.getMimeType() != null) docExtrEl.setAttribute("type", docExtrDef.getMimeType()); addParams(docExtrDef.getParams(), docExtrEl);