A B C D E F G H I L M N O P R S T U V W

A

A - Class in se.lu.thep.waf.dom.html
 
A() - Constructor for class se.lu.thep.waf.dom.html.A
 
AbstractAction - Class in se.lu.thep.waf
Actions are steps in an event.
AbstractAction() - Constructor for class se.lu.thep.waf.AbstractAction
Should be called by all subclasses as it creates the logger.
ACTION_PARAMETER - Static variable in class se.lu.thep.waf.Event
 
ActionException - Exception in se.lu.thep.waf
 
ActionException() - Constructor for exception se.lu.thep.waf.ActionException
 
ActionException(String) - Constructor for exception se.lu.thep.waf.ActionException
 
ActionException(String, Throwable) - Constructor for exception se.lu.thep.waf.ActionException
 
ActionException(Throwable) - Constructor for exception se.lu.thep.waf.ActionException
 
ActionFactoryInterface - Interface in se.lu.thep.waf
Implementations of this interface should initiate an action pool and associate these with an id.
actionId - Variable in class se.lu.thep.waf.AbstractAction
 
ActionServlet - Class in se.lu.thep.waf
In a model-view-controller(mvc) model this is the controller.
ActionServlet() - Constructor for class se.lu.thep.waf.ActionServlet
 
add(Tag) - Method in class se.lu.thep.waf.dom.html.Tag
Adds tag A as child of tag B
addClass(String) - Method in class se.lu.thep.waf.dom.html.Tag
 
Area - Class in se.lu.thep.waf.dom.html
This class describes an image map area in HTML.
Area() - Constructor for class se.lu.thep.waf.dom.html.Area
 
Attribute - Class in se.lu.thep.waf.dom.html
 
Attribute(String, String) - Constructor for class se.lu.thep.waf.dom.html.Attribute
 
Attribute(String, Integer) - Constructor for class se.lu.thep.waf.dom.html.Attribute
 

B

Base - Class in se.lu.thep.waf.dom.html
 
Base() - Constructor for class se.lu.thep.waf.dom.html.Base
 
Body - Class in se.lu.thep.waf.dom.html
 
Body() - Constructor for class se.lu.thep.waf.dom.html.Body
 
Br - Class in se.lu.thep.waf.dom.html
 
Br() - Constructor for class se.lu.thep.waf.dom.html.Br
 

C

CData - Class in se.lu.thep.waf.dom.html
 
CData(String) - Constructor for class se.lu.thep.waf.dom.html.CData
 
check() - Method in class se.lu.thep.waf.dom.html.Input
 
clone() - Method in class se.lu.thep.waf.AbstractAction
 

D

Dd - Class in se.lu.thep.waf.dom.html
 
Dd() - Constructor for class se.lu.thep.waf.dom.html.Dd
 
destroy() - Method in interface se.lu.thep.waf.ActionFactoryInterface
 
destroy() - Method in class se.lu.thep.waf.ActionServlet
 
disable() - Method in class se.lu.thep.waf.dom.html.Input
 
Div - Class in se.lu.thep.waf.dom.html
 
Div() - Constructor for class se.lu.thep.waf.dom.html.Div
 
Dl - Class in se.lu.thep.waf.dom.html
 
Dl() - Constructor for class se.lu.thep.waf.dom.html.Dl
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class se.lu.thep.waf.ActionServlet
 
done() - Method in class se.lu.thep.waf.Event
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class se.lu.thep.waf.ActionServlet
 
draw(TagWriter) - Method in class se.lu.thep.waf.dom.html.Tag
 
draw(Tag) - Method in class se.lu.thep.waf.HtmlTagWriter
 
draw(Tag) - Method in class se.lu.thep.waf.TagWriter
 
draw(Tag) - Method in class se.lu.thep.waf.TextTagWriter
 
Dt - Class in se.lu.thep.waf.dom.html
 
Dt() - Constructor for class se.lu.thep.waf.dom.html.Dt
 

E

Event<IDTemplate> - Class in se.lu.thep.waf
Events are created by the ActionServlet for each request.
Event(HttpServletRequest, HttpServletResponse, ActionServlet, ActionFactoryInterface) - Constructor for class se.lu.thep.waf.Event
 
Event.State - Enum in se.lu.thep.waf
Defines the states of an event
EventException - Exception in se.lu.thep.waf
 
EventException() - Constructor for exception se.lu.thep.waf.EventException
 
EventException(String, Throwable) - Constructor for exception se.lu.thep.waf.EventException
 
EventException(String) - Constructor for exception se.lu.thep.waf.EventException
 
EventException(Throwable) - Constructor for exception se.lu.thep.waf.EventException
 

F

