}
final Tag[] responseParamTags = methodDoc.tags("response.param");
for (Tag responseParamTag : responseParamTags) {
// LOG.info( "Have responseparam tag: " + print( responseParamTag ) );
final WadlParamType wadlParam = new WadlParamType();
for (Tag inlineTag : responseParamTag.inlineTags()) {
final String tagName = inlineTag.name();
final String tagText = inlineTag.text();
/* skip empty tags
*/
if (isEmpty(tagText)) {
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Skipping empty inline tag of @response.param in method " +
methodDoc.qualifiedName() + ": " + tagName);
}
continue;
}
if ("@name".equals(tagName)) {
wadlParam.setName(tagText);
} else if ("@style".equals(tagName)) {
wadlParam.setStyle(tagText);
} else if ("@type".equals(tagName)) {
wadlParam.setType(QName.valueOf(tagText));
} else if ("@doc".equals(tagName)) {
wadlParam.setDoc(tagText);
} else {
LOG.warning("Unknown inline tag of @response.param in method " +
methodDoc.qualifiedName() + ": " + tagName +
" (value: " + tagText + ")");
}