ParseRss (2)








scaffold API Documentation: Class ParseRss











Overview 
Package 
 Class 
Tree 
Deprecated 
Index 
Help 










 PREV CLASS 
 NEXT CLASS

FRAMES  
 NO FRAMES



SUMMARY:  INNER | FIELD | CONSTR | METHOD

DETAIL:  FIELD | CONSTR | METHOD








org.apache.struts.scaffold.rss

Class ParseRss

java.lang.Object
|
+--org.apache.struts.action.Action
|
+--org.apache.struts.scaffold.BaseAction
|
+--org.apache.struts.scaffold.rss.ParseRss



public final class ParseRssextends BaseAction


Read and parse RSS file found at a given path, save the Channel bean in request scope, and forward to "success".


Version: $Revision: 1.1 $ $Date: 2002/08/14 18:30:30 $
Author: Ted Husted












Field Summary



static java.lang.String
CHANNEL_KEY


          Request attribute key for saving Channel bean ["CHANNEL"].


 

Fields inherited from class org.apache.struts.scaffold.BaseAction


CONFIRM_MAX, DETAILS, ERROR, REMOTE_SERVER_KEY, TOKEN_SEP


 

Fields inherited from class org.apache.struts.action.Action


ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY


 





Constructor Summary


ParseRss()


           


 





Method Summary



 void
executeLogic(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)


          Read and parse RSS file found at a given path, save the Channel bean in request scope, and forward to "success".


 

Methods inherited from class org.apache.struts.scaffold.BaseAction


catchException, createHelperBean, createHelperObject, execute, findFailure, findSuccess, getErrors, getException, getLocale, getMessageResources, getMessages, getProperties, getRemoteServer, getRemoteServerName, getTokenSep, isDebug, isErrors, isLogLevel, isMessages, isStruts_1_0, isVerbose, mergeAlerts, perform, postProcess, preProcess, saveErrors, saveMessages, setException, setLocale, tokenize


 

Methods inherited from class org.apache.struts.action.Action


, execute, generateToken, getDataSource, getDataSource, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, resetToken, saveErrors, saveMessages, saveToken, setServlet, toHex


 

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait


 







Field Detail




CHANNEL_KEY

public static final java.lang.String CHANNEL_KEY

Request attribute key for saving Channel bean ["CHANNEL"].






Constructor Detail




ParseRss

public ParseRss()








Method Detail




executeLogic

public void executeLogic(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception

Read and parse RSS file found at a given path, save the Channel bean in request scope, and forward to "success".
Overrides:executeLogic in class BaseAction


Parameters:mapping - The ActionMapping used to select this instanceactionForm - The optional ActionForm bean for this request (if any)request - The HTTP request we are processingresponse - The resonse we are creatingerrors - Our ActionErrors collection











Overview 
Package 
 Class 
Tree 
Deprecated 
Index 
Help 










 PREV CLASS 
 NEXT CLASS

FRAMES  
 NO FRAMES



SUMMARY:  INNER | FIELD | CONSTR | METHOD

DETAIL:  FIELD | CONSTR | METHOD





Copyright © 2001-2002 - Apache Software Foundation




Wyszukiwarka