All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

Account. Static variable in class com.sdi.wap.demo.site.DemoSite
Dynamic (servlet based) pages
accountAttributeName. Static variable in class com.sdi.wap.SiteImpl
The name of the session attribute that is reserved to hold the Account of the currently logged in user.
AccountBean(Connection, Identifier, Name, Email). Constructor for class com.sdi.wap.demo.bean.AccountBean
Insert the method's description here.
accountID. Variable in class com.sdi.wap.demo.bean.AccountBean
Instance information (stored in DBMS)
accountID. Variable in class com.sdi.wap.demo.bean.AddressBean
accountParameterName. Static variable in class com.sdi.wap.demo.site.DemoSite
The name of a reserved session attribute the the site's Login State sets with an instance of the currently logged in Account.
addChild(Page). Method in class com.sdi.wap.Page
Add a page as a child of this page.
addChildren(Page[]). Method in class com.sdi.wap.Page
Add a list of children
address. Variable in class com.sdi.wap.demo.bean.AccountBean
AddressBean(Identifier, Street, City, USState, Zipcode, Phone). Constructor for class com.sdi.wap.demo.bean.AddressBean
AddressBean constructor comment.
anchor. Variable in class com.sdi.wap.Page
The anchor text for this page (short)

B

BeanImpl(). Constructor for class com.sdi.wap.demo.bean.BeanImpl
Insert the method's description here.

C

checkUrlValidity(Site). Static method in class com.sdi.wap.StaticPage
Complain if any urls do not exist
children. Variable in class com.sdi.wap.Page
The children of this page
children. Variable in class com.sdi.wap.RoleImpl
city. Variable in class com.sdi.wap.demo.bean.AddressBean
City(String). Constructor for class com.sdi.wap.demo.field.City
Name constructor comment.
clients. Static variable in class com.sdi.wap.ConnectionPoolManager
composeArgList(String[], Validatable[]). Static method in class com.sdi.wap.State
Utility for encoding arguments into name=value&name2=value2 format.
connection. Variable in class com.sdi.wap.demo.bean.AccountBean
Cached information (computed and stored with the session, not in the database)
ConnectionPool(). Constructor for class com.sdi.wap.ConnectionPool
connectionPoolManager. Static variable in class com.sdi.wap.ConnectionPool
ConnectionPoolManager(). Constructor for class com.sdi.wap.ConnectionPoolManager
A private constructor since this is a Singleton
contextName. Static variable in class com.sdi.wap.demo.site.DemoSite
This site's context/zone name
controller(). Method in class com.sdi.wap.State
Abstract controller method to be implemented by all subclasses
controller(). Method in interface com.sdi.wap.View
Abstract controller method to be implemented by all subclasses
controller(). Method in class com.sdi.wap.demo.site.ViewAccount
Abstract controller method to be implemented by all subclasses
controller(). Method in class com.sdi.wap.demo.site.ViewAddress
Abstract controller method to be implemented by all subclasses
controller(). Method in class com.sdi.wap.demo.site.ViewLogin
Abstract controller method to be implemented by all subclasses
controller(). Method in class com.sdi.wap.demo.site.ViewLogout
Abstract controller method to be implemented by all subclasses
controller(). Method in class com.sdi.wap.demo.site.ViewRefuse
Abstract controller method to be implemented by all subclasses
controller(). Method in class com.sdi.wap.demo.site.ViewRegistration
Abstract controller method to be implemented by all subclasses
Country(String). Constructor for class com.sdi.wap.demo.field.Country
Name constructor comment.
countWork(Connection). Method in class com.sdi.wap.RoleImpl
Total work items in this role's incoming workflows
createPools(Properties). Method in class com.sdi.wap.ConnectionPoolManager
Creates instances of DBConnectionPool based on the properties.

D

