public class

XML

extends ActionSupport
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ webwork.action.standard.XML

Class Overview

XML "execution" wrapper.

See Also

Summary

[Expand]
Inherited Constants
From interface webwork.action.Action
[Expand]
Inherited Fields
From class webwork.action.ActionSupport
Public Constructors
XML()
Public Methods
String execute()
Execute will first check the request for a result exception.
Document getDocument()
void setDocumentName(String documentName)
Protected Methods
URL getDocumentURL()
String handleException(Exception e)
Document parseDocument(URL documentUrl)
[Expand]
Inherited Methods
From class webwork.action.ActionSupport
From class java.lang.Object
From interface webwork.action.Action
From interface webwork.action.IllegalArgumentAware

Public Constructors

public XML ()

Public Methods

public String execute ()

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().

Returns
  • view
Throws
Exception

public Document getDocument ()

public void setDocumentName (String documentName)

Protected Methods

protected URL getDocumentURL ()

protected String handleException (Exception e)

protected Document parseDocument (URL documentUrl)

Throws
IOException
ParserConfigurationException
SAXException