fetchTempDirPath() - Method in class se.lu.thep.waf.Event
Obtains path to directory for temporary files from initparameters.
Fieldset - Class in se.lu.thep.waf.dom.html
 
Fieldset() - Constructor for class se.lu.thep.waf.dom.html.Fieldset
 
finalize() - Method in class se.lu.thep.waf.dom.html.Tag
Prints out an error if this tag requires a parent but doesn't have one.
flush() - Method in class se.lu.thep.waf.TagWriter
 
Form - Class in se.lu.thep.waf.dom.html
 
Form() - Constructor for class se.lu.thep.waf.dom.html.Form
 
Format - Enum in se.lu.thep.waf.constraints
 
formatBytes(Long) - Static method in class se.lu.thep.waf.util.Values
Formats a value using units of bytes, kilobytes, megabytes or gigabytes.
formatDate(Date) - Static method in class se.lu.thep.waf.util.Values
Formats a date as four-digit year, two-digit month and two-digit day separated with a hyphen.
formatDateTime(Date) - Static method in class se.lu.thep.waf.util.Values
Formats a date as four-digit year, two-digit month and two-digit day separated with a hyphen and a time as two-digit hour, minute and seconds separated with a colon.
formatMessage(String, Object...) - Static method in class se.lu.thep.waf.util.Values
Insert the values of parameters into a template message.
formatNumber(Float, int) - Static method in class se.lu.thep.waf.util.Values
Formats a decimal number with the specified number of decimals.
formatNumber(Float, int, String) - Static method in class se.lu.thep.waf.util.Values
Formats a decimal number with the specified number of decimals and optionally adding a unit.
formatTime(Date) - Static method in class se.lu.thep.waf.util.Values
Formats a time as two-digit hour, two-digit minute and two-digit seconds separated with a colon.
formatTime(long) - Static method in class se.lu.thep.waf.util.Values
Formats a number of seconds to a more proper time format.
Frame - Class in se.lu.thep.waf.dom.html
 
Frame() - Constructor for class se.lu.thep.waf.dom.html.Frame
 
FrameSet - Class in se.lu.thep.waf.dom.html
 
FrameSet() - Constructor for class se.lu.thep.waf.dom.html.FrameSet
 

G

get(HttpServletRequest) - Method in class se.lu.thep.waf.constraints.VAttr
 
getAbstractAction(String, Event) - Method in interface se.lu.thep.waf.ActionFactoryInterface
Returns a new action ready for running.
getAttributes() - Method in class se.lu.thep.waf.dom.html.Tag
 
getBoolean(String) - Static method in class se.lu.thep.waf.util.Values
Convert a string to a boolean.
getBoolean(String, boolean) - Static method in class se.lu.thep.waf.util.Values
Convert a string to a boolean.
getDate(String) - Static method in class se.lu.thep.waf.util.Values
Convert a string to a date.
getDate(String, Date) - Static method in class se.lu.thep.waf.util.Values
Convert a string to a date.
getDate(String[]) - Static method in class se.lu.thep.waf.util.Values
Convert an array of strings to an array of Date:s.
getDouble(String) - Static method in class se.lu.thep.waf.util.Values
Convert a string to a double.
getDouble(String, double) - Static method in class se.lu.thep.waf.util.Values
Convert a string to a double.
getDouble(String, Double) - Static method in class se.lu.thep.waf.util.Values
 
getDouble(String[]) - Static method in class se.lu.thep.waf.util.Values
Convert an array of strings to an array of Double:s.
getElements() - Method in class se.lu.thep.waf.dom.html.Tag
 
getEvent() - Method in class se.lu.thep.waf.AbstractAction
All actions should be part of an event.
getFloat(String) - Static method in class se.lu.thep.waf.util.Values
Convert a string to an float.
getFloat(String, float) - Static method in class se.lu.thep.waf.util.Values
Convert a string to an integer.
getFloat(String, Float) - Static method in class se.lu.thep.waf.util.Values
 
getFloat(String[]) - Static method in class se.lu.thep.waf.util.Values
Convert an array of strings to an array of Float:s.
getFormat() - Method in class se.lu.thep.waf.constraints.VDate
 
getFormats() - Method in class se.lu.thep.waf.constraints.VDate
 
getForwardTo() - Method in class se.lu.thep.waf.AbstractAction
Used by the ActionServlet to chain actions together.
getHtml(String, HttpServletRequest) - Method in class se.lu.thep.waf.Layout
Converts a layout to a html representation Tag object.
getId() - Method in class se.lu.thep.waf.AbstractAction
Get the id of this action, the id should be set by the ActionFactory
getId(Class<D>) - Method in interface se.lu.thep.waf.ActionFactoryInterface
 
getId() - Method in class se.lu.thep.waf.constraints.VAttr
 