dateFmt. Static variable in class com.sdi.wap.demo.site.DemoSite
debug(String). Static method in class com.sdi.wap.Logger
defaultPage. Static variable in class com.sdi.wap.demo.site.DemoSite
defineAccount(Name, Email). Static method in class com.sdi.wap.demo.bean.AccountBean
Create this account (in RAM AND in DBMS)
DemoSite(). Constructor for class com.sdi.wap.demo.site.DemoSite
description. Variable in class com.sdi.wap.RoleImpl
doAttributeName. Static variable in class com.sdi.wap.SiteImpl
This is the name of the request parameter that will contain the identifier of the currently executing page.
doCode(). Static method in class com.sdi.tools.mls.Main
Process an even-level {{string}} by treating it as code; e.g.
documentRoot. Static variable in class com.sdi.wap.demo.site.DemoSite
This site's document root directory
doData(int). Static method in class com.sdi.tools.mls.Main
Process an odd-level {{string}} by treating it as data; e.g.
doGet(HttpServletRequest, HttpServletResponse). Method in class com.sdi.wap.SiteImpl
Service get requests by forwarding them to the post request processor
doPost(HttpServletRequest, HttpServletResponse). Method in class com.sdi.wap.SiteImpl
Service post requests.
doRequest(HttpServletRequest, HttpServletResponse). Method in class com.sdi.wap.SiteImpl
Process a servlet Request
doStream(InputStream, PrintWriter). Static method in class com.sdi.tools.mls.Main
Initiate processing of an inputstream by setting the input and outputstreams, and setting line number and nesting level to 0.
drivers. Variable in class com.sdi.wap.ConnectionPoolManager
DynamicPage(Validatable, Validatable, Class, Page, Role, String, String). Constructor for class com.sdi.wap.DynamicPage
Constructor

E

EditAddress. Static variable in class com.sdi.wap.demo.site.DemoSite
email. Variable in class com.sdi.wap.demo.bean.AccountBean
Email(String). Constructor for class com.sdi.wap.demo.field.Email
Name constructor comment.
emitForm(View). Method in class com.sdi.wap.Page
Return an html form command to this page as a string
emitForm(View, String[], Validatable[]). Method in class com.sdi.wap.Page
Return an html form command for accessing this page as a string.
emitLink(View, String). Method in class com.sdi.wap.Page
Return an html anchor command that when clicked, will invoke this page.
emitLink(View, String, String[], Validatable[]). Method in class com.sdi.wap.Page
Return an html anchor command that when clicked, will invoke this page.
encodePageRef(Page, String[], Validatable[]). Method in class com.sdi.wap.State
Return a string encoded for use as the action parameter of a form command.
encodePageRef(Page, String[], Validatable[]). Method in interface com.sdi.wap.View
URL-encode a page reference
encodeRedirectURL(String). Method in class com.sdi.wap.State
Utility for applying state.getResponse().encodeRedirectURL to urls session encoding into urols for browsers with disabled cookies
encodeURL(String). Method in class com.sdi.wap.State
Utility for applying state.getResponse().encodeURL to urls to support session encoding into urols for browsers with disabled cookies
equals(Field). Method in class com.sdi.wap.Field
Are these types equal???
equals(String). Method in class com.sdi.wap.Field
Are these types equal???
Everybody. Static variable in interface com.sdi.wap.Role

F

fatal(String). Static method in class com.sdi.wap.Logger
Field(String). Constructor for class com.sdi.wap.Field
Constructor.
fileName. Static variable in class com.sdi.tools.mls.Main
The current input file name
finalize(). Method in class com.sdi.wap.demo.bean.AccountBean
Finalize by returning this account's connection to the pool.
findPage(HttpServletRequest, DynamicPage). Static method in class com.sdi.wap.DynamicPage
Insert the method's description here.
findRole(String). Static method in class com.sdi.wap.RoleImpl
Find a role by roleID.
forward(Page). Method in class com.sdi.wap.State
Forward this request to the designated page
forward(Page). Method in interface com.sdi.wap.View
Forward this request to the designated page
forward(String). Method in class com.sdi.wap.State
Forward this request to the designated url
forward(String). Method in interface com.sdi.wap.View
Forward this request to the designated page
freeConnection(String, Connection). Method in class com.sdi.wap.ConnectionPoolManager
Returns a connection to the named pool.
freeConnections(String). Static method in class com.sdi.wap.ConnectionPoolManager
Insert the method's description here.

G

