org.apache.struts2.showcase.hangman
Class GuessCharacterAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.struts2.showcase.hangman.GuessCharacterAction
All Implemented Interfaces:
Action, LocaleProvider, TextProvider, Validateable, ValidationAware, java.io.Serializable, SessionAware

public class GuessCharacterAction
extends ActionSupport
implements SessionAware

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
GuessCharacterAction()
           
 
Method Summary
 java.lang.String execute()
           
 java.lang.Character getCharacter()
           
 Hangman getHangman()
           
 void setCharacter(java.lang.Character character)
           
 void setSession(java.util.Map session)
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuessCharacterAction

public GuessCharacterAction()
Method Detail

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface Action
Overrides:
execute in class ActionSupport
Throws:
java.lang.Exception

getHangman

public Hangman getHangman()

setSession

public void setSession(java.util.Map session)
Specified by:
setSession in interface SessionAware

setCharacter

public void setCharacter(java.lang.Character character)

getCharacter

public java.lang.Character getCharacter()


Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.