getInt(String) - Static method in class se.lu.thep.waf.util.Values
Convert a string to an integer.
getInt(String, int) - Static method in class se.lu.thep.waf.util.Values
Convert a string to an integer.
getInt(String[]) - Static method in class se.lu.thep.waf.util.Values
Convert an array of strings to an array of Integer:s.
getInteger(String, Integer) - Static method in class se.lu.thep.waf.util.Values
 
getLastAction() - Method in class se.lu.thep.waf.Event
 
getLayout() - Method in class se.lu.thep.waf.AbstractAction
Get the layout create by this action.
getLoggedInUser() - Method in class se.lu.thep.waf.AbstractAction
If a user has logged on then the principal of that user is returned
getLoginAction() - Method in exception se.lu.thep.waf.LoginRequiredException
 
getLong(String) - Static method in class se.lu.thep.waf.util.Values
Convert a string to a long.
getLong(String, long) - Static method in class se.lu.thep.waf.util.Values
Convert a string to an long.
getLong(String, Long) - Static method in class se.lu.thep.waf.util.Values
Convert a string to an long.
getLong(String[]) - Static method in class se.lu.thep.waf.util.Values
Convert an array of strings to an array of Long:s.
getMax() - Method in class se.lu.thep.waf.constraints.VFloat
 
getMax() - Method in class se.lu.thep.waf.constraints.VInteger
 
getMaxCharacterLength() - Method in class se.lu.thep.waf.constraints.VString
 
getMin() - Method in class se.lu.thep.waf.constraints.VFloat
 
getMin() - Method in class se.lu.thep.waf.constraints.VInteger
 
getMinCharacterLength() - Method in class se.lu.thep.waf.constraints.VString
 
getName() - Method in class se.lu.thep.waf.constraints.VParameter
 
getName() - Method in class se.lu.thep.waf.dom.html.Attribute
 
getName() - Method in class se.lu.thep.waf.dom.html.Tag
 
getParam() - Method in exception se.lu.thep.waf.constraints.InvalidParameterValue
 
getParent() - Method in class se.lu.thep.waf.dom.html.Tag
 
getPattern() - Method in enum se.lu.thep.waf.constraints.Format
 
getRequest() - Method in class se.lu.thep.waf.AbstractAction
 
getRequest() - Method in class se.lu.thep.waf.Event
 
getRequiresParent() - Method in class se.lu.thep.waf.dom.html.Tag
 
getResponse() - Method in class se.lu.thep.waf.AbstractAction
 
getResponse() - Method in class se.lu.thep.waf.Event
 
getRoot() - Method in class se.lu.thep.waf.dom.html.Tag
 
getSessionAttribute(VBoolean) - Method in class se.lu.thep.waf.AbstractAction
Returns a Boolean value defined by the VBoolean param from the HttpRequest session for the given parameter.
getSessionAttribute(VString) - Method in class se.lu.thep.waf.AbstractAction
Adapter method for getRequest().getSession().getAttribute(name)
getSessionAttribute(VInteger) - Method in class se.lu.thep.waf.AbstractAction
 
getSessionAttributeList(VInteger) - Method in class se.lu.thep.waf.AbstractAction
Adapter method for getRequest().getSession().getAttribute(name) when retrieving a list of Integer values.
getState() - Method in class se.lu.thep.waf.Event
 
getStr() - Method in class se.lu.thep.waf.dom.html.CData
 
getString(HttpServletRequest, String) - Static method in class se.lu.thep.waf.util.RequestUtil
Use this method in templates to retrieve values when you do not want to get a null value.
getString(String) - Static method in class se.lu.thep.waf.util.Values
Convert a string to a string, and map NULL to the empty string.
getString(String, String) - Static method in class se.lu.thep.waf.util.Values
Convert a string to a string.
getString(Collection<?>, String, boolean) - Static method in class se.lu.thep.waf.util.Values
 
getStringOrNull(String) - Static method in class se.lu.thep.waf.util.Values
Convert the empty string ("") to null after removing leading and trailing whitespace.
getTemplate() - Method in class se.lu.thep.waf.AbstractAction
Returns the template that should be displayed.
getTemplate() - Method in class se.lu.thep.waf.Layout
 
getValidBoolean(String, VBoolean) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
getValidDate(String, VDate) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
getValidFloat(String, VFloat) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
getValidInteger(String, VInteger) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
getValidString(String, VString) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
getValue() - Method in class se.lu.thep.waf.dom.html.Attribute
 
go() - Method in class se.lu.thep.waf.Event
Handle the next state

H

H1 - Class in se.lu.thep.waf.dom.html
 
H1() - Constructor for class se.lu.thep.waf.dom.html.H1
 