getAbsolutePath(Page, String[], Validatable[]). Method in class com.sdi.wap.State
Return the absolute path of this page including the context name.
getAbsolutePathRelativeToContext(String). Method in class com.sdi.wap.State
Transform the argument string into an absolute url relative to the servlet context
getAccount(View). Method in interface com.sdi.wap.Site
Get the currently logged in account.
getAccount(View). Method in class com.sdi.wap.SiteImpl
get the currently logged in account from the accountAttributeName session attribute
getAccountID(). Method in class com.sdi.wap.demo.bean.AccountBean
Insert the method's description here.
getAccountID(). Method in class com.sdi.wap.demo.bean.AddressBean
Insert the method's description here.
getAddress(). Method in class com.sdi.wap.demo.bean.AccountBean
Return the address information for this account.
getAnchor(). Method in class com.sdi.wap.Page
Return the anchor string for this page
getAttribute(String). Method in class com.sdi.wap.State
Get a session attribute.value by calling getSession().getAttribute(attributeName)
getAttribute(String). Method in interface com.sdi.wap.View
Get a session attribute.
getBaseDirectory(). Method in class com.sdi.wap.demo.site.DemoSite
Get the base directory of the html server.
getBaseDirectory(). Method in interface com.sdi.wap.Site
Get the base directory of the html server.
getBaseDirectory(). Method in class com.sdi.wap.SiteImpl
Get the base directory (document root) of the html server.
getChildren(). Method in class com.sdi.wap.Page
Return the children of this page as a Vector.
getChildren(). Method in interface com.sdi.wap.Role
Return the children of this role
getChildren(). Method in class com.sdi.wap.RoleImpl
Return the children of this role
getCity(). Method in class com.sdi.wap.demo.bean.AddressBean
Get the City
getConnection(). Method in class com.sdi.wap.demo.bean.AccountBean
Returns a connection for this account, caching a new one from the ConnectionPool if necessary.
getConnection(). Static method in class com.sdi.wap.ConnectionPool
Insert the method's description here.
getConnection(String). Method in class com.sdi.wap.ConnectionPoolManager
Returns an open connection.
getConnection(String, long). Method in class com.sdi.wap.ConnectionPoolManager
Returns an open connection.
getContextName(). Method in class com.sdi.wap.demo.site.DemoSite
Get the context name
getContextName(). Method in interface com.sdi.wap.Site
Get the context name used by the servlet engine.
getContextName(). Method in class com.sdi.wap.SiteImpl
Get the context name for this site.
getCookie(String). Method in class com.sdi.wap.State
Get cookie value by calling request.getCookies().
getCookie(String). Method in interface com.sdi.wap.View
Get cookie value
getDefaultPage(). Method in class com.sdi.wap.demo.site.DemoSite
Get the default Page, the page that should be displayed if the servlet receives an invalid request with no do= parameter.
getDefaultPage(). Method in class com.sdi.wap.SiteImpl
Return this site's default page.
getDepth(). Method in class com.sdi.wap.Page
Return the depth of this page in the child-parent tree.
getDescription(). Method in interface com.sdi.wap.Role
Return a deescription of this role
getDescription(). Method in class com.sdi.wap.RoleImpl
Return the description of this role
getEmail(). Method in class com.sdi.wap.demo.bean.AccountBean
Insert the method's description here.
getField(String, Field). Method in class com.sdi.wap.State
Get a field parameter by calling getParameter(key, defaultValue), which will return request.getParameter(key) unless that returns null or "", in which case it returns defaultValue.toString().
getField(String, Field). Method in interface com.sdi.wap.View
getHref(). Method in class com.sdi.wap.StaticPage
Return the url
getIdentifier(). Method in class com.sdi.wap.Page
Return the identifier of this page
getIncomingWorkflowList(Connection). Method in class com.sdi.wap.RoleImpl
Get the list of incoming work for this role
getInstance(). Static method in class com.sdi.wap.ConnectionPoolManager
Returns the single instance, creating one if it's the first time this method is called.
getInstances(). Static method in class com.sdi.wap.RoleImpl
Return a hashtable of all instances of this class indexed by roleID
getLoginPage(). Method in class com.sdi.wap.demo.site.DemoSite
Get the login page; the page that guides the user through the login process.
getLoginPage(). Method in interface com.sdi.wap.Site
Return this site's login page.
getLoginPage(). Method in class com.sdi.wap.SiteImpl
Return this site's login page.
getMembers(Connection). Method in interface com.sdi.wap.Role
Return a vector of the community members that play this role.
getMembers(Connection). Method in class com.sdi.wap.RoleImpl
Return the members of this role as a vector of Identifier.
getMessage(). Method in class com.sdi.wap.demo.bean.BeanImpl
Get the error message from a type that might be null.
getMessage(). Method in class com.sdi.wap.Field
Return the validation message.
getMessage(). Method in interface com.sdi.wap.Validatable
Return the error message for this field.
getMessage(Field). Method in class com.sdi.wap.demo.bean.BeanImpl
Get the error message from a type that might be null.
getName(). Method in class com.sdi.wap.demo.bean.AccountBean
Insert the method's description here.
getNoun(Field). Method in class com.sdi.wap.State
The "noun" is a reserved request parameter.
getOutgoingWorkflowList(Connection). Method in class com.sdi.wap.RoleImpl
Get the list of outgoing work for this role
getParameter(String, Field). Method in class com.sdi.wap.State
Get a request parameter.
getParameter(String, Field). Method in interface com.sdi.wap.View
Get a request parameter.
getParent(). Method in class com.sdi.wap.Page
Return the parent of this page or null if none.
getParent(). Method in interface com.sdi.wap.Role
Return the parent of this role or null if this is the root role.
getParent(). Method in class com.sdi.wap.RoleImpl
Return the parent of this role or null if this is the root role.
getPhone(). Method in class com.sdi.wap.demo.bean.AddressBean
Get the phone number
getRefusePage(). Method in class com.sdi.wap.demo.site.DemoSite
Get the refuse Page, the page that should be displayed if the user requests a resource for which permission should be denied.
getRefusePage(). Method in interface com.sdi.wap.Site
Return this site's permission denied page.
getRefusePage(). Method in class com.sdi.wap.SiteImpl
Return the page that should handle permission denied problems
getRelativePath(). Method in class com.sdi.wap.StaticPage
Return the url
getRelativePath(Page, String[], Validatable[]). Method in class com.sdi.wap.State
Return the absolute path of this page relative to the servlet context.
getRelativePath(Site). Method in class com.sdi.wap.DynamicPage
Construct a url with no args
getRelativePath(Site). Method in class com.sdi.wap.Page
Abstract method overridden by subclasses to return the absolute path of this page relative to the servlet context.
getRelativePath(Site). Method in class com.sdi.wap.StaticPage
Return the url
getRequest(). Method in class com.sdi.wap.State
Get the request object
getRequest(). Method in interface com.sdi.wap.View
getRequestDispatcher(String). Method in class com.sdi.wap.State
Return a requestDispatcher generated by calling servlet.getServletContext().getRequestDispatcher(url)
getRequestDispatcher(String). Method in interface com.sdi.wap.View
Return the requestDispatcher for the provided context-relative url
getResponse(). Method in class com.sdi.wap.State
Get the response object
getResponse(). Method in interface com.sdi.wap.View
getRole(). Method in class com.sdi.wap.Page
Return the role allowed to access this page
getRoleID(). Method in interface com.sdi.wap.Role
Return the identifier of this role
getRoleID(). Method in class com.sdi.wap.RoleImpl
Return the identifier of this role
getServletContext(). Method in interface com.sdi.wap.Site
getServletName(). Method in class com.sdi.wap.demo.site.DemoSite
Get the servlet name
getServletName(). Method in interface com.sdi.wap.Site
Get the servlet name
getSession(). Method in class com.sdi.wap.State
Get the session object by calling request.getSession(true)
getSession(). Method in interface com.sdi.wap.View
getState(). Method in class com.sdi.wap.demo.bean.AddressBean
Get the state
getStreet(). Method in class com.sdi.wap.demo.bean.AddressBean
Get the street address
getTitle(). Method in class com.sdi.wap.Page
Return the title of this page
getUrl(). Method in class com.sdi.wap.StaticPage
Return the url
getValue(). Method in class com.sdi.wap.Field
Get the value of this type
getValue(). Method in interface com.sdi.wap.Validatable
Return the value of this field.
getVerb(Field). Method in class com.sdi.wap.State
The "verb" is a reserved request parameter that governs which state is requested by the browser.
getWhenCreated(). Method in class com.sdi.wap.demo.bean.AccountBean
Insert the method's description here.
getWriter(). Method in class com.sdi.wap.State
Get a PrintWriter suitable for communicating with the client browser by calling response.getWRiter().
getWriter(). Method in interface com.sdi.wap.View
Get the printwriter for this view
getZipcode(). Method in class com.sdi.wap.demo.bean.AddressBean
Get the zipcode

