private void parseDescription(final Element e, final Metadata md) {
        try {
            final Element description = e.getChild("description", getNS());

            if (description != null) {
                md.setDescription(description.getText());
                md.setDescriptionType(description.getAttributeValue("type"));
            }
        } catch (final Exception ex) {
            LOG.warn("Exception parsing description tag.", ex);
        }
    }
private void parseDescription ( final Element e , final Metadata md ) { try { final Element description = e . getChild ( "description" , getNS ( ) ) ; if ( description != null ) { md . setDescription ( description . getText ( ) ) ; md . setDescriptionType ( description . getAttributeValue ( "type" ) ) ; } } catch ( final Exception ex ) { LOG . warn ( "Exception parsing description tag." , ex ) ; } }
@param e element to parse
@param md metadata to fill in