H1(String) - Constructor for class se.lu.thep.waf.dom.html.H1
 
H2 - Class in se.lu.thep.waf.dom.html
 
H2() - Constructor for class se.lu.thep.waf.dom.html.H2
 
H3 - Class in se.lu.thep.waf.dom.html
 
H3() - Constructor for class se.lu.thep.waf.dom.html.H3
 
Head - Class in se.lu.thep.waf.dom.html
 
Head() - Constructor for class se.lu.thep.waf.dom.html.Head
 
Hr - Class in se.lu.thep.waf.dom.html
 
Hr() - Constructor for class se.lu.thep.waf.dom.html.Hr
 
Html - Class in se.lu.thep.waf.dom.html
 
Html() - Constructor for class se.lu.thep.waf.dom.html.Html
 
HtmlTagWriter - Class in se.lu.thep.waf
Writes tag to a PrintWriter.
HtmlTagWriter(PrintWriter) - Constructor for class se.lu.thep.waf.HtmlTagWriter
 

I

IFrame - Class in se.lu.thep.waf.dom.html
 
IFrame() - Constructor for class se.lu.thep.waf.dom.html.IFrame
 
Img - Class in se.lu.thep.waf.dom.html
 
Img() - Constructor for class se.lu.thep.waf.dom.html.Img
 
init() - Method in class se.lu.thep.waf.AbstractAction
Called by the ActionServlet prior to action.run() and used to validate initial state of an action.
init(ActionServlet) - Method in interface se.lu.thep.waf.ActionFactoryInterface
Initiate the factory.
init() - Method in class se.lu.thep.waf.ActionServlet
 
init() - Method in class se.lu.thep.waf.PermissionController
Override this method and initiate all action permissions
Input - Class in se.lu.thep.waf.dom.html
 
Input() - Constructor for class se.lu.thep.waf.dom.html.Input
 
ins(T) - Method in class se.lu.thep.waf.dom.html.Tag
Inserts tag A as a child of tag B Different from Tag.add(Tag)
InvalidAttributeException - Exception in se.lu.thep.waf.constraints
 
InvalidAttributeException(ClassCastException) - Constructor for exception se.lu.thep.waf.constraints.InvalidAttributeException
 
InvalidParameterValue - Exception in se.lu.thep.waf.constraints
Thrown when a value doesn't match a set VParameter
InvalidParameterValue(String) - Constructor for exception se.lu.thep.waf.constraints.InvalidParameterValue
 
InvalidParameterValue(VParameter) - Constructor for exception se.lu.thep.waf.constraints.InvalidParameterValue
 
InvalidParameterValue(VParameter, String) - Constructor for exception se.lu.thep.waf.constraints.InvalidParameterValue
 
isAllowed(AbstractAction, Principal) - Method in class se.lu.thep.waf.PermissionController
Override this method.
isMultipart() - Method in class se.lu.thep.waf.Event
 
isRequired() - Method in class se.lu.thep.waf.constraints.VParameter
 

L

Label - Class in se.lu.thep.waf.dom.html
 
Label() - Constructor for class se.lu.thep.waf.dom.html.Label
 
Layout - Class in se.lu.thep.waf
Layout represents the current view of your application.
Layout() - Constructor for class se.lu.thep.waf.Layout
 
LayoutException - Exception in se.lu.thep.waf
 
LayoutException() - Constructor for exception se.lu.thep.waf.LayoutException
 
LayoutException(String) - Constructor for exception se.lu.thep.waf.LayoutException
 
LayoutException(String, Throwable) - Constructor for exception se.lu.thep.waf.LayoutException
 
LayoutException(Throwable) - Constructor for exception se.lu.thep.waf.LayoutException
 
Legend - Class in se.lu.thep.waf.dom.html
 
Legend() - Constructor for class se.lu.thep.waf.dom.html.Legend
 
Li - Class in se.lu.thep.waf.dom.html
 
Li() - Constructor for class se.lu.thep.waf.dom.html.Li
 
Li(String) - Constructor for class se.lu.thep.waf.dom.html.Li
 
Link - Class in se.lu.thep.waf.dom.html
 
Link() - Constructor for class se.lu.thep.waf.dom.html.Link
 
log - Variable in class se.lu.thep.waf.AbstractAction
Logger used in this action.
log - Static variable in class se.lu.thep.waf.Event
 
log - Static variable in class se.lu.thep.waf.Layout
Logger identified by 'se.lu.thep.waf.Layout'
LoginRequiredException - Exception in se.lu.thep.waf
 
LoginRequiredException() - Constructor for exception se.lu.thep.waf.LoginRequiredException
 
LoginRequiredException(String, Throwable) - Constructor for exception se.lu.thep.waf.LoginRequiredException
 