H

hasRole(Role). Method in interface com.sdi.wap.Account
Does this account have permission to play this role?
hasRole(Role). Method in class com.sdi.wap.demo.bean.AccountBean
Does this account play the indicated role?.
Home. Static variable in class com.sdi.wap.demo.site.DemoSite
Static (web server based) pages
htmlAddress(Op, Street, City, USState, Zipcode, Phone). Method in class com.sdi.wap.demo.site.ViewAddress
htmlFontRed(String). Static method in class com.sdi.wap.State
Utility for highlighting text in red.
htmlLeft(View). Method in class com.sdi.wap.demo.site.DemoSite
htmlPage(View, String). Method in class com.sdi.wap.demo.site.DemoSite
Emit the argument string to the browser enclosed in htmlPageOpen() and htmlPageClose() output.
htmlPage(View, String). Method in interface com.sdi.wap.Site
htmlPage(View, String). Method in class com.sdi.wap.SiteImpl
Emit the argument string to the browser enclosed in htmlPageOpen() and htmlPageClose() output.
htmlPageClose(View). Method in class com.sdi.wap.demo.site.DemoSite
Return this site's convention for closing a web page typically " htmlPageClose(View). Method in interface com.sdi.wap.Site
htmlPageClose(View). Method in class com.sdi.wap.SiteImpl
Return this site's convention for closing a web page typically " htmlPageOpen(View). Method in class com.sdi.wap.demo.site.DemoSite
Return this site's convention for closing a web page as a bare minimum, "whatever"
htmlPageOpen(View). Method in interface com.sdi.wap.Site
htmlPageOpen(View). Method in class com.sdi.wap.SiteImpl
Return this site's convention for closing a web page as a bare minimum, "whatever"
htmlParameters(HttpServletRequest). Static method in class com.sdi.wap.SiteImpl
Returns a string representing the names and values of all request parameters.
htmlRed(String). Method in class com.sdi.wap.demo.site.ViewAddress
htmlRefuse(). Method in class com.sdi.wap.demo.site.ViewRefuse
htmlTop(View). Method in class com.sdi.wap.demo.site.DemoSite

