private void parseResponses(final Element e, final Metadata md) {
        final Element responsesElement = e.getChild("responses", getNS());
        if (responsesElement != null) {
            final List<Element> responseElements = responsesElement.getChildren("response", getNS());
            final String[] responses = new String[responseElements.size()];
            for (int i = 0; i < responseElements.size(); i++) {
                responses[i] = responseElements.get(i).getTextTrim();
            }
            md.setResponses(responses);
        }
    }
private void parseResponses ( final Element e , final Metadata md ) { final Element responsesElement = e . getChild ( "responses" , getNS ( ) ) ; if ( responsesElement != null ) { final List < Element > responseElements = responsesElement . getChildren ( "response" , getNS ( ) ) ; final String [ ] responses = new String [ responseElements . size ( ) ] ; for ( int i = 0 ; i < responseElements . size ( ) ; i ++ ) { responses [ i ] = responseElements . get ( i ) . getTextTrim ( ) ; } md . setResponses ( responses ) ; } }
@param e element to parse
@param md metadata to fill in