Package webwork.action.standard
Class XML
java.lang.Object
webwork.action.ActionSupport
webwork.action.standard.XML
- All Implemented Interfaces:
Serializable,Action,IllegalArgumentAware
XML "execution" wrapper.
- Version:
- $Revision: 1.7 $
- Author:
- Rickard Öberg (rickard@middleware-company.com)
- See Also:
-
Field Summary
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()Execute will first check the request for a result exception.protected URLprotected Stringprotected DocumentparseDocument(URL documentUrl) voidsetDocumentName(String documentName) Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doExecute, doValidation, getActionName, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getText, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
-
Constructor Details
-
XML
public XML()
-
-
Method Details
-
execute
Description copied from class:ActionSupportExecute 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:
executein interfaceAction- Overrides:
executein classActionSupport- Returns:
- view
- Throws:
Exception- thrown if a system level exception occurs. Application level exceptions should be handled by returning an error value, such as Action.ERROR.
-
setDocumentName
-
getDocument
-
parseDocument
protected Document parseDocument(URL documentUrl) throws IOException, ParserConfigurationException, SAXException -
getDocumentURL
-
handleException
-