I

identifier. Variable in class com.sdi.wap.Page
The internal identifier for this page
Identifier(String). Constructor for class com.sdi.wap.demo.field.Identifier
Identifier constructor comment.
identifyInvalid(Field[]). Static method in class com.sdi.wap.Field
Identify invalid args
in. Static variable in class com.sdi.tools.mls.Main
The current input stream
include(Page). Method in class com.sdi.wap.State
Include the designated page within the current output stream.
include(Page). Method in interface com.sdi.wap.View
Forward this request to the designated page
include(String). Method in class com.sdi.wap.State
Include the page at the designated context-relative path within the current output stream.
include(String). Method in interface com.sdi.wap.View
Forward this request to this page.
info(String). Static method in class com.sdi.wap.Logger
init(). Method in class com.sdi.wap.ConnectionPoolManager
Loads properties and initializes the instance with its values.
init(ServletConfig). Method in class com.sdi.wap.SiteImpl
Initializes the servlet by calling super.init(servletConfig), then calling page.checkUrl() for each of the site's StaticPages in order to log any undefined urls in the log file.
initialize(Site, HttpServletRequest, HttpServletResponse). Method in class com.sdi.wap.State
initialization involves a separate call.
instance. Static variable in class com.sdi.wap.ConnectionPoolManager
instance. Static variable in class com.sdi.wap.demo.site.DemoSite
instances. Static variable in class com.sdi.wap.DynamicPage
The dynamicPages that make up this site.
instances. Static variable in class com.sdi.wap.RoleImpl
instances. Static variable in class com.sdi.wap.StaticPage
isDescendedFrom(Page). Method in class com.sdi.wap.Page
Is page the same as or descended from this page?
isValid. Variable in class com.sdi.wap.Field
A boolean indicating whether the syntactic validity requirements of this type have been met.
isValid(). Method in class com.sdi.wap.demo.bean.AccountBean
Determine validity of user-supplied information
isValid(). Method in class com.sdi.wap.demo.bean.AddressBean
Validation check.
isValid(). Method in class com.sdi.wap.demo.bean.BeanImpl
Is this bean in a valid state for saving?
isValid(). Method in class com.sdi.wap.Field
Is this value valid?
isValid(). Method in interface com.sdi.wap.Validatable
Returns true if this field's value meets the syntactic requirements of this type.
isValid(Field[]). Method in class com.sdi.wap.demo.bean.BeanImpl
Returns true is all values are valid, false if any are invalid.

L

launch(Site, HttpServletRequest, HttpServletResponse). Method in class com.sdi.wap.DynamicPage
Launch a state by calling its controller() method via the reflection API.
lineNumber. Static variable in class com.sdi.tools.mls.Main
The line number in the current input file
load(Connection, Identifier). Static method in class com.sdi.wap.demo.bean.AccountBean
load(Connection, Identifier). Static method in class com.sdi.wap.demo.bean.AddressBean
loadDrivers(Properties). Method in class com.sdi.wap.ConnectionPoolManager
Loads and registers all JDBC drivers.
log. Variable in class com.sdi.wap.ConnectionPoolManager
log(String). Method in class com.sdi.wap.ConnectionPoolManager
Writes a message to the log file.
log(Throwable, String). Method in class com.sdi.wap.ConnectionPoolManager
Writes a message with an Exception to the log file.
Logger(). Constructor for class com.sdi.wap.Logger
Login. Static variable in class com.sdi.wap.demo.site.DemoSite
loginPage. Static variable in class com.sdi.wap.demo.site.DemoSite
Logout. Static variable in class com.sdi.wap.demo.site.DemoSite