LoginRequiredException(String) - Constructor for exception se.lu.thep.waf.LoginRequiredException
 
LoginRequiredException(Throwable) - Constructor for exception se.lu.thep.waf.LoginRequiredException
 

M

Map - Class in se.lu.thep.waf.dom.html
This class describes an image map in HTML.
Map() - Constructor for class se.lu.thep.waf.dom.html.Map
 

N

newA() - Method in class se.lu.thep.waf.dom.html.Tag
Factory methods for new tags
newBase() - Method in class se.lu.thep.waf.dom.html.Tag
 
newBody() - Method in class se.lu.thep.waf.dom.html.Tag
 
newBr() - Method in class se.lu.thep.waf.dom.html.Tag
 
newCData(String) - Method in class se.lu.thep.waf.dom.html.Tag
 
newDd() - Method in class se.lu.thep.waf.dom.html.Tag
 
newDiv() - Method in class se.lu.thep.waf.dom.html.Tag
 
newDl() - Method in class se.lu.thep.waf.dom.html.Tag
 
newDt() - Method in class se.lu.thep.waf.dom.html.Tag
 
newFieldset() - Method in class se.lu.thep.waf.dom.html.Tag
 
newForm() - Method in class se.lu.thep.waf.dom.html.Tag
 
newFrame() - Method in class se.lu.thep.waf.dom.html.Tag
 
newFrameSet() - Method in class se.lu.thep.waf.dom.html.Tag
 
newH1() - Method in class se.lu.thep.waf.dom.html.Tag
 
newHead() - Method in class se.lu.thep.waf.dom.html.Tag
 
newImg() - Method in class se.lu.thep.waf.dom.html.Tag
 
newInput() - Method in class se.lu.thep.waf.dom.html.Tag
 
newLabel() - Method in class se.lu.thep.waf.dom.html.Tag
 
newLegend() - Method in class se.lu.thep.waf.dom.html.Tag
 
newLi() - Method in class se.lu.thep.waf.dom.html.Tag
 
newLink() - Method in class se.lu.thep.waf.dom.html.Tag
 
newOption() - Method in class se.lu.thep.waf.dom.html.Tag
 
newScript() - Method in class se.lu.thep.waf.dom.html.Tag
 
newSelect() - Method in class se.lu.thep.waf.dom.html.Tag
 
newSpan() - Method in class se.lu.thep.waf.dom.html.Tag
 
newStyle() - Method in class se.lu.thep.waf.dom.html.Tag
 
newTable() - Method in class se.lu.thep.waf.dom.html.Tag
 
newTd() - Method in class se.lu.thep.waf.dom.html.Tag
 
newTh() - Method in class se.lu.thep.waf.dom.html.Tag
 
newTitle() - Method in class se.lu.thep.waf.dom.html.Tag
 
newTr() - Method in class se.lu.thep.waf.dom.html.Tag
 
newUl() - Method in class se.lu.thep.waf.dom.html.Tag
 

O

Option - Class in se.lu.thep.waf.dom.html
 
Option() - Constructor for class se.lu.thep.waf.dom.html.Option
 

P

ParameterValidator - Class in se.lu.thep.waf.constraints
 
ParameterValidator() - Constructor for class se.lu.thep.waf.constraints.ParameterValidator
 
ParameterValidator2 - Class in se.lu.thep.waf.constraints
Validates values to a given constraint.
ParameterValidator2() - Constructor for class se.lu.thep.waf.constraints.ParameterValidator2
 
parseBytes(String, long) - Static method in class se.lu.thep.waf.util.Values
Parses a string containing the number of bytes formatted as the formatBytes(Long) method.
PermissionController - Class in se.lu.thep.waf
Extend this class and override all methods to verify if a user(Principal) is allowed to run an action or not.
PermissionController() - Constructor for class se.lu.thep.waf.PermissionController
 
PermissionDenied - Exception in se.lu.thep.waf
 
PermissionDenied() - Constructor for exception se.lu.thep.waf.PermissionDenied
 
PermissionDenied(String) - Constructor for exception se.lu.thep.waf.PermissionDenied
 
PermissionDenied(String, Throwable) - Constructor for exception se.lu.thep.waf.PermissionDenied
 
PermissionDenied(Throwable) - Constructor for exception se.lu.thep.waf.PermissionDenied
 

R

RequestUtil - Class in se.lu.thep.waf.util
 
RequestUtil() - Constructor for class se.lu.thep.waf.util.RequestUtil
 
run() - Method in class se.lu.thep.waf.AbstractAction
 

S

Script - Class in se.lu.thep.waf.dom.html
 
Script() - Constructor for class se.lu.thep.waf.dom.html.Script
 
