*
* @param rssRoot the root element of the RSS document to parse for text-input information.
* @return the parsed RSSTextInput bean.
*/
protected TextInput parseTextInput(Element rssRoot) {
TextInput textInput = null;
Element eTextInput = getTextInput(rssRoot);
if (eTextInput!=null) {
textInput = new TextInput();
Element e = eTextInput.getChild("title",getRSSNamespace());
if (e!=null) {
textInput.setTitle(e.getText());
}
e = eTextInput.getChild("description",getRSSNamespace());
if (e!=null) {
textInput.setDescription(e.getText());
}
e = eTextInput.getChild("name",getRSSNamespace());
if (e!=null) {
textInput.setName(e.getText());
}
e = eTextInput.getChild("link",getRSSNamespace());
if (e!=null) {
textInput.setLink(e.getText());
}
}
return textInput;
}