webwork.examples.jdom
Class RssSources

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bywebwork.examples.jdom.JDOMUrl
          extended bywebwork.examples.jdom.RssReader
              extended bywebwork.examples.jdom.RssSources
All Implemented Interfaces:
Action, CommandDriven, IllegalArgumentAware, java.io.Serializable, ServletRequestAware

public class RssSources
extends RssReader

Used to access the RSS file containing the feed sources

Version:
$Revision: 1.5 $
Author:
Maurice C. Parker (maurice@vineyardenterprise.com)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages, log
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
RssSources()
           
 
Method Summary
 java.lang.String execute()
          Execute will first check the request for a result exception.
 
Methods inherited from class webwork.examples.jdom.RssReader
doExecute, getChannel, getItems
 
Methods inherited from class webwork.examples.jdom.JDOMUrl
buildUrl, doValidation, getDocument, getUrl, setServletRequest, setUrl
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, getActionName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getText, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Constructor Detail

RssSources

public RssSources()
Method Detail

execute

public java.lang.String execute()
                         throws java.lang.Exception
Description copied from class: ActionSupport
Execute will first check the request for a result exception. If one is found, then it will add its message as an error message and throw the ResultException. If there no exception is found, then it will invoke the "command" - invokeCommand(). If we are not invoking a command, it will call validate() and then doExecute().

Specified by:
execute in interface Action
Overrides:
execute in class ActionSupport
Returns:
view
Throws:
java.lang.Exception


Copyright © 2001-2003 WebWork All Rights Reserved.