Script(String) - Constructor for class se.lu.thep.waf.dom.html.Script
 
se.lu.thep.waf - package se.lu.thep.waf
Web Application Framework - WAF
se.lu.thep.waf.constraints - package se.lu.thep.waf.constraints
Classes used to define and validate parameters send between the client and a servlet.
se.lu.thep.waf.dom.html - package se.lu.thep.waf.dom.html
Classes used to write html documents ready for writing to the client.
se.lu.thep.waf.util - package se.lu.thep.waf.util
 
select() - Method in class se.lu.thep.waf.dom.html.Option
 
Select - Class in se.lu.thep.waf.dom.html
 
Select() - Constructor for class se.lu.thep.waf.dom.html.Select
 
setAction(String) - Method in class se.lu.thep.waf.dom.html.Form
Sets the form action attribute
setAttribute(String, Object) - Method in class se.lu.thep.waf.AbstractAction
Adapter method for getRequest().setAttribute(name, value)
setAttribute(Attribute) - Method in class se.lu.thep.waf.dom.html.Tag
 
setCellPadding(Integer) - Method in class se.lu.thep.waf.dom.html.Table
 
setCellSpacing(Integer) - Method in class se.lu.thep.waf.dom.html.Table
 
setClass(String) - Method in class se.lu.thep.waf.dom.html.Tag
 
setClearAll() - Method in class se.lu.thep.waf.dom.html.Br
 
setCols(Integer) - Method in class se.lu.thep.waf.dom.html.Textarea
 
setColspan(Integer) - Method in class se.lu.thep.waf.dom.html.Th
 
setCoords(String) - Method in class se.lu.thep.waf.dom.html.Area
 
setCoords(int, int, int, int) - Method in class se.lu.thep.waf.dom.html.Area
 
setEvent(Event) - Method in class se.lu.thep.waf.AbstractAction
Associates this action with the given event.
setFor(String) - Method in class se.lu.thep.waf.dom.html.Label
 
setForwardTo(AbstractAction) - Method in class se.lu.thep.waf.AbstractAction
Set next action to run
setHref(String) - Method in class se.lu.thep.waf.dom.html.A
 
setHref(String) - Method in class se.lu.thep.waf.dom.html.Area
 
setHref(String) - Method in class se.lu.thep.waf.dom.html.Base
 
setId(String) - Method in class se.lu.thep.waf.AbstractAction
Set the id of this action.
setId(String) - Method in class se.lu.thep.waf.dom.html.Form
 
setId(String) - Method in class se.lu.thep.waf.dom.html.Tag
 
setLanguage(String) - Method in class se.lu.thep.waf.dom.html.Script
 
setLastEvent(Event) - Method in interface se.lu.thep.waf.ActionFactoryInterface
Useful to store information about the last event.
setLayout(T) - Method in class se.lu.thep.waf.AbstractAction
Register the layout that should be displayed.
setLoggedInUser(Principal) - Method in class se.lu.thep.waf.AbstractAction
Set the authenticated principal of this action
setLoginAction(AbstractAction) - Method in exception se.lu.thep.waf.LoginRequiredException
 
setMethod(String) - Method in class se.lu.thep.waf.dom.html.Form
 
setMultipart() - Method in class se.lu.thep.waf.dom.html.Form
 
setName(String) - Method in class se.lu.thep.waf.dom.html.Frame
 
setName(String) - Method in class se.lu.thep.waf.dom.html.Input
 
setName(String) - Method in class se.lu.thep.waf.dom.html.Map
 
setName(String) - Method in class se.lu.thep.waf.dom.html.Select
 
setName(String) - Method in class se.lu.thep.waf.dom.html.Textarea
 
setOnChange(String) - Method in class se.lu.thep.waf.dom.html.Select
 
setOnClick(String) - Method in class se.lu.thep.waf.dom.html.Tag
 
setOnMousout(String) - Method in class se.lu.thep.waf.dom.html.Area
 
setOnMousover(String) - Method in class se.lu.thep.waf.dom.html.Area
 
setParent(Tag) - Method in class se.lu.thep.waf.dom.html.Tag
 
setRequiresParent(Boolean) - Method in class se.lu.thep.waf.dom.html.Tag
 
setRows(Integer) - Method in class se.lu.thep.waf.dom.html.Textarea
 
setSessionAttribute(String, Object) - Method in class se.lu.thep.waf.AbstractAction
Adapter method for getRequest().getSession().setAttribute(name, value).
setShape(String) - Method in class se.lu.thep.waf.dom.html.Area
 
setSize(Integer) - Method in class se.lu.thep.waf.dom.html.Input
 
setSrc(String) - Method in class se.lu.thep.waf.dom.html.Frame
 