M

Main(). Constructor for class com.sdi.tools.mls.Main
main(String[]). Static method in class com.sdi.tools.mls.Main
Usage: java com.sdi.tools.mls [-d directoryName] inputFile ...
main(String[]). Static method in class com.sdi.wap.SiteImpl
Insert the method's description here.
main(String[]). Static method in class com.sdi.tools.mls.Test
maxConnections(String). Static method in class com.sdi.wap.ConnectionPoolManager
Insert the method's description here.
members. Variable in class com.sdi.wap.RoleImpl
message. Variable in class com.sdi.wap.demo.bean.BeanImpl
message. Variable in class com.sdi.wap.Field
A string explaining any validation errors in terms an end-user can understand
moneyFmt. Static variable in class com.sdi.wap.demo.site.DemoSite
monthFmt. Static variable in class com.sdi.wap.demo.site.DemoSite
msg. Static variable in class com.sdi.wap.demo.field.Country
msg. Static variable in class com.sdi.wap.demo.field.Email
msg. Static variable in class com.sdi.wap.demo.field.USState
msg. Static variable in class com.sdi.wap.demo.field.Zipcode
msgNull. Static variable in class com.sdi.wap.Field

N

name. Variable in class com.sdi.wap.demo.bean.AccountBean
Name(String). Constructor for class com.sdi.wap.demo.field.Name
Name constructor comment.
nestingLevel. Static variable in class com.sdi.tools.mls.Main
The nesting level increases with each doData() or doCode() call.
Nobody. Static variable in interface com.sdi.wap.Role
nounName. Static variable in class com.sdi.wap.DynamicPage
Null. Static variable in class com.sdi.wap.demo.bean.AddressBean
Null. Static variable in class com.sdi.wap.demo.field.City
Null. Static variable in class com.sdi.wap.demo.field.Country
Null. Static variable in class com.sdi.wap.demo.field.Email
Null. Static variable in class com.sdi.wap.demo.field.Identifier
Null. Static variable in class com.sdi.wap.demo.field.Name
Null. Static variable in class com.sdi.wap.demo.field.Op
Null. Static variable in class com.sdi.wap.demo.field.Phone
Null. Static variable in class com.sdi.wap.demo.field.Street
Null. Static variable in class com.sdi.wap.demo.field.USState
Null. Static variable in class com.sdi.wap.demo.field.Zipcode

O

obj. Variable in class com.sdi.wap.DynamicPage
The request operand (the noun)
op. Variable in class com.sdi.wap.DynamicPage
The request operator (the verb)
Op(String). Constructor for class com.sdi.wap.demo.field.Op
Identifier constructor comment.
out. Static variable in class com.sdi.tools.mls.Main
The current output stream

P

Page(String, Page, String, Role, String). Constructor for class com.sdi.wap.Page
Constructor
parent. Variable in class com.sdi.wap.Page
The parent of this page
parent. Variable in class com.sdi.wap.RoleImpl
phone. Variable in class com.sdi.wap.demo.bean.AddressBean
Phone(String). Constructor for class com.sdi.wap.demo.field.Phone
Name constructor comment.
POOL_NAME. Static variable in class com.sdi.wap.ConnectionPool
pools. Variable in class com.sdi.wap.ConnectionPoolManager
process(String). Method in class com.sdi.tools.mls.Test
Process a string by mls for testing

R

