public class XML extends ActionSupport
command, errorMap, errorMessages, log| Constructor and Description |
|---|
XML() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute()
Execute will first check the request for a result exception.
|
Document |
getDocument() |
protected URL |
getDocumentURL() |
protected String |
handleException(Exception e) |
protected Document |
parseDocument(URL documentUrl) |
void |
setDocumentName(String documentName) |
addError, addErrorMessage, addIllegalArgumentException, doDefault, doExecute, doValidation, getActionName, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getText, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validatepublic String execute() throws Exception
ActionSupportexecute in interface Actionexecute in class ActionSupportException - thrown if a system level exception occurs. Application level exceptions should be handled by
returning an error value, such as Action.ERROR.public void setDocumentName(String documentName)
public Document getDocument()
protected Document parseDocument(URL documentUrl) throws IOException, ParserConfigurationException, SAXException
protected URL getDocumentURL()
Copyright © 2013 Atlassian. All Rights Reserved.