fieldDefEl.setAttribute("name", fieldDefinition.getName()); fieldDefEl.setAttribute("value", fieldDefinition.getValueExpression()); fieldDefEl.setAttribute("source", fieldDefinition.getValueSource().toString().toLowerCase()); addParams(fieldDefinition.getParams(), fieldDefEl); docExtrEl.setAttribute("value", docExtrDef.getValueExpression()); if (docExtrDef.getValueSource() != null) docExtrEl.setAttribute("source", docExtrDef.getValueSource().toString().toLowerCase()); if (docExtrDef.getMimeType() != null) docExtrEl.setAttribute("type", docExtrDef.getMimeType()); addParams(docExtrDef.getParams(), docExtrEl);
fieldDefEl.setAttribute("name", fieldDefinition.getName()); fieldDefEl.setAttribute("value", fieldDefinition.getValueExpression()); fieldDefEl.setAttribute("source", fieldDefinition.getValueSource().toString().toLowerCase()); addParams(fieldDefinition.getParams(), fieldDefEl); docExtrEl.setAttribute("value", docExtrDef.getValueExpression()); if (docExtrDef.getValueSource() != null) docExtrEl.setAttribute("source", docExtrDef.getValueSource().toString().toLowerCase()); if (docExtrDef.getMimeType() != null) docExtrEl.setAttribute("type", docExtrDef.getMimeType()); addParams(docExtrDef.getParams(), docExtrEl);