re. Static variable in class com.sdi.wap.demo.field.Country
re. Static variable in class com.sdi.wap.demo.field.Email
re. Static variable in class com.sdi.wap.demo.field.USState
re. Static variable in class com.sdi.wap.demo.field.Zipcode
re(String). Static method in class com.sdi.wap.Field
Convenience method to help subclasses build regular expressions as class initializers without screwing around with REexception.
redirect(Page). Method in class com.sdi.wap.State
Redirect the request to the designated page
redirect(Page). Method in interface com.sdi.wap.View
Forward this request to the designated page
redirect(String). Method in class com.sdi.wap.State
Redirect the request to the designated page
redirect(String). Method in interface com.sdi.wap.View
Forward this request to the designated page
Refuse. Static variable in class com.sdi.wap.demo.site.DemoSite
refusePage. Static variable in class com.sdi.wap.demo.site.DemoSite
Register. Static variable in class com.sdi.wap.demo.site.DemoSite
RegisteredRole. Static variable in class com.sdi.wap.demo.site.DemoSite
Roles
release(). Method in class com.sdi.wap.ConnectionPoolManager
Closes all open connections and deregisters all drivers.
releasePool(). Static method in class com.sdi.wap.ConnectionPool
Insert the method's description here.
request. Variable in class com.sdi.wap.State
requireLength(int, int). Method in class com.sdi.wap.Field
Require value.length to be between min and max
requireLengthMax(int). Method in class com.sdi.wap.Field
Require value.length to be < max
requireLengthMin(int). Method in class com.sdi.wap.Field
Require value.length to be >= min.
requireMatch(RE, String). Method in class com.sdi.wap.Field
Require regular expression match
requireNonNull(). Method in class com.sdi.wap.Field
Require the value to not be null or ""
response. Variable in class com.sdi.wap.State
returnConnection(Connection). Method in class com.sdi.wap.demo.bean.AccountBean
Insert the method's description here.
returnConnection(Connection). Static method in class com.sdi.wap.ConnectionPool
Insert the method's description here.
role. Variable in class com.sdi.wap.Page
The role authorized to view this page
roleID. Variable in class com.sdi.wap.RoleImpl
RoleImpl(String, Role, String). Constructor for class com.sdi.wap.RoleImpl
A concrete implementation of the Role interface

S

save(Connection). Method in class com.sdi.wap.demo.bean.AccountBean
save(Connection). Method in class com.sdi.wap.demo.bean.AddressBean
Since null addresses are saved during login, no validation is performed in this method.
send(String). Method in class com.sdi.wap.State
Send the argument string to the client as html text by calling getWriter().println(s).
send(String). Method in interface com.sdi.wap.View
sendPage(String). Method in class com.sdi.wap.State
Send the argument string to the client as html text.
sendPage(String). Method in interface com.sdi.wap.View
sendPageClose(). Method in class com.sdi.wap.State
Emit site-specific html boilerplate that should appear as the closing text of every web page by calling Site.htmlPageClose() As a bare minimum, this page should send </body> and <html> commands but can be as elaborate as need be.
sendPageClose(). Method in interface com.sdi.wap.View
sendPageOpen(). Method in class com.sdi.wap.State
Emit site-specific html boilerplate that should appear on every web page.
sendPageOpen(). Method in interface com.sdi.wap.View
servletName. Static variable in class com.sdi.wap.demo.site.DemoSite
The name of this servlet
SessionExpiredException(). Constructor for class com.sdi.wap.SessionExpiredException
SessionExpiredException constructor comment.
SessionExpiredException(String). Constructor for class com.sdi.wap.SessionExpiredException
SessionExpiredException constructor comment.
setAccount(Account, View). Method in class com.sdi.wap.demo.site.DemoSite
Set the currently logged in account by storing it in a session attribute
setAccount(Account, View). Method in interface com.sdi.wap.Site
Set the currently logged in account.
setAccount(Account, View). Method in class com.sdi.wap.SiteImpl
Set the currently logged in account by storing it in a session attribute
setAddress(AddressBean). Method in class com.sdi.wap.demo.bean.AccountBean
Insert the method's description here.
setAddress(Street, City, USState, Zipcode, Phone). Method in class com.sdi.wap.demo.bean.AddressBean
Populate with long address.
setAttribute(String, Object). Method in class com.sdi.wap.State
Set a session attribute to key/value
setAttribute(String, Object). Method in interface com.sdi.wap.View
Insert the method's description here.
setCookie(String, String). Method in class com.sdi.wap.State
Set a cookie to the designated name/value
setCookie(String, String). Method in interface com.sdi.wap.View
Set a cookie to the provided value
setName(Name). Method in class com.sdi.wap.demo.bean.AccountBean
Set the name field of this account.
setParent(Page). Method in class com.sdi.wap.Page
Set the parent of this page.
setParent(Role). Method in class com.sdi.wap.RoleImpl
Return the parent of this role or null if this is the root role.
setValid(boolean, String). Method in class com.sdi.wap.Field
Set isValid flag to ok, and if false, change the message to message.
setValid(boolean, String). Method in interface com.sdi.wap.Validatable
Set the validity informormation for this field.
setValue(String). Method in class com.sdi.wap.demo.field.City
Set the value of this type
setValue(String). Method in class com.sdi.wap.demo.field.Country
Set the value of this type
setValue(String). Method in class com.sdi.wap.demo.field.Email
Set the value of this type
setValue(String). Method in class com.sdi.wap.Field
Set the value of this type (and return the old value just in case)
setValue(String). Method in class com.sdi.wap.demo.field.Identifier
Set the value of this type
setValue(String). Method in class com.sdi.wap.demo.field.Name
Set the value of this type
setValue(String). Method in class com.sdi.wap.demo.field.Op
Set the value of this type
setValue(String). Method in class com.sdi.wap.demo.field.Phone
Set the value of this type
setValue(String). Method in class com.sdi.wap.RoleImpl
Set the value of this type
setValue(String). Method in class com.sdi.wap.demo.field.Street
Set the value of this type
setValue(String). Method in class com.sdi.wap.demo.field.USState
Set the value of this type
setValue(String). Method in interface com.sdi.wap.Validatable
Set the value of this type.
setValue(String). Method in class com.sdi.wap.demo.field.Zipcode
Set the value of this type
setValue(String, boolean, String). Method in class com.sdi.wap.Field
Set isValid flag to ok, and if false, change the message to message.
setWhenCreated(Timestamp). Method in class com.sdi.wap.demo.bean.AccountBean
Set the creation date
site. Variable in class com.sdi.wap.State
SiteImpl(). Constructor for class com.sdi.wap.SiteImpl
Constructor.
state. Variable in class com.sdi.wap.demo.bean.AddressBean
State(). Constructor for class com.sdi.wap.State
Constructor.
stateClass. Variable in class com.sdi.wap.DynamicPage
StaticPage(String, Page, Role, String, String). Constructor for class com.sdi.wap.StaticPage
Constructor
street. Variable in class com.sdi.wap.demo.bean.AddressBean
Street(String). Constructor for class com.sdi.wap.demo.field.Street
Name constructor comment.
stripNonAlphabetics(). Method in class com.sdi.wap.demo.field.Name
Converts a name to the base of an interfier by stripping everything but alphabetics and truncating long identifiers to a max length of 32 chars.