setSrc(String) - Method in class se.lu.thep.waf.dom.html.Img
 
setSrc(String) - Method in class se.lu.thep.waf.dom.html.Script
 
setStyle(String) - Method in class se.lu.thep.waf.dom.html.Tag
 
setTarget(String) - Method in class se.lu.thep.waf.dom.html.A
 
setTemplate(String) - Method in class se.lu.thep.waf.AbstractAction
Register a template path which the ActionServlet can display when an event has no more actions in the queue.
setTemplate(String) - Method in class se.lu.thep.waf.Layout
 
setTitle(String) - Method in class se.lu.thep.waf.dom.html.Tag
 
setType(String) - Method in class se.lu.thep.waf.dom.html.Input
 
setType(String) - Method in class se.lu.thep.waf.dom.html.Script
 
setUsemap(String) - Method in class se.lu.thep.waf.dom.html.Img
 
setValue(String) - Method in class se.lu.thep.waf.dom.html.Input
 
setValue(String) - Method in class se.lu.thep.waf.dom.html.Option
 
Span - Class in se.lu.thep.waf.dom.html
 
Span() - Constructor for class se.lu.thep.waf.dom.html.Span
 
StringConverter - Class in se.lu.thep.waf.constraints
Sole task is to convert a string into another type e.g.
StringConverter() - Constructor for class se.lu.thep.waf.constraints.StringConverter
 
Style - Class in se.lu.thep.waf.dom.html
 
Style() - Constructor for class se.lu.thep.waf.dom.html.Style
 

T

Table - Class in se.lu.thep.waf.dom.html
 
Table() - Constructor for class se.lu.thep.waf.dom.html.Table
 
Tag<D extends Tag> - Class in se.lu.thep.waf.dom.html
The tag class represents any tag available in html.
Tag() - Constructor for class se.lu.thep.waf.dom.html.Tag
 
Tag(String) - Constructor for class se.lu.thep.waf.dom.html.Tag
 
TagWriter - Class in se.lu.thep.waf
Abstract class for writing tags using a PrintWriter
TagWriter(PrintWriter) - Constructor for class se.lu.thep.waf.TagWriter
 
Td - Class in se.lu.thep.waf.dom.html
 
Td() - Constructor for class se.lu.thep.waf.dom.html.Td
 
Td(String) - Constructor for class se.lu.thep.waf.dom.html.Td
 
TemplateException - Exception in se.lu.thep.waf
 
TemplateException() - Constructor for exception se.lu.thep.waf.TemplateException
 
TemplateException(String) - Constructor for exception se.lu.thep.waf.TemplateException
 
TemplateException(String, Throwable) - Constructor for exception se.lu.thep.waf.TemplateException
 
TemplateException(Throwable) - Constructor for exception se.lu.thep.waf.TemplateException
 
Textarea - Class in se.lu.thep.waf.dom.html
 
Textarea() - Constructor for class se.lu.thep.waf.dom.html.Textarea
 
TextTagWriter - Class in se.lu.thep.waf
Only writes out the data between tags, no attributes and no tags.
TextTagWriter(PrintWriter) - Constructor for class se.lu.thep.waf.TextTagWriter
 
Th - Class in se.lu.thep.waf.dom.html
 
Th() - Constructor for class se.lu.thep.waf.dom.html.Th
 
Th(String) - Constructor for class se.lu.thep.waf.dom.html.Th
 
Title - Class in se.lu.thep.waf.dom.html
 
Title() - Constructor for class se.lu.thep.waf.dom.html.Title
 
Title(String) - Constructor for class se.lu.thep.waf.dom.html.Title
 
toBoolean(String) - Method in class se.lu.thep.waf.constraints.StringConverter
 
toDate(String, List<Format>) - Method in class se.lu.thep.waf.constraints.StringConverter
 
toDouble(String) - Method in class se.lu.thep.waf.constraints.StringConverter
 
toFloat(String) - Method in class se.lu.thep.waf.constraints.StringConverter
 
toInteger(String) - Method in class se.lu.thep.waf.constraints.StringConverter
 
toString() - Method in class se.lu.thep.waf.AbstractAction
 
toString() - Method in class se.lu.thep.waf.Event
 
Tr - Class in se.lu.thep.waf.dom.html
 
Tr() - Constructor for class se.lu.thep.waf.dom.html.Tr
 
trimString(String, int) - Static method in class se.lu.thep.waf.util.Values
Trims long strings to a maximum of maxLength characters.

U

Ul - Class in se.lu.thep.waf.dom.html
 
Ul() - Constructor for class se.lu.thep.waf.dom.html.Ul
 

V

validate(VDate, String) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
validate(VString, String) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
validate(VInteger, String) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
validate(VFloat, String) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
validate(VInteger, Integer) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
validate(VFloat, Float) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
validate(VBoolean, String) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
validate(VBoolean, Boolean) - Method in class se.lu.thep.waf.constraints.ParameterValidator
 
validate(VFloat, Float) - Method in class se.lu.thep.waf.constraints.ParameterValidator2
 
validate(VInteger, Integer) - Method in class se.lu.thep.waf.constraints.ParameterValidator2
 
validate(VString, String) - Method in class se.lu.thep.waf.constraints.ParameterValidator2
 
validate(VBoolean, Boolean) - Method in class se.lu.thep.waf.constraints.ParameterValidator2
 
validate(VDate, Date) - Method in class se.lu.thep.waf.constraints.ParameterValidator2
 
valueOf(String) - Static method in enum se.lu.thep.waf.constraints.Format
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum se.lu.thep.waf.Event.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum se.lu.thep.waf.constraints.Format
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum se.lu.thep.waf.Event.State
Returns an array containing the constants of this enum type, in the order they are declared.
Values - Class in se.lu.thep.waf.util
This class contains a set of static methods that may be useful for handling strings, ints and other values.
Values() - Constructor for class se.lu.thep.waf.util.Values
 
VAttr<T> - Class in se.lu.thep.waf.constraints
This class represents a valid attribute used primarily by implementations AbstractAction to forward data to templates.
VAttr(String) - Constructor for class se.lu.thep.waf.constraints.VAttr
 
VBoolean - Class in se.lu.thep.waf.constraints
 
VBoolean(String, Boolean) - Constructor for class se.lu.thep.waf.constraints.VBoolean
 
VDate - Class in se.lu.thep.waf.constraints
Supports the following datetime formats
VDate(String, Boolean, Format) - Constructor for class se.lu.thep.waf.constraints.VDate
 
VDate(String, Boolean, Format...) - Constructor for class se.lu.thep.waf.constraints.VDate
Constructs a valid date with multiple valid formats
verifyExistensOfAttributes(HttpServletRequest, String...) - Static method in class se.lu.thep.waf.util.RequestUtil
Use this method in your templates to verify that all required attributes are available, not null.
verifyParameters(HttpServletRequest, VParameter...) - Static method in class se.lu.thep.waf.util.RequestUtil
Verifies each VParameter against the values in the request.
verifyParameters(List<VParameter>, HttpServletRequest) - Static method in class se.lu.thep.waf.util.RequestUtil
 
verifySessionAttributes(HttpServletRequest, String...) - Static method in class se.lu.thep.waf.util.RequestUtil
Same as verifyExistensOfAttributes(...) but works on session attributes
VFloat - Class in se.lu.thep.waf.constraints
Defines a valid float
VFloat(String, Boolean) - Constructor for class se.lu.thep.waf.constraints.VFloat
 
VFloat(String, Float) - Constructor for class se.lu.thep.waf.constraints.VFloat
 
VFloat(String, Float, Float) - Constructor for class se.lu.thep.waf.constraints.VFloat
 
VFloat(String, Float, Float, Boolean) - Constructor for class se.lu.thep.waf.constraints.VFloat
 
VInteger - Class in se.lu.thep.waf.constraints
Defines a valid Integer value
VInteger(String, Integer, Integer) - Constructor for class se.lu.thep.waf.constraints.VInteger
The same as VInteger(name, min, max, false)
VInteger(String, Integer, Integer, Boolean) - Constructor for class se.lu.thep.waf.constraints.VInteger
 
VInteger(String, Integer, Boolean) - Constructor for class se.lu.thep.waf.constraints.VInteger
Creates an VInteger with no upper limit and required
VInteger(String, Integer) - Constructor for class se.lu.thep.waf.constraints.VInteger
Creates an VInteger with no upper limit
VParameter - Class in se.lu.thep.waf.constraints
Valid param representation.
VParameter(String, Boolean) - Constructor for class se.lu.thep.waf.constraints.VParameter
 
VParameter(String) - Constructor for class se.lu.thep.waf.constraints.VParameter
 
VString - Class in se.lu.thep.waf.constraints
Valid string constraints.
VString(String, Integer, Integer) - Constructor for class se.lu.thep.waf.constraints.VString
 
VString(String, Integer, Integer, Boolean) - Constructor for class se.lu.thep.waf.constraints.VString
 

W

writeEndTag(PrintWriter, Tag<?>) - Method in class se.lu.thep.waf.HtmlTagWriter
 
writer - Variable in class se.lu.thep.waf.TagWriter
PrintWriter used for writing
writeStartTag(PrintWriter, Tag) - Method in class se.lu.thep.waf.HtmlTagWriter
 

A B C D E F G H I L M N O P R S T U V W