T

Test(). Constructor for class com.sdi.tools.mls.Test
Insert the method's description here.
Test(String). Constructor for class com.sdi.tools.mls.Test
Insert the method's description here.
testInvalid(). Method in class com.sdi.tools.mls.Test
Insert the method's description here.
testValid(). Method in class com.sdi.tools.mls.Test
Insert the method's description here.
timeFmt. Static variable in class com.sdi.wap.demo.site.DemoSite
title. Variable in class com.sdi.wap.Page
The title of this page
toAttributeName. Static variable in class com.sdi.wap.SiteImpl
toString(). Method in class com.sdi.wap.demo.bean.AccountBean
toString(). Method in class com.sdi.wap.demo.bean.AddressBean
Insert the method's description here.
toString(). Method in class com.sdi.wap.Field
Insert the method's description here.
toString(). Method in class com.sdi.wap.Page
Return the identifier as a printable representation of this state.
toStringFull(). Method in class com.sdi.wap.Field
Insert the method's description here.

U

url. Variable in class com.sdi.wap.StaticPage
usage. Static variable in class com.sdi.tools.mls.Main
Usage instructions
usedConnections(String). Static method in class com.sdi.wap.ConnectionPoolManager
Insert the method's description here.
USState(String). Constructor for class com.sdi.wap.demo.field.USState
Name constructor comment.

V

validate(). Method in class com.sdi.wap.demo.field.Email
Insert the method's description here.
value. Variable in class com.sdi.wap.Field
The value of this field as a string.
verbName. Static variable in class com.sdi.wap.DynamicPage
The verb and noun are two reserved request parameters.
ViewAccount(). Constructor for class com.sdi.wap.demo.site.ViewAccount
viewAccount(AccountBean). Method in class com.sdi.wap.demo.site.ViewAccount
ViewAddress(). Constructor for class com.sdi.wap.demo.site.ViewAddress
viewCongrads(AccountBean). Method in class com.sdi.wap.demo.site.ViewRegistration
ViewLogin(). Constructor for class com.sdi.wap.demo.site.ViewLogin
viewLogin(Identifier). Method in class com.sdi.wap.demo.site.ViewLogin
ViewLogout(). Constructor for class com.sdi.wap.demo.site.ViewLogout
ViewRefuse(). Constructor for class com.sdi.wap.demo.site.ViewRefuse
ViewRegistration(). Constructor for class com.sdi.wap.demo.site.ViewRegistration
viewRegistration(Op, Name, Email). Method in class com.sdi.wap.demo.site.ViewRegistration

W

warn(String). Static method in class com.sdi.wap.Logger
whenCreated. Variable in class com.sdi.wap.demo.bean.AccountBean