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 _

A

AbstractConfigApp - Class in org.melati.app
ConfigApp is the simplest way to use Melati.
AbstractConfigApp() - Constructor for class org.melati.app.AbstractConfigApp
 
AbstractMarkupLanguage - Class in org.melati.template
MarkupLanguage provides a variety of methods for rendering objects in a template.
AbstractMarkupLanguage(String, Melati, TempletLoader, PoemLocale) - Constructor for class org.melati.template.AbstractMarkupLanguage
Construct a Markup Language object.
AbstractMarkupLanguage(String, AbstractMarkupLanguage) - Constructor for class org.melati.template.AbstractMarkupLanguage
Construct a new MarkupLanguage given a new name and an existing MarkupLanguage.
AbstractPoemApp - Class in org.melati.app
Base class to use Poem as an application.
AbstractPoemApp() - Constructor for class org.melati.app.AbstractPoemApp
 
AbstractTemplateApp - Class in org.melati.app
Base class to use Melati as an application with a Template Engine.
AbstractTemplateApp() - Constructor for class org.melati.app.AbstractTemplateApp
 
AbstractTemplateEngine - Class in org.melati.template
Common elements of a TemplateEngine.
AbstractTemplateEngine() - Constructor for class org.melati.template.AbstractTemplateEngine
Constructor.
AcceptCharset - Class in org.melati.util
Representation of the Accept-Charset header fields.
AcceptCharset(String, List<String>) - Constructor for class org.melati.util.AcceptCharset
Create an instance from the Accept-Charset header field values and a set of server preferred charset names.
AcceptCharset.CharsetAndQValue - Class in org.melati.util
A charset and associated qvalue.
AcceptCharset.CharsetAndQValue(HttpHeader.Tokenizer) - Constructor for class org.melati.util.AcceptCharset.CharsetAndQValue
Create an instance and initialize it by reading a tokenizer.
AcceptCharset.CharsetAndQValue(Charset, float) - Constructor for class org.melati.util.AcceptCharset.CharsetAndQValue
Creates an instance for the given charset and q value.
AcceptCharset.CharsetAndQValue(Charset, AcceptCharset.CharsetAndQValue) - Constructor for class org.melati.util.AcceptCharset.CharsetAndQValue
Creates an instance for the given Charset using the q value from a parsed wildcard Accept-Charset field.
AcceptCharset.CharsetAndQValueIterator - Class in org.melati.util
Enumeration of AcceptCharset.CharsetAndQValue.
AcceptCharset.CharsetAndQValueIterator() - Constructor for class org.melati.util.AcceptCharset.CharsetAndQValueIterator
 
AcceptCharset.Comparator<T> - Class in org.melati.util
Comparator for comparing AcceptCharset.CharsetAndQValue objects.
AcceptCharset.Comparator() - Constructor for class org.melati.util.AcceptCharset.Comparator
 
AccessHandler - Interface in org.melati.login
A handler invoked when an AccessPoemException occurs.
adaptorFieldName - Variable in exception org.melati.template.TempletAdaptorConstructionMelatiException
The name of the field.
adaptorName - Variable in exception org.melati.template.TempletAdaptorConstructionMelatiException
The name of the Adaptor.
add(ContentModel, Element, Element) - Static method in class org.melati.util.HTMLUtils
Add an Element to the ContentModel.
addExtension(String) - Method in class org.melati.app.AbstractTemplateApp
The template extension is added in an overridable method to allow the application developer to specify their own template extensions.
addExtension(String) - Method in class org.melati.servlet.TemplateServlet
The template extension is added in an overridable method to allow the application developer to specify their own template extensions.
addRoot(String) - Method in class org.melati.template.AbstractTemplateEngine
Add root at index 0, so that the empty string is always returned last by elements.
addRoot(String) - Method in interface org.melati.template.TemplateEngine
Add a template root directory.
addTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
Returns the Add template after placing the table and fields for the new row in the context using any field values already in the context.
addToContentModels(DTD, Element, Element) - Static method in class org.melati.util.HTMLUtils
Add element to a DTD.
addUpdateTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
Returns the Updated template after creating a new row using field data in the context.
AddURL(Table) - Method in class org.melati.admin.AdminUtils
 
Admin - Class in org.melati.admin
Melati template servlet for database administration.
Admin() - Constructor for class org.melati.admin.Admin
 
adminHandle(Melati, MarkupLanguage) - Method in interface org.melati.admin.AdminSpecialised
Perform the specialised function and return the name of the template presenting the results.
adminSpecialFacilities(Melati, MarkupLanguage) - Method in interface org.melati.admin.AdminSpecialised
Returns the name of a templet which provides access to the specialised functionality.
AdminSpecialised - Interface in org.melati.admin
An interface that allows the editting and display of an object to be extended.
adminTemplate(String) - Static method in class org.melati.admin.Admin
Return the resource path for an admin template.
AdminUtils - Class in org.melati.admin
A utility object for placing in a ServletTemplateContext.
AdminUtils(Melati) - Constructor for class org.melati.admin.AdminUtils
Constructor.
AnticipatedException - Exception in org.melati.admin
An error which is expected, so should be rendered prettily.
AnticipatedException(String) - Constructor for exception org.melati.admin.AnticipatedException
Constructor.
AnticipatedException(String, Exception) - Constructor for exception org.melati.admin.AnticipatedException
Initial cause.
AnticipatedException(Exception) - Constructor for exception org.melati.admin.AnticipatedException
Initial cause.
App - Interface in org.melati.app
A command line application.
appendRelativeZoneURL(StringBuffer, HttpServletRequest) - Static method in class org.melati.util.HttpUtil
Append relative servlet zone url.
appendZoneURL(StringBuffer, HttpServletRequest) - Static method in class org.melati.util.HttpUtil
Add a Zone URL to buffer.
apply(Object) - Method in interface org.melati.util.Function
Apply to the argument.
apply(Function, int, boolean) - Method in class org.melati.util.Tree
Apply the Function to each node in the tree.
applyBreadthFirst(Function) - Method in class org.melati.util.Tree
Apply a function to all nodes, breadth first.
applyBreadthFirst(Function, int) - Method in class org.melati.util.Tree
Apply a function to all nodes to a given depth, breadth first.
applyDepthFirst(Function) - Method in class org.melati.util.Tree
Apply a function to all nodes, depth first.
applyDepthFirst(Function, int) - Method in class org.melati.util.Tree
Apply a function to all nodes to a given depth, depth first.
applyNamedArguments(String[]) - Method in class org.melati.app.AbstractConfigApp
 
AttributeMarkupLanguage - Interface in org.melati.template
A MarkupLanguage suitable for markup within an attribute tag.
attributes - Variable in class org.melati.util.HTMLUtils.TagInstance
Its attributes.
augment(Treeable[], int) - Static method in class org.melati.util.TreeNode
Create a new Array of TreeNodes specifying a new depth.

B

BaseFileFormDataAdaptor - Class in org.melati.servlet
Common elements of uploading a file from an HTML form.
BaseFileFormDataAdaptor() - Constructor for class org.melati.servlet.BaseFileFormDataAdaptor
 
BottomURL(Melati) - Method in class org.melati.admin.AdminUtils
 
breadthFirstEnumeration() - Method in class org.melati.util.ChildrenDrivenMutableTree
 
BUFSIZE - Variable in class org.melati.servlet.BaseFileFormDataAdaptor
Size for byte buffers.
BUFSIZE - Variable in class org.melati.servlet.MemoryFormDataAdaptor
Size for byte buffers
bug - Variable in exception org.melati.util.MelatiBugMelatiException
A description of the bug.
BugException - Exception in org.melati.util
Thrown when a programmer attempts to do something which is possible but wrong.
BugException(String) - Constructor for exception org.melati.util.BugException
Constructor with message.
BugException(String, Exception) - Constructor for exception org.melati.util.BugException
Constructor with message and exception.
buildRequest(Melati) - Method in interface org.melati.login.AccessHandler
Rebuild request if we have had to login, otherwise nothing.
buildRequest(Melati) - Method in class org.melati.login.CommandLineAccessHandler
A no-op in a command line application.
buildRequest(Melati) - Method in class org.melati.login.HttpBasicAuthenticationAccessHandler
If we are allowed in then no need to change request.
buildRequest(Melati) - Method in class org.melati.login.HttpSessionAccessHandler
If we are returning from a login rebuild the original request, otherwise do nothing.
buildRequest(Melati) - Method in class org.melati.login.OpenAccessHandler
Nothing to do.
buildTree() - Method in class org.melati.util.ChildrenDrivenMutableTree
Compute the children.
buildTree(Enumeration<DefaultMutableTreeNode>) - Method in class org.melati.util.ChildrenDrivenMutableTree
Compute the children given the nodes.

C

calculateLocalFile() - Method in class org.melati.servlet.BaseFileFormDataAdaptor
 
calculateLocalFile() - Method in class org.melati.servlet.DefaultFileFormDataAdaptor
 
calculateLocalFile() - Method in class org.melati.servlet.TemporaryFileFormDataAdaptor
 
calculateURL() - Method in class org.melati.servlet.BaseFileFormDataAdaptor
Return a URL to the saved file, null if not appropriate.
calculateURL() - Method in class org.melati.servlet.DefaultFileFormDataAdaptor
 
calculateURL() - Method in class org.melati.servlet.TemporaryFileFormDataAdaptor
 
CharData - Class in org.melati.test
Provides character data for test servlets.
charData - Static variable in class org.melati.test.CharData
This data was originally copied from the unicode database..
CharData.Item - Class in org.melati.test
A data item.
CharData.Item(int) - Constructor for class org.melati.test.CharData.Item
Constructor.
charsetAndQValueIterator() - Method in class org.melati.util.AcceptCharset
Factory method to create and return the next HttpHeader.TokenAndQValue.
CharsetException - Exception in org.melati.util
Thrown when there is a problem establishing Character Sets.
CharsetException(String) - Constructor for exception org.melati.util.CharsetException
Constructor with message.
CharsetException(String, Exception) - Constructor for exception org.melati.util.CharsetException
Constructor with message.
CharsetServletTest - Class in org.melati.test
Test display of various characters without using a Template Engine.
CharsetServletTest() - Constructor for class org.melati.test.CharsetServletTest
 
CharsetTemplateServletTest - Class in org.melati.test
Test display of various characters using a Template Engine.
CharsetTemplateServletTest() - Constructor for class org.melati.test.CharsetTemplateServletTest
 
checkError() - Method in class org.melati.util.ThrowingPrintWriter
Delegated method.
ChildrenDrivenMutableTree - Class in org.melati.util
A tree of DefaultMutableTreeNodes, the userObjects of which are Treeable objects which supply their own getChildren() functions.
ChildrenDrivenMutableTree() - Constructor for class org.melati.util.ChildrenDrivenMutableTree
Constructor.
ChildrenDrivenMutableTree(Treeable) - Constructor for class org.melati.util.ChildrenDrivenMutableTree
Constructor.
choice(AcceptCharset.Comparator<AcceptCharset.CharsetAndQValue>) - Method in class org.melati.util.AcceptCharset
If there is none, return null, and the caller can either use an unacceptable character set or generate a 406 error.
ClassNameTempletLoader - Class in org.melati.template
Load a template to render an object based upon the object's class.
classpathTempletPath(Class<?>, TemplateEngine) - Static method in class org.melati.template.ClassNameTempletLoader
 
clazz - Variable in exception org.melati.template.NotFoundException
The Class of the object which we are trying to geta template for.
clientChoice() - Method in class org.melati.util.AcceptCharset
 
clone() - Method in class org.melati.PoemContext
Clone me.
close() - Method in class org.melati.template.velocity.MelatiBufferedVelocityWriter
close() - Method in class org.melati.template.velocity.MelatiVelocityWriter
close() - Method in class org.melati.template.webmacro.MelatiBufferedFastWriter
 
close() - Method in class org.melati.util.MelatiBufferedWriter
close() - Method in class org.melati.util.MelatiWriter
close() - Method in class org.melati.util.ThrowingPrintWriter
Delegated method.
CommandLineAccessHandler - Class in org.melati.login
A handler invoked when an AccessPoemException is thrown.
CommandLineAccessHandler() - Constructor for class org.melati.login.CommandLineAccessHandler
Constructor.
compare(Object, Object) - Method in class org.melati.util.AcceptCharset.Comparator
compareCharsetAndQValue(AcceptCharset.CharsetAndQValue, AcceptCharset.CharsetAndQValue) - Method in class org.melati.util.AcceptCharset.Comparator
This default compares according to client requirements.
concatenateUrls(String, String) - Static method in class org.melati.util.HttpUtil
 
ConfigApp - Class in org.melati.app
An example of how to access a configured application from the command line.
ConfigApp() - Constructor for class org.melati.app.ConfigApp
 
ConfigException - Exception in org.melati.util
Thrown when there is a problem configuring Melati.
ConfigException(String) - Constructor for exception org.melati.util.ConfigException
Constructor.
ConfigException(String, Exception) - Constructor for exception org.melati.util.ConfigException
 
ConfigServlet - Class in org.melati.servlet
Config Servlet is the simplest way to use Melati.
ConfigServlet() - Constructor for class org.melati.servlet.ConfigServlet
 
ConfigServletTest - Class in org.melati.test
Test a Melati configuration without using a Template Engine.
ConfigServletTest() - Constructor for class org.melati.test.ConfigServletTest
 
ConfigServletTestOverride - Class in org.melati.test
Demonstrates how to override individual property settings programmatically.
ConfigServletTestOverride() - Constructor for class org.melati.test.ConfigServletTestOverride
 
ConnectionPendingException - Exception in org.melati.util
Thrown if an attempt is made to use a DBMS whilst it is initialising.
ConnectionPendingException(String) - Constructor for exception org.melati.util.ConnectionPendingException
Constructor.
contentType - Variable in class org.melati.Melati
 
context - Variable in exception org.melati.util.UnexpectedExceptionException
A descriptive String giving some context.
contextDestroyed(ServletContextEvent) - Method in class org.melati.servlet.PoemServletContextListener
Disconnect from any databases.
contextInitialized(ServletContextEvent) - Method in class org.melati.servlet.PoemServletContextListener
ContextUtil - Class in org.melati.util
A single use utility object for placing in a ServletTemplateContext.
ContextUtil() - Constructor for class org.melati.util.ContextUtil
No arg constructor.
continuationURL() - Method in class org.melati.util.HttpServletRequestParameters
 
convert(InputStream) - Static method in class org.melati.template.velocity.WebMacroConverter
Do the conversion.
convert(String) - Static method in class org.melati.template.velocity.WebMacroConverter
 
Copy - Class in org.melati.admin
Copy one db to another.
Copy() - Constructor for class org.melati.admin.Copy
 
copy(String, String) - Static method in class org.melati.admin.Copy
 
copy(Database, Database) - Static method in class org.melati.admin.Copy
 
copy() - Static method in class org.melati.admin.Copy
 
copy(InputStream, int, OutputStream) - Static method in class org.melati.util.IoUtils
Copy from an InputStream to an OutputStream.
copy(Reader, int, Writer) - Static method in class org.melati.util.IoUtils
Copy from a Reader to a Writer.
copy(File, int, File) - Static method in class org.melati.util.IoUtils
Copy from one file to another.
CountedDumbPagedEnumeration<T> - Class in org.melati.util
A PagedEnumeration which knows how big it is.
CountedDumbPagedEnumeration(Enumeration<T>, int, int, int) - Constructor for class org.melati.util.CountedDumbPagedEnumeration
Constructor.
create(Table, ServletTemplateContext) - Static method in class org.melati.admin.Admin
Creates a row for a table using field data in a template context.
createForest(Table) - Method in class org.melati.admin.AdminUtils
Create a forest of trees.
createTree(Treeable) - Method in class org.melati.admin.AdminUtils
Create a tree.
csvEscaped(String) - Static method in class org.melati.admin.AdminUtils
 
CSVStringEnumeration - Class in org.melati.util
A utility for tokenising a string made up of comma-separated variables.
CSVStringEnumeration() - Constructor for class org.melati.util.CSVStringEnumeration
 

D

databaseDefsName - Variable in exception org.melati.util.DatabaseInitException
The name of the definition file.
DatabaseInitException - Exception in org.melati.util
Thrown when there is a problem initialising a database.
DatabaseInitException(String, String, Exception) - Constructor for exception org.melati.util.DatabaseInitException
Constructor.
DATE_FIELD_POSSIBILITIES_LIMIT - Static variable in class org.melati.template.AbstractMarkupLanguage
The maximum number of date field possibilities to render.
dayField(Field) - Method in class org.melati.template.YMDDateAdaptor
 
daySuffix - Static variable in class org.melati.template.YMDDateAdaptor
 
decode(String) - Static method in class org.melati.util.UTF8URLEncoder
Decode using default character encoding.
decode(String, String) - Static method in class org.melati.util.UTF8URLEncoder
Decode with an encoding.
decoded(String) - Method in class org.melati.template.HTMLLikeMarkupLanguage
Decode a UTF-8 URL encoded string.
decoded(String) - Method in interface org.melati.template.MarkupLanguage
Decode a UTF-8 URL encoded string.
DEFAULT_ENCODING - Static variable in class org.melati.Melati
UTF-8.
DefaultFileFormDataAdaptor - Class in org.melati.servlet
The default way to save an uploaded file to disk.
DefaultFileFormDataAdaptor(Melati, String, String) - Constructor for class org.melati.servlet.DefaultFileFormDataAdaptor
Constructor.
DefaultFileFormDataAdaptor(Melati, String, String, boolean) - Constructor for class org.melati.servlet.DefaultFileFormDataAdaptor
Constructor.
DefaultFileFormDataAdaptorFactory - Class in org.melati.servlet
Save the uploaded file to disk in a particular directory with a particular URL.
DefaultFileFormDataAdaptorFactory() - Constructor for class org.melati.servlet.DefaultFileFormDataAdaptorFactory
 
DelegatedHttpServletRequest - Class in org.melati.util
Enables Melati to compile, without warnings, with the Servlet API versions 2.0 to 2.5.
DelegatedHttpServletRequest(HttpServletRequest) - Constructor for class org.melati.util.DelegatedHttpServletRequest
 
deleteTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
 
DelimitedBufferedInputStream - Class in org.melati.util
Like a BufferedInputStream except it has a new function DelimitedBufferedInputStream.readToDelimiter(byte[], int, int, byte[]) which will only read bytes upto the start of any occurrence of the delimiter in the InputStream.
DelimitedBufferedInputStream(InputStream) - Constructor for class org.melati.util.DelimitedBufferedInputStream
Creates a DelimitedBufferedInputStream and saves its argument, the input stream in, for later use.
DelimitedBufferedInputStream(InputStream, int) - Constructor for class org.melati.util.DelimitedBufferedInputStream
Creates a DelimitedBufferedInputStream with the specified buffer size, and saves its argument, the input stream in, for later use.
depthFirstEnumeration() - Method in class org.melati.util.ChildrenDrivenMutableTree
 
description - Variable in class org.melati.util.ThrowingPrintWriter
Description of this PrintWriter.
destroy() - Method in class org.melati.servlet.JspServlet
destroy() - Method in class org.melati.servlet.PoemServlet
 
destroy() - Method in class org.melati.test.WebmacroStandalone
It's not strictly necessary to destroy the WebMacro object when you're done with it--garbage collection will eventually get it--but it makes sure the resources get freed.
Display - Class in org.melati.admin
Display an object using the Template specified.
Display() - Constructor for class org.melati.admin.Display
 
doConfiguredRequest(Melati) - Method in class org.melati.app.AbstractConfigApp
Instantiate this method to build up your own output.
doConfiguredRequest(Melati) - Method in class org.melati.app.AbstractPoemApp
 
doConfiguredRequest(Melati) - Method in class org.melati.app.ConfigApp
The main method to override.
doConfiguredRequest(Melati) - Method in class org.melati.servlet.ConfigServlet
Instantiate this method to build up your own output.
doConfiguredRequest(Melati) - Method in class org.melati.servlet.PoemServlet
Process the request.
doConfiguredRequest(Melati) - Method in class org.melati.test.CharsetServletTest
 
doConfiguredRequest(Melati) - Method in class org.melati.test.ConfigServletTest
 
doConfiguredRequest(Melati) - Method in class org.melati.test.ExitServlet
 
doConfiguredRequest(Melati) - Method in class org.melati.test.SessionAnalysisServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.melati.servlet.ConfigServlet
Handles GET.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.melati.test.ServletTest
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.melati.test.WebmacroStandalone
We only implement the GET method in this servlet.
doPoemRequest(Melati) - Method in class org.melati.app.AbstractPoemApp
Override this method to do your own thing.
doPoemRequest(Melati) - Method in class org.melati.app.AbstractTemplateApp
Fulfill AbstractPoemApp's promises.
doPoemRequest(Melati) - Method in class org.melati.app.PoemApp
The main method to override.
doPoemRequest(Melati) - Method in class org.melati.servlet.PoemServlet
Override this method to build up your own output.
doPoemRequest(Melati) - Method in class org.melati.servlet.TemplateServlet
 
doPoemRequest(Melati) - Method in class org.melati.test.PoemServletTest
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.melati.servlet.ConfigServlet
Handle a POST.
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.admin.Admin
 
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.admin.Copy
Override this method to build up your own output.
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.admin.Display
 
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.admin.Status
 
doTemplateRequest(Melati, TemplateContext) - Method in class org.melati.app.AbstractTemplateApp
Override this method to build up your own output.
doTemplateRequest(Melati, TemplateContext) - Method in class org.melati.app.DSDApp
The main method to override.
doTemplateRequest(Melati, TemplateContext) - Method in class org.melati.app.TemplateApp
The main method to override.
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.login.Login
 
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.login.LoginHandler
Action the login.
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.login.Logout
 
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.servlet.TemplateServlet
Override this method to build up your own output.
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.template.webmacro.WebmacroMelatiServlet
 
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.test.CharsetTemplateServletTest
 
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.test.EmailTemplateServletTest
 
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.test.TemplateServletTest
 
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.melati.test.WebmacroMelatiServletTest
 
DSDApp - Class in org.melati.app
 
DSDApp() - Constructor for class org.melati.app.DSDApp
Constructor.
dsdTemplate(ServletTemplateContext) - Static method in class org.melati.admin.Admin
 
dsdTemplate(TemplateContext) - Method in class org.melati.app.DSDApp
 
DsdURL() - Method in class org.melati.admin.AdminUtils
 
dtdForHTMLParser() - Static method in class org.melati.util.HTMLUtils
 
dtdNameForHTMLParser - Static variable in class org.melati.util.HTMLUtils
The DTD name.
DumbPagedEnumeration<T> - Class in org.melati.util
A PagedEnumeration which doesn't know how big it is.
DumbPagedEnumeration(Enumeration<T>, int, int, int) - Constructor for class org.melati.util.DumbPagedEnumeration
Constructor.
duplicateTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
 

E

EditFrameName(Melati) - Method in class org.melati.admin.AdminUtils
 
EditHeaderURL(Melati) - Method in class org.melati.admin.AdminUtils
 
EditURL(Melati) - Method in class org.melati.admin.AdminUtils
 
EditURL(Persistent) - Method in class org.melati.admin.AdminUtils
 
Email - Class in org.melati.util
Send an email to one or more recipients with or without attachments.
EmailException - Exception in org.melati.util
Thrown when there is a problem sending an Email.
EmailException() - Constructor for exception org.melati.util.EmailException
Constructor.
EmailException(String) - Constructor for exception org.melati.util.EmailException
Constructor with message.
EmailTemplateServletTest - Class in org.melati.test
Test display of various characters using a Template Engine.
EmailTemplateServletTest() - Constructor for class org.melati.test.EmailTemplateServletTest
 
EMPTY_ENUMERATION - Static variable in class org.melati.util.ChildrenDrivenMutableTree
An enumeration that is always empty.
encode(String) - Static method in class org.melati.util.MD5Util
Encode a String.
encode(String) - Static method in class org.melati.util.UTF8URLEncoder
Encode with default encoding.
encode(String, String) - Static method in class org.melati.util.UTF8URLEncoder
Encode with an encoding.
encoded(String) - Method in class org.melati.template.HTMLLikeMarkupLanguage
Encode a String as a UTF-8 URL.
encoded(String) - Method in interface org.melati.template.MarkupLanguage
Encode a String as a UTF-8 URL.
encodingTest(Melati) - Method in class org.melati.test.CharData.Item
 
entitied(String, boolean, String, boolean) - Static method in class org.melati.util.HTMLUtils
Return the String with all high value ASCII characters replaced with HTML entities.
entitied(String) - Static method in class org.melati.util.HTMLUtils
Escape the given string as PCDATA without regard for any characters that cannot be encoded in some required character set.
entityFor(char, boolean, CharsetEncoder, boolean) - Static method in class org.melati.util.HTMLUtils
If the given character has special meaning in HTML or will not necessarily encode in the character set, then return an escape string.
error(Melati, Exception) - Method in class org.melati.servlet.ConfigServlet
Send an error message.
error(Melati, Exception) - Method in class org.melati.servlet.TemplateServlet
Send an error message.
errorString(String) - Method in class org.melati.template.webmacro.PassbackEvaluationExceptionHandler
errorString(String) - Method in class org.melati.template.webmacro.PropagateEvaluationExceptionHandler
I do not believe that this can be exercised, without a bug in webmacro.
escaped(String) - Method in class org.melati.template.HTMLLikeMarkupLanguage
Escape a String.
escaped(Persistent) - Method in class org.melati.template.HTMLLikeMarkupLanguage
Get the DisplayString of a Persistent and escape that using the current locale and a MEDIUM DateFormat.
escaped(String) - Method in interface org.melati.template.MarkupLanguage
Escape a String.
escaped(Persistent) - Method in interface org.melati.template.MarkupLanguage
Get the DisplayString of a Persistent and escape that using the current locale and a MEDIUM DateFormat.
establishCharsets() - Method in class org.melati.Melati
Suggest a response character encoding and if necessary choose a request encoding.
establishUser(Melati) - Method in interface org.melati.login.AccessHandler
Called when a @link PoemTask} is initiated.
establishUser(Melati) - Method in class org.melati.login.CommandLineAccessHandler
Called when the PoemTask is initialised, recalled after a login.
establishUser(Melati) - Method in class org.melati.login.HttpBasicAuthenticationAccessHandler
Get the users details.
establishUser(Melati) - Method in class org.melati.login.HttpSessionAccessHandler
Set the Access token to be used for this request.
establishUser(Melati) - Method in class org.melati.login.OpenAccessHandler
Set to guest if not set, remains null if we have no database.
evaluate(Variable, Context, Exception) - Method in class org.melati.template.webmacro.PassbackEvaluationExceptionHandler
evaluate(Variable, Context, Exception) - Method in class org.melati.template.webmacro.PropagateEvaluationExceptionHandler
ExceptionUtils - Class in org.melati.util
An assortment of useful operations on Exceptions.
ExitServlet - Class in org.melati.test
Test how your servlet container behaves when you call System.exit(0).
ExitServlet() - Constructor for class org.melati.test.ExitServlet
 
expand(Variable, Context, Exception) - Method in class org.melati.template.webmacro.PassbackEvaluationExceptionHandler
expand(Variable, Context, Exception) - Method in class org.melati.template.webmacro.PropagateEvaluationExceptionHandler
expandedTemplate(Template, TemplateContext) - Method in class org.melati.template.NoTemplateEngine
Expand the Template against the context.
expandedTemplate(Template, TemplateContext) - Method in interface org.melati.template.TemplateEngine
Expand the Template against the context and return the expansion as a string.
expandedTemplate(Template, TemplateContext) - Method in class org.melati.template.velocity.VelocityTemplateEngine
Expand the Template against the context to a String.
expandedTemplate(Template, TemplateContext) - Method in class org.melati.template.webmacro.WebmacroTemplateEngine
Expand the Template against the context and return the expansion as a string.
expandTemplate(MelatiWriter, String, TemplateContext) - Method in class org.melati.template.NoTemplateEngine
Expand the Template against the context.
expandTemplate(MelatiWriter, Template, TemplateContext) - Method in class org.melati.template.NoTemplateEngine
Expand the Template against the context.
expandTemplate(MelatiWriter, String, TemplateContext) - Method in interface org.melati.template.TemplateEngine
Expand the Template against the context.
expandTemplate(MelatiWriter, Template, TemplateContext) - Method in interface org.melati.template.TemplateEngine
Expand the Template against the context, unwrapping any Access Exceptions.
expandTemplate(MelatiWriter, String, TemplateContext) - Method in class org.melati.template.velocity.VelocityTemplateEngine
Get a Template by name and expand it against a context.
expandTemplate(MelatiWriter, Template, TemplateContext) - Method in class org.melati.template.velocity.VelocityTemplateEngine
Expand a Template against the context.
expandTemplate(MelatiWriter, String, TemplateContext) - Method in class org.melati.template.webmacro.WebmacroTemplateEngine
Expand the Template against the context.
expandTemplate(MelatiWriter, Template, TemplateContext) - Method in class org.melati.template.webmacro.WebmacroTemplateEngine
Expand the Template against the context.
expandTemplet(Template, TemplateContext, MelatiWriter) - Method in class org.melati.template.AbstractMarkupLanguage
Interpolate a templet and write it out.
expected - Variable in exception org.melati.util.FormatPropertyException
The expected value.
extractField(String, String, String) - Method in class org.melati.servlet.MultipartFormDataDecoder
Extract a String from header bounded by lBound and either: rBound or a "\r\n" or the end of the String.
extractFields(ServletTemplateContext, Persistent) - Static method in class org.melati.servlet.Form
Retrieve updated persistent fields from a context modified in a template.

F

field - Variable in class org.melati.servlet.BaseFileFormDataAdaptor
Information about the uploaded file.
FIELD_POSSIBILITIES_LIMIT - Static variable in class org.melati.template.AbstractMarkupLanguage
The maximum number of field possibilities to render.
file - Variable in class org.melati.servlet.BaseFileFormDataAdaptor
The file in which to save the data.
FileUtils - Class in org.melati.util
An assortment of useful operations on Files.
flattened(int, boolean) - Method in class org.melati.util.Tree
Retrieve all the nodes down to a given depth.
flattened(int) - Method in class org.melati.util.Tree
Retrieve all the nodes down to a given depth, depth-first.
flattened() - Method in class org.melati.util.Tree
 
flush() - Method in class org.melati.template.velocity.MelatiBufferedVelocityWriter
flush() - Method in class org.melati.template.webmacro.MelatiBufferedFastWriter
 
flush() - Method in class org.melati.util.MelatiBufferedWriter
flush - Variable in class org.melati.util.MelatiWriter
 
flush() - Method in class org.melati.util.MelatiWriter
flush() - Method in class org.melati.util.ThrowingPrintWriter
Delegated method.
Flusher - Class in org.melati.util
Flusher replaces need for Thread.stop.
Flusher(MelatiWriter) - Constructor for class org.melati.util.Flusher
Constructor.
FlushingServletTest - Class in org.melati.test
Illustrate the difference between flushing and not flushing your output buffer.
FlushingServletTest() - Constructor for class org.melati.test.FlushingServletTest
 
forceLogin(HttpServletResponse, String, String) - Method in class org.melati.login.HttpBasicAuthenticationAccessHandler
Force a login by sending a 401 error back to the browser.
Form - Class in org.melati.servlet
An object to hold useful static methods for manipulation of a Form in a ServletTemplateContext.
Form - Class in org.melati.template.velocity
 
Form(HttpServletRequest) - Constructor for class org.melati.template.velocity.Form
Constructor.
FORM - Static variable in class org.melati.template.velocity.VelocityServletTemplateContext
Mimicking the $Form behaviour of Webmacro.
FormatPropertyException - Exception in org.melati.util
Thrown when an attempt is made to cast a String property value as a numeric type.
FormatPropertyException(Properties, String, String, String, Exception) - Constructor for exception org.melati.util.FormatPropertyException
Full constructor.
FormDataAdaptor - Interface in org.melati.servlet
An interface to the data portion of a MultipartFormField.
FormDataAdaptorException - Exception in org.melati.servlet
Thrown when there is a problem with saving or reading an uploaded file.
FormDataAdaptorException(String, Exception) - Constructor for exception org.melati.servlet.FormDataAdaptorException
Thrown when there is a problem with a FormDataAdaptor.
FormDataAdaptorFactory - Class in org.melati.servlet
A way to implement policies about how to save uploaded files.
FormDataAdaptorFactory() - Constructor for class org.melati.servlet.FormDataAdaptorFactory
 
FormParameterException - Exception in org.melati.template
Something is wrong with this parameter.
FormParameterException(String, String) - Constructor for exception org.melati.template.FormParameterException
Constructor.
fromFile(File) - Static method in class org.melati.util.PropertiesUtils
Get a Properties object from a file.
fromResource(Class<?>, String) - Static method in class org.melati.util.PropertiesUtils
Get a Properties object from a Class.
ftell() - Method in class org.melati.util.FtellPrintWriter
 
ftell() - Method in class org.melati.util.FtellWriter
 
FtellPrintWriter - Class in org.melati.util
A PrintWriter which knows how much it has written.
FtellPrintWriter(Writer) - Constructor for class org.melati.util.FtellPrintWriter
Constructor.
FtellWriter - Class in org.melati.util
A FilterWriter which knows how much it has written.
FtellWriter(Writer) - Constructor for class org.melati.util.FtellWriter
Constructor.
Function - Interface in org.melati.util
A Function.

G

get(Melati, MultipartFormField) - Method in class org.melati.servlet.FormDataAdaptorFactory
We need to establish the user and set up any request specific melati stuff so that we can verify the user has permission for this task, and use melati Table / Objects to manipulate what the FormDataAdaptor does.
get(String) - Method in class org.melati.template.MultipartTemplateContext
Get an object from the Context by key.
get(String) - Method in interface org.melati.template.TemplateContext
Get an object from the Context by key.
get(String) - Method in class org.melati.template.velocity.Form
Get a form value.
get(String) - Method in class org.melati.template.velocity.HttpServletRequestWrap
Accessor to allow one to retrieve the parameters.
get(String) - Method in class org.melati.template.velocity.VelocityTemplateContext
Get an object from the Context by key.
get(String) - Method in class org.melati.template.webmacro.WebmacroTemplateContext
Get a value by key.
getAccessHandler() - Method in class org.melati.MelatiConfig
 
getArguments() - Method in class org.melati.Melati
Get the Arguments array.
getAttr() - Method in class org.melati.template.HTMLMarkupLanguage
Get an appropriate markup language to render attributes.
getAttr() - Method in interface org.melati.template.MarkupLanguage
The AttributeMarkupLanguage associated with this MarkupLanguage.
getAttr() - Method in class org.melati.template.WMLMarkupLanguage
Get the associated MarkupLaguage for rendering attributes.
getAttr() - Method in class org.melati.template.XMLMarkupLanguage
Get the associated MarkupLaguage for rendering attributes.
getAttribute(String) - Method in class org.melati.util.DelegatedHttpServletRequest
getAttributeNames() - Method in class org.melati.util.DelegatedHttpServletRequest
getAttributeNames(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API.
getAuthType() - Method in class org.melati.util.DelegatedHttpServletRequest
getAuthType(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Returns the name of the authentication scheme used to protect the servlet, for example, "BASIC" or "SSL," or null if the servlet was not protected.
getBackgroundColour() - Method in class org.melati.util.JSStaticTree
 
getBooleanField(ServletTemplateContext, String) - Static method in class org.melati.servlet.Form
A utility method that tests whether a field is present in a Form, returning a Boolean.
getBufferLength() - Method in class org.melati.util.DelimitedBufferedInputStream
Used in tests.
getChar() - Method in class org.melati.test.CharData.Item
 
getCharacterEncoding() - Method in class org.melati.util.DelegatedHttpServletRequest
getChildren() - Method in class org.melati.util.TreeNode
 
getClosedFolderImage() - Method in class org.melati.util.JSStaticTree
 
getClosedImage() - Method in class org.melati.util.JSDynamicTree
 
getClosedLImage() - Method in class org.melati.util.JSStaticTree
 
getClosedTImage() - Method in class org.melati.util.JSStaticTree
 
getConfig() - Method in class org.melati.Melati
Get the MelatiConfig associated with this Request.
getContentDisposition() - Method in class org.melati.servlet.MultipartFormField
Get the ContentDisposition.
getContentLength() - Method in class org.melati.util.DelegatedHttpServletRequest
getContentType() - Method in class org.melati.Melati
 
getContentType() - Method in class org.melati.servlet.MultipartFormField
Get the ContentType.
getContentType() - Method in class org.melati.util.DelegatedHttpServletRequest
getContext() - Method in class org.melati.template.MultipartTemplateContext
Return the Context itself, as an Object.
getContext() - Method in interface org.melati.template.TemplateContext
Return the Context itself, as an Object.
getContext() - Method in class org.melati.template.velocity.VelocityTemplateContext
Return the Context itself, as an Object.
getContext() - Method in class org.melati.template.webmacro.WebmacroTemplateContext
Get the context itself.
getContextPath() - Method in class org.melati.util.DelegatedHttpServletRequest
getContextPath(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Returns the empty string when run against 2.0 API.
getContextUtil(String) - Method in class org.melati.Melati
Get a named context utility eg org.melati.admin.AdminUtils.
getCookies() - Method in class org.melati.util.DelegatedHttpServletRequest
getCookies(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Returns an array containing all of the Cookie objects the client sent with this request.
getCurrentPosition() - Method in interface org.melati.util.PagedEnumeration
 
getCurrentPosition() - Method in class org.melati.util.PagedEnumerationBase
getData() - Method in class org.melati.servlet.BaseFileFormDataAdaptor
Return the data in the file as a byte array.
getData() - Method in interface org.melati.servlet.FormDataAdaptor
Return the data as a byte array.
getData() - Method in class org.melati.servlet.MemoryFormDataAdaptor
Return the data as a byte array.
getData() - Method in class org.melati.servlet.MultipartFormField
 
getData() - Method in class org.melati.util.TreeNode
 
getDatabase(String) - Static method in class org.melati.LogicalDatabase
Retrieve a database by name.
getDatabase() - Method in class org.melati.Melati
Get the POEM Database for this Request.
getDatabaseName() - Method in class org.melati.Melati
 
getDataFile() - Method in class org.melati.servlet.MultipartFormField
Return the data saved as a file (or null if it is not saved).
getDataSize() - Method in class org.melati.servlet.MultipartFormField
Return the length of the data.
getDataString() - Method in class org.melati.servlet.MultipartFormField
 
getDataString(String) - Method in class org.melati.servlet.MultipartFormField
Get the data using the specified encoding.
getDataURL() - Method in class org.melati.servlet.MultipartFormField
Return a URL to the saved data (or null if no such URL exists).
getDateHeader(String) - Method in class org.melati.util.DelegatedHttpServletRequest
getDateHeader(HttpServletRequest, String) - Static method in class org.melati.util.HttpServletRequestCompat
Returns the value of the specified request header as a long value that represents a Date object.
getDepth() - Method in class org.melati.util.Tree
 
getDepth() - Method in class org.melati.util.TreeNode
 
getDepthPerDownload() - Method in class org.melati.util.JSDynamicTree
 
getDepthPerDownload() - Method in class org.melati.util.JSStaticTree
 
getDescription() - Method in class org.melati.test.CharData.Item
 
getEncoding() - Method in class org.melati.Melati
Return the encoding that is used for writing.
getEngine() - Method in class org.melati.template.NoTemplateEngine
Get the underlying engine.
getEngine() - Method in interface org.melati.template.TemplateEngine
Get the underlying engine.
getEngine() - Method in class org.melati.template.velocity.VelocityTemplateEngine
Get the underlying engine.
getEngine() - Method in class org.melati.template.webmacro.WebmacroTemplateEngine
Get the underlying engine.
getFastWriter() - Method in class org.melati.template.webmacro.MelatiFastWriter
Return a FastWriter that can be used for a while instead.
getFastWriter() - Method in class org.melati.template.webmacro.MelatiWebmacroStringWriter
 
getFastWriter() - Method in interface org.melati.template.webmacro.MelatiWebmacroWriter
Return a FastWriter that can be used for a while.
getFdaFactory() - Method in class org.melati.MelatiConfig
 
getField(ServletTemplateContext, String, String) - Static method in class org.melati.servlet.Form
A utility method that gets a value from the Form.
getFieldName() - Method in class org.melati.servlet.MultipartFormField
Get the FieldName.
getFieldNames() - Method in class org.melati.template.MultipartTemplateContext
 
getFieldNulled(ServletTemplateContext, String) - Static method in class org.melati.servlet.Form
A utility method that gets a value from the Form.
getFile() - Method in class org.melati.servlet.BaseFileFormDataAdaptor
Return a File object pointing to the saved data.
getFile() - Method in interface org.melati.servlet.FormDataAdaptor
Return a File object pointing to the saved data or null if none exists.
getFile() - Method in class org.melati.servlet.MemoryFormDataAdaptor
Return a File object pointing to the saved data (if one exists).
getFormDataAdaptor() - Method in class org.melati.servlet.MultipartFormField
 
getFormDataAdaptorFactory() - Method in class org.melati.MelatiConfig
 
getFormField(String) - Method in class org.melati.template.MultipartTemplateContext
Get a field from an HTML Form.
getFormField(String) - Method in interface org.melati.template.ServletTemplateContext
Get a field from an HTML Form.
getFormField(String) - Method in class org.melati.template.velocity.VelocityServletTemplateContext
Get a field from an HTML Form.
getFormField(String) - Method in class org.melati.template.webmacro.WebmacroServletTemplateContext
Returns null if not present, empty string if empty.
getFormOrDie(ServletTemplateContext, String, String) - Method in class org.melati.template.YMDDateAdaptor
 
getHeader(String) - Method in class org.melati.util.DelegatedHttpServletRequest
getHeader(HttpServletRequest, String) - Static method in class org.melati.util.HttpServletRequestCompat
Returns the value of the specified request header as a String.
getHeaderNames() - Method in class org.melati.util.DelegatedHttpServletRequest
getHeaderNames(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Returns an enumeration of all the header names this request contains.
getHeaders(String) - Method in class org.melati.util.DelegatedHttpServletRequest
getHeaders(HttpServletRequest, String) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API.
getHomepageURL(Melati) - Method in class org.melati.admin.AdminUtils
Check if setting in db, provide default if not, do not write default to db.
getHTMLMarkupLanguage() - Method in class org.melati.Melati
Get a HTMLMarkupLanguage.
getImageBaseRef() - Method in class org.melati.util.JSStaticTree
 
getIndent() - Method in class org.melati.util.JSDynamicTree
 
getInitialisedDatabaseNames() - Static method in class org.melati.LogicalDatabase
Retrieve the names of the databases which have completed initialisation.
getInputStream() - Method in class org.melati.util.DelegatedHttpServletRequest
getInstance(String) - Method in class org.melati.Melati
Get a named context utility eg org.melati.admin.AdminUtils.
getInstance() - Static method in class org.melati.template.ClassNameTempletLoader
 
getIntegerField(ServletTemplateContext, String, Integer) - Static method in class org.melati.servlet.Form
A utility method that gets a value from the Form as an Integer.
getIntegerField(ServletTemplateContext, String) - Static method in class org.melati.servlet.Form
A utility method that gets a value from the Form as an Integer.
getIntHeader(String) - Method in class org.melati.util.DelegatedHttpServletRequest
getIntHeader(HttpServletRequest, String) - Static method in class org.melati.util.HttpServletRequestCompat
Returns the value of the specified request header as an int.
getIt(Melati, MultipartFormField) - Method in class org.melati.servlet.DefaultFileFormDataAdaptorFactory
Get the FormDataAdaptor.
getIt(Melati, MultipartFormField) - Method in class org.melati.servlet.FormDataAdaptorFactory
Implements different policies for saving uploaded files depending on the details of the file and the state of the application.
getIt(Melati, MultipartFormField) - Method in class org.melati.servlet.MemoryFormDataAdaptorFactory
Return the right FormDataAdaptor.
getIt(Melati, MultipartFormField) - Method in class org.melati.servlet.PoemFileFormDataAdaptorFactory
Get the defaulted parameters for the adaptor from the database and create it.
getIt(Melati, MultipartFormField) - Method in class org.melati.servlet.TemporaryFileFormDataAdaptorFactory
Get the FormDataAdaptor.
getIt() - Static method in class org.melati.template.YMDHMSTimestampAdaptor
 
getItems() - Static method in class org.melati.test.CharData
 
getJavascriptLibraryURL() - Method in class org.melati.Melati
Get the URL for the JavascriptLibrary.
getJavascriptLibraryURL() - Method in class org.melati.MelatiConfig
 
getKnownDatabaseNames() - Method in class org.melati.Melati
Return the names of other databases known at the moment.
getLeafImage() - Method in class org.melati.util.JSDynamicTree
 
getLeafImage() - Method in class org.melati.util.JSStaticTree
 
getLeafLImage() - Method in class org.melati.util.JSStaticTree
 
getLeafTImage() - Method in class org.melati.util.JSStaticTree
 
getLocalAddr() - Method in class org.melati.util.DelegatedHttpServletRequest
getLocalAddr(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getLocale() - Method in class org.melati.util.DelegatedHttpServletRequest
getLocale(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API.
getLocales() - Method in class org.melati.util.DelegatedHttpServletRequest
getLocales(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API.
getLocalName() - Method in class org.melati.util.DelegatedHttpServletRequest
getLocalName(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getLocalPort() - Method in class org.melati.util.DelegatedHttpServletRequest
getLocalPort(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getLogicalDatabase() - Method in class org.melati.PoemContext
 
getLoginHandler() - Method in class org.melati.login.Login
 
getLoginPageServletClassName() - Static method in class org.melati.MelatiConfig
 
getLoginURL() - Method in class org.melati.Melati
Get the URL for the Login Page.
getLogoutPageServletClassName() - Static method in class org.melati.MelatiConfig
 
getLogoutURL() - Method in class org.melati.Melati
Get the URL for the Logout Page.
getMarkupLanguage() - Method in class org.melati.Melati
Get a MarkupLanguage for use generating output from templates.
getMelatiConfig() - Method in class org.melati.servlet.JspServlet
Override this to tailor your configuration.
getMessage() - Method in exception org.melati.admin.AnticipatedException
The detail message.
getMessage() - Method in exception org.melati.app.InvalidArgumentsException
 
getMessage() - Method in exception org.melati.servlet.InvalidUsageException
 
getMessage() - Method in exception org.melati.servlet.PathInfoException
 
getMessage() - Method in exception org.melati.template.MissingFieldException
getMessage() - Method in exception org.melati.template.PartlyNullException
 
getMessage() - Method in exception org.melati.template.TemplateEngineException
getMessage() - Method in exception org.melati.template.TempletAdaptorConstructionMelatiException
getMessage() - Method in exception org.melati.util.BugException
getMessage() - Method in exception org.melati.util.CharsetException
getMessage() - Method in exception org.melati.util.ConfigException
getMessage() - Method in exception org.melati.util.ConnectionPendingException
getMessage() - Method in exception org.melati.util.DatabaseInitException
 
getMessage() - Method in exception org.melati.util.FormatPropertyException
 
getMessage() - Method in error org.melati.util.HttpServletRequestCompat.MissingMethodError
getMessage() - Method in exception org.melati.util.InstantiationPropertyException
getMessage() - Method in exception org.melati.util.MelatiBugMelatiException
 
getMessage() - Method in exception org.melati.util.MelatiException
getMessage() - Method in exception org.melati.util.NoSuchPropertyException
getMessage() - Method in exception org.melati.util.PropertyException
 
getMessage() - Method in exception org.melati.util.ReconstructedHttpServletRequestMismatchException
 
getMessage() - Method in exception org.melati.util.ThrowingPrintWriter.TroubleException
getMessage() - Method in exception org.melati.util.UnexpectedExceptionException
 
getMethod() - Method in class org.melati.Melati
Get the Method (if any) that has been set for this Request.
getMethod() - Method in class org.melati.PoemContext
 
getMethod() - Method in class org.melati.util.DelegatedHttpServletRequest
getMethod(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getMethod() - Method in class org.melati.util.ReconstructedHttpServletRequest
From the old request.
getMultipartFormField(String) - Method in class org.melati.template.MultipartTemplateContext
Get a multi-part field from an HTML form.
getMultipartFormField(String) - Method in interface org.melati.template.ServletTemplateContext
Get a multi-part field from an HTML form.
getMultipartFormField(String) - Method in class org.melati.template.velocity.VelocityServletTemplateContext
Returns null as this is not a multi part form.
getMultipartFormField(String) - Method in class org.melati.template.webmacro.WebmacroServletTemplateContext
Throws an exception as this is not a multi part form.
getName() - Method in class org.melati.template.AbstractMarkupLanguage
Get the name of this Markup Language.
getName() - Method in interface org.melati.template.MarkupLanguage
Get the name of this Markup Language.
getName() - Method in class org.melati.template.NoTemplateEngine
The name of the template engine (used to find the templets).
getName() - Method in interface org.melati.template.TemplateEngine
The name of the template engine (used to find the templets).
getName() - Method in class org.melati.template.velocity.VelocityTemplateEngine
The name of the template engine (used to find the templets).
getName() - Method in class org.melati.template.webmacro.WebmacroTemplateEngine
The name of the template engine (used to find the templets).
getNewRequest() - Method in class org.melati.util.ReconstructedHttpServletRequest
 
getNextPageStart() - Method in class org.melati.util.CountedDumbPagedEnumeration
getNextPageStart() - Method in class org.melati.util.DumbPagedEnumeration
getNextPageStart() - Method in interface org.melati.util.PagedEnumeration
 
getNextPosition() - Method in interface org.melati.util.PagedEnumeration
 
getNextPosition() - Method in class org.melati.util.PagedEnumerationBase
getNodeColour() - Method in class org.melati.util.JSDynamicTree
 
getNodeHeight() - Method in class org.melati.util.JSDynamicTree
 
getNodeLabelTemplet() - Method in class org.melati.util.JSDynamicTree
 
getNodeToRootPath(boolean, boolean) - Method in class org.melati.util.TreeNode
Retrieve an Array of TreeNodes which is the shortest path from this node to its root.
getNodeWidth() - Method in class org.melati.util.JSDynamicTree
 
getNumber() - Method in class org.melati.util.Page
 
getObject() - Method in class org.melati.Melati
Get the POEM Object (if any) in use for this Request.
getOpenedFolderImage() - Method in class org.melati.util.JSStaticTree
 
getOpenedImage() - Method in class org.melati.util.JSDynamicTree
 
getOpenedLImage() - Method in class org.melati.util.JSStaticTree
 
getOpenedTImage() - Method in class org.melati.util.JSStaticTree
 
getOrDefault(Properties, String, String) - Static method in class org.melati.util.PropertiesUtils
Get a property or return the supplied default.
getOrDefault_int(Properties, String, int) - Static method in class org.melati.util.PropertiesUtils
Get an Integer property from a Properties object or make a fuss.
getOrDie(Properties, String) - Static method in class org.melati.util.PropertiesUtils
Return a property.
getOrDie_int(Properties, String) - Static method in class org.melati.util.PropertiesUtils
Get an Integer property.
getPageEnd() - Method in interface org.melati.util.PagedEnumeration
 
getPageEnd() - Method in class org.melati.util.PagedEnumerationBase
getPages() - Method in interface org.melati.util.PagedEnumeration
 
getPages() - Method in class org.melati.util.PagedEnumerationBase
 
getPageSize() - Method in interface org.melati.util.PagedEnumeration
 
getPageSize() - Method in class org.melati.util.PagedEnumerationBase
getPageStart() - Method in interface org.melati.util.PagedEnumeration
 
getPageStart() - Method in class org.melati.util.PagedEnumerationBase
getPageStartList() - Method in class org.melati.util.DumbPagedEnumeration
 
getParameter(String) - Method in class org.melati.util.DelegatedHttpServletRequest
getParameter(String) - Method in class org.melati.util.ReconstructedHttpServletRequest
From the old request.
getParameterMap() - Method in class org.melati.util.DelegatedHttpServletRequest
getParameterMap(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getParameterNames() - Method in class org.melati.util.DelegatedHttpServletRequest
getParameterNames() - Method in class org.melati.util.ReconstructedHttpServletRequest
From the old request.
getParameters() - Method in class org.melati.util.HttpServletRequestParameters
 
getParameterValues(String) - Method in class org.melati.util.DelegatedHttpServletRequest
getParameterValues(String) - Method in class org.melati.util.ReconstructedHttpServletRequest
From the old request.
getParent() - Method in class org.melati.util.TreeNode
 
getPathFromRoot() - Method in class org.melati.util.TreeNode
 
getPathInfo() - Method in class org.melati.util.DelegatedHttpServletRequest
getPathInfo(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getPathInfoParts() - Method in class org.melati.Melati
Get the PathInfo for this Request split into Parts by '/'.
getPathToRoot() - Method in class org.melati.util.TreeNode
 
getPathTranslated() - Method in class org.melati.util.DelegatedHttpServletRequest
getPathTranslated(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getPoemContext() - Method in class org.melati.Melati
Get the PoemContext for this Request.
getPoemContext() - Method in class org.melati.servlet.JspServlet
Override this to supply a PoemContext with at least a database field filled.
getPoemContext(String) - Method in class org.melati.servlet.JspServlet
 
getPoemContext(String, String) - Method in class org.melati.servlet.JspServlet
 
getPoemLocale() - Method in class org.melati.Melati
Returns a PoemLocale object based on the Accept-Language header of this request.
getPoemLocale() - Static method in class org.melati.MelatiConfig
 
getPotentialMatch() - Method in class org.melati.util.DelimitedBufferedInputStream
Used in tests.
getPreferredCharsets() - Method in class org.melati.MelatiConfig
Return the set encodings that the server prefers and supports.
getPrettyDataSize() - Method in class org.melati.servlet.MultipartFormField
The size of the file as a formatted string.
getPrevPageStart() - Method in interface org.melati.util.PagedEnumeration
 
getPrevPageStart() - Method in class org.melati.util.PagedEnumerationBase
getPrimaryDisplayTable(Melati) - Static method in class org.melati.admin.AdminUtils
 
getPropertiesName() - Static method in class org.melati.LogicalDatabase
The name used with getResourceAsStream to get the file and the properties within it.
getProtocol() - Method in class org.melati.util.DelegatedHttpServletRequest
getQueryString() - Method in class org.melati.util.DelegatedHttpServletRequest
getQueryString(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getReader() - Method in class org.melati.util.DelegatedHttpServletRequest
getRealPath() - Method in class org.melati.MelatiConfig
 
getRealPath(String) - Method in class org.melati.util.DelegatedHttpServletRequest
Deprecated. Servlet API 2.1
getRealPath(HttpServletRequest, String) - Static method in class org.melati.util.HttpServletRequestCompat
Deprecated. Servlet API 2.1
getReference() - Method in class org.melati.test.CharData.Item
 
getRelativeRequestURL(HttpServletRequest) - Static method in class org.melati.util.HttpUtil
Retrieve a relative url from a request.
getRelativeZoneURL() - Method in class org.melati.Melati
 
getRemoteAddr() - Method in class org.melati.util.DelegatedHttpServletRequest
getRemoteHost() - Method in class org.melati.util.DelegatedHttpServletRequest
getRemotePort() - Method in class org.melati.util.DelegatedHttpServletRequest
getRemotePort(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getRemoteUser() - Method in class org.melati.util.DelegatedHttpServletRequest
getRemoteUser(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getRequest() - Method in class org.melati.Melati
Get the servlet request object.
getRequestDispatcher(String) - Method in class org.melati.util.DelegatedHttpServletRequest
getRequestDispatcher(HttpServletRequest, String) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API.
getRequestedSessionId() - Method in class org.melati.util.DelegatedHttpServletRequest
getRequestedSessionId(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getRequestURI() - Method in class org.melati.util.DelegatedHttpServletRequest
getRequestURI(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getRequestURL() - Method in class org.melati.util.DelegatedHttpServletRequest
getRequestURL(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.2 API.
getResourceStream(String) - Method in class org.melati.template.velocity.WebMacroClasspathResourceLoader
Get an InputStream so that the Runtime can build a template with it, munge it if it is a WM template.
getResponse() - Method in class org.melati.Melati
Get the servlet response object.
getRestrictedAccessObject() - Method in class org.melati.test.RestrictedAccessObject
Used in a test template.
getRoot() - Method in class org.melati.util.ChildrenDrivenMutableTree
 
getRoots() - Method in class org.melati.template.AbstractTemplateEngine
A root should not end in a slash.
getRoots() - Method in interface org.melati.template.TemplateEngine
A root should not end in a slash.
getSameURL() - Method in class org.melati.Melati
The URL of the servlet request associated with this Melati.
getScheme() - Method in class org.melati.util.DelegatedHttpServletRequest
getScreenStylesheetURL(Melati) - Method in class org.melati.admin.AdminUtils
 
getServerName() - Method in class org.melati.util.DelegatedHttpServletRequest
getServerPort() - Method in class org.melati.util.DelegatedHttpServletRequest
getServerURL(HttpServletRequest) - Static method in class org.melati.util.HttpUtil
Return the server URL.
getServletInfo() - Method in class org.melati.servlet.JspServlet
getServletName() - Method in class org.melati.test.CharsetTemplateServletTest
 
getServletPath() - Method in class org.melati.util.DelegatedHttpServletRequest
getServletPath(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
getServletTemplateContext() - Method in class org.melati.Melati
Get the TemplateContext used for this Request.
getServletTemplateContext(Melati) - Method in class org.melati.template.NoTemplateEngine
Throw exception.
getServletTemplateContext(Melati) - Method in interface org.melati.template.ServletTemplateEngine
Get the generic parameters for this engine.
getServletTemplateContext(Melati) - Method in class org.melati.template.velocity.VelocityServletTemplateEngine
Get the template context for Velocity, with servlet specific objects added.
getServletTemplateContext(Melati) - Method in class org.melati.template.webmacro.WebmacroServletTemplateEngine
Get the generic parameters for WebMacro, with servlet objects in the Context.
getServletTemplateEngine() - Method in class org.melati.MelatiConfig
 
getServletURL() - Method in class org.melati.Melati
Get the URL for this request.
getServletWriter(HttpServletResponse, boolean) - Method in class org.melati.template.NoTemplateEngine
 
getServletWriter(HttpServletResponse, boolean) - Method in interface org.melati.template.ServletTemplateEngine
Get a Writer which can write to Servlet output.
getServletWriter(HttpServletResponse, boolean) - Method in class org.melati.template.velocity.VelocityServletTemplateEngine
 
getServletWriter(HttpServletResponse, boolean) - Method in class org.melati.template.webmacro.WebmacroServletTemplateEngine
 
getSession() - Method in class org.melati.Melati
Get the Session for this Request.
getSession() - Method in class org.melati.template.MultipartTemplateContext
Get the HttpSession .
getSession() - Method in interface org.melati.template.ServletTemplateContext
Get the HttpSession .
getSession() - Method in class org.melati.template.velocity.VelocityServletTemplateContext
Get the HttpSession .
getSession() - Method in class org.melati.template.webmacro.WebmacroServletTemplateContext
Get the HttpSession .
getSession(boolean) - Method in class org.melati.util.DelegatedHttpServletRequest
getSession() - Method in class org.melati.util.DelegatedHttpServletRequest
getSession(HttpServletRequest, boolean) - Static method in class org.melati.util.HttpServletRequestCompat
 
getSession(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API, introduced in 2.1.
getSetupURL() - Method in class org.melati.admin.AdminUtils
 
getSimpleDateAdaptor() - Static method in class org.melati.MelatiConfig
Called from within templets.
getSize() - Method in class org.melati.servlet.BaseFileFormDataAdaptor
Return the size of the data.
getSize() - Method in interface org.melati.servlet.FormDataAdaptor
Return the size of the data.
getSize() - Method in class org.melati.servlet.MemoryFormDataAdaptor
Return the size of the data.
getSpacerImage() - Method in class org.melati.util.JSStaticTree
 
getStart() - Method in class org.melati.util.Page
 
getStaticURL() - Method in class org.melati.admin.AdminUtils
 
getStaticURL() - Method in class org.melati.MelatiConfig
Normally set to melati-static.
getStopTask() - Method in class org.melati.util.Flusher
 
getStringWriter() - Method in class org.melati.Melati
Get a StringWriter.
getStringWriter() - Method in class org.melati.template.NoTemplateEngine
Return a MelatiStringWriter.
getStringWriter() - Method in interface org.melati.template.TemplateEngine
 
getStringWriter() - Method in class org.melati.template.velocity.VelocityTemplateEngine
Return a MelatiStringWriter.
getStringWriter() - Method in class org.melati.template.webmacro.WebmacroTemplateEngine
Return a MelatiWebmacroStringWriter.
getSysAdminEmail() - Method in class org.melati.app.AbstractConfigApp
This method SHOULD be overidden.
getSysAdminEmail() - Method in class org.melati.servlet.ConfigServlet
This method SHOULD be overidden.
getSysAdminEmail() - Method in class org.melati.servlet.PoemServlet
Override this to provide a different administrator's details to the database admin user.
getSysAdminName() - Method in class org.melati.app.AbstractConfigApp
This method SHOULD be overidden.
getSysAdminName() - Method in class org.melati.servlet.ConfigServlet
This method SHOULD be overidden.
getSysAdminName() - Method in class org.melati.servlet.PoemServlet
Override this to provide a different administrator's details to the database admin user.
getTable() - Method in class org.melati.Melati
Get the POEM Table (if any) in use for this Request.
getTable() - Method in class org.melati.PoemContext
 
getTemplateContext() - Method in class org.melati.Melati
Get the TemplateContext used for this Request.
getTemplateContext(Melati) - Method in class org.melati.template.NoTemplateEngine
Throw exception.
getTemplateContext(Melati) - Method in interface org.melati.template.TemplateEngine
Create a new Context for this engine.
getTemplateContext(Melati) - Method in class org.melati.template.velocity.VelocityTemplateEngine
Get the template context for Velocity.
getTemplateContext(Melati) - Method in class org.melati.template.webmacro.WebmacroTemplateEngine
Create a new, empty, Context for WebMacro.
getTemplateEngine() - Method in class org.melati.Melati
Get the template engine in use for this Request.
getTemplateEngine() - Method in class org.melati.MelatiConfig
 
getTemplateName(String, String) - Method in class org.melati.template.AbstractTemplateEngine
The name of a template which exists.
getTemplateName(String, String) - Method in interface org.melati.template.TemplateEngine
The name of a template which exists.
getTemplatePath() - Method in class org.melati.MelatiConfig
 
getTempletLoader() - Method in class org.melati.MelatiConfig
 
getTotalCount() - Method in interface org.melati.util.PagedEnumeration
 
getTotalCount() - Method in class org.melati.util.PagedEnumerationBase
getTotalCountIsMinimum() - Method in class org.melati.util.DumbPagedEnumeration
 
getTreeableRoots() - Method in class org.melati.util.Tree
 
getTreeNodeFor(Treeable) - Method in class org.melati.util.ChildrenDrivenMutableTree
Find a node in a tree.
getTroid() - Method in class org.melati.PoemContext
 
getUniqueName() - Method in class org.melati.util.TreeNode
 
getUploadDir() - Method in class org.melati.servlet.DefaultFileFormDataAdaptorFactory
Return the directory to save files in.
getUploadedFileName() - Method in class org.melati.servlet.MultipartFormField
Get the UploadedFileName.
getUploadedFilePath() - Method in class org.melati.servlet.MultipartFormField
Get the UploadedFilePath.
getUploadMessage(Melati) - Method in class org.melati.test.ConfigServletTest
 
getUploadMessage(Melati) - Method in class org.melati.test.ConfigServletTestOverride
 
getUploadMessage(Melati) - Method in class org.melati.test.PoemServletTest
 
getUploadURL() - Method in class org.melati.servlet.DefaultFileFormDataAdaptorFactory
 
getURL(Melati, String) - Method in class org.melati.admin.AdminUtils
 
getURL(Table, String) - Method in class org.melati.admin.AdminUtils
 
getURL() - Method in class org.melati.servlet.BaseFileFormDataAdaptor
 
getURL() - Method in interface org.melati.servlet.FormDataAdaptor
Return a url to the object or null if none exists.
getURL() - Method in class org.melati.servlet.MemoryFormDataAdaptor
Return a url to the object.
getURLQueryEncoding() - Method in class org.melati.Melati
Return the encoding that is used for URL encoded query strings.
getUser() - Method in class org.melati.Melati
Get a User for this request (if they are logged in).
getUserPrincipal() - Method in class org.melati.util.DelegatedHttpServletRequest
getUserPrincipal(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API.
getVelocityWriter() - Method in class org.melati.template.velocity.MelatiVelocityWriter
As we can write to the underlying peer the Flusher may not get started so we should start it here.
getVerticalLinkImage() - Method in class org.melati.util.JSStaticTree
 
getWrappedObject() - Method in class org.melati.template.velocity.HttpServletRequestWrap
Accessor to allow one to retrieve the wrapped HttpServletRequest.
getWriter() - Method in class org.melati.Melati
Get a Writer for this request.
getWriter() - Method in class org.melati.util.MelatiWriter
 
getX() - Method in class org.melati.util.JSDynamicTree
 
getY() - Method in class org.melati.util.JSDynamicTree
 
getYMDDateAdaptor() - Static method in class org.melati.MelatiConfig
Called from within templets using #set $yearField = $melati.Config.YMDDateAdaptor.yearField($field) idiom.
getYMDHMSTimestampAdaptor() - Static method in class org.melati.MelatiConfig
Called from within templets using #set $secondField = $melati.Config.YMDHMSTimestampAdaptor.secondField($field) idiom.
getZoneURL() - Method in class org.melati.Melati
Get the URL for this Servlet Zone.
GIGABYTE - Static variable in class org.melati.servlet.MultipartFormField
Number of bytes in a gigabyte.

H

handle(Melati, WebContext) - Method in class org.melati.template.webmacro.WebmacroMelatiServlet
 
handle(Melati, WebContext) - Method in class org.melati.test.FlushingServletTest
Main entry point.
handleAccessException(Melati, AccessPoemException) - Method in interface org.melati.login.AccessHandler
Deal with an AccessPoemException, often by allowing login.
handleAccessException(Melati, AccessPoemException) - Method in class org.melati.login.CommandLineAccessHandler
Actually handle the AccessPoemException.
handleAccessException(Melati, AccessPoemException) - Method in class org.melati.login.HttpBasicAuthenticationAccessHandler
Called when an AccessPoemException is trapped.
handleAccessException(Melati, AccessPoemException) - Method in class org.melati.login.HttpSessionAccessHandler
Store the current request and redirect to the login page.
handleAccessException(Melati, AccessPoemException) - Method in class org.melati.login.OpenAccessHandler
Ignore AccessPoemExceptions.
handleException(Melati, Exception) - Static method in class org.melati.app.AbstractPoemApp
Default method to handle an exception.
handleException(Melati, Exception) - Method in class org.melati.servlet.PoemServlet
Default method to handle an exception without a template engine.
hasMoreElements() - Method in class org.melati.util.CSVStringEnumeration
Are there any more tokens to come?
hasMoreElements() - Method in class org.melati.util.HttpHeader.FieldIterator
hasMoreElements() - Method in class org.melati.util.PagedEnumerationBase
hasNext() - Method in class org.melati.util.HttpHeader.FieldIterator
hourField(Field) - Method in class org.melati.template.YMDHMSTimestampAdaptor
 
HTMLAttributeMarkupLanguage - Class in org.melati.template
An HTML based markup language suitable for markup within an attribute tag.
HTMLAttributeMarkupLanguage(HTMLMarkupLanguage) - Constructor for class org.melati.template.HTMLAttributeMarkupLanguage
Constructor given an HTMLMarkupLanguage.
HTMLLikeMarkupLanguage - Class in org.melati.template
A Markup language with syntax similar to HTML.
HTMLLikeMarkupLanguage(String, Melati, TempletLoader, PoemLocale) - Constructor for class org.melati.template.HTMLLikeMarkupLanguage
Constructor.
HTMLLikeMarkupLanguage(String, HTMLLikeMarkupLanguage) - Constructor for class org.melati.template.HTMLLikeMarkupLanguage
 
HTMLMarkupLanguage - Class in org.melati.template
A representation of HTML.
HTMLMarkupLanguage(Melati, TempletLoader, PoemLocale) - Constructor for class org.melati.template.HTMLMarkupLanguage
Constructor.
HTMLMarkupLanguage(String, HTMLMarkupLanguage) - Constructor for class org.melati.template.HTMLMarkupLanguage
Constructor given another ML.
HTMLUtils - Class in org.melati.util
An assortment of useful things to do with HTML.
HTMLUtils.TagInstance - Class in org.melati.util
An Instance of a tag.
HTMLUtils.TagInstance(HTML.Tag, AttributeSet) - Constructor for class org.melati.util.HTMLUtils.TagInstance
Constructor.
HttpAuthenticationPoemServletTest - Class in org.melati.test
 
HttpAuthenticationPoemServletTest() - Constructor for class org.melati.test.HttpAuthenticationPoemServletTest
 
HttpAuthorizationMelatiException - Exception in org.melati.login
Flags up when something was illegal or not supported about an incoming HTTP authorization.
HttpAuthorizationMelatiException(String) - Constructor for exception org.melati.login.HttpAuthorizationMelatiException
Constructor.
HttpBasicAuthenticationAccessHandler - Class in org.melati.login
An AccessHandler which uses the HTTP Basic Authentication scheme to elicit and maintain the user's login and password.
HttpBasicAuthenticationAccessHandler() - Constructor for class org.melati.login.HttpBasicAuthenticationAccessHandler
 
HttpHeader - Class in org.melati.util
Representation of occurrences of an HTTP header field.
HttpHeader(String) - Constructor for class org.melati.util.HttpHeader
Create an instance representing the given comma separated fields.
HttpHeader.FieldIterator - Class in org.melati.util
Abstract enumeration of fields.
HttpHeader.FieldIterator() - Constructor for class org.melati.util.HttpHeader.FieldIterator
 
HttpHeader.HttpHeaderException - Exception in org.melati.util
 
HttpHeader.HttpHeaderException(String) - Constructor for exception org.melati.util.HttpHeader.HttpHeaderException
Create an instance with message.
HttpHeader.HttpHeaderException(String, Exception) - Constructor for exception org.melati.util.HttpHeader.HttpHeaderException
Create an instance with message and cause.
HttpHeader.TokenAndQValue - Class in org.melati.util
A token and associated qvalue.
HttpHeader.TokenAndQValue() - Constructor for class org.melati.util.HttpHeader.TokenAndQValue
Create an uninitialised instance.
HttpHeader.TokenAndQValue(HttpHeader.Tokenizer) - Constructor for class org.melati.util.HttpHeader.TokenAndQValue
Create an instance and initialise it by reading the given tokenizer.
HttpHeader.TokenAndQValueIterator - Class in org.melati.util
Iteration over HttpHeader.TokenAndQValues.
HttpHeader.TokenAndQValueIterator() - Constructor for class org.melati.util.HttpHeader.TokenAndQValueIterator
 
HttpHeader.Tokenizer - Class in org.melati.util
Tokenizer for parsing occurences of a field.
HttpHeader.WordIterator - Class in org.melati.util
Iteration over HttpHeader.TokenAndQValues.
HttpHeader.WordIterator() - Constructor for class org.melati.util.HttpHeader.WordIterator
 
HttpServletRequestCompat - Class in org.melati.util
NOTE This is no longer used, but it is so cool it is still around to marvel at The HttpServletRequestCompat class enables Melati to compile, without warnings, with the Servlet API versions 2.0 to 2.5.
HttpServletRequestCompat.MissingMethodError - Error in org.melati.util
Thrown when a method that is not available is invoked.
HttpServletRequestCompat.MissingMethodError() - Constructor for error org.melati.util.HttpServletRequestCompat.MissingMethodError
 
HttpServletRequestParameters - Class in org.melati.util
The parameters of an Http Servlet Request.
HttpServletRequestParameters(HttpServletRequest) - Constructor for class org.melati.util.HttpServletRequestParameters
Constructor.
HttpServletRequestWrap - Class in org.melati.template.velocity
A wrapper around an HttpServletRequest.
HttpServletRequestWrap(HttpServletRequest) - Constructor for class org.melati.template.velocity.HttpServletRequestWrap
Constructor.
HttpSessionAccessHandler - Class in org.melati.login
An AccessHandler which uses Session cookies to elicit and maintain the user's login and password.
HttpSessionAccessHandler() - Constructor for class org.melati.login.HttpSessionAccessHandler
 
httpStatusCode(Exception) - Method in class org.melati.servlet.ConfigServlet
 
HttpUtil - Class in org.melati.util
An assortment of useful things to do with Http.

I

increment(Integer) - Method in class org.melati.util.ContextUtil
Increment an Integer.
indexOf(byte[], byte[], int) - Method in class org.melati.util.DelimitedBufferedInputStream
Calculates length.
indexOf(byte[], byte[], int, int) - Method in class org.melati.util.DelimitedBufferedInputStream
Returns the index within data1 of the byte array data2.
init(String[]) - Method in class org.melati.app.AbstractConfigApp
Initialise.
init(String[]) - Method in class org.melati.app.AbstractPoemApp
Initialise.
init(String[]) - Method in class org.melati.app.AbstractTemplateApp
Initialise.
init(ServletConfig) - Method in class org.melati.servlet.ConfigServlet
Inititialise Melati.
init(ServletConfig) - Method in class org.melati.servlet.JspServlet
Initialise Melati.
init(ServletConfig) - Method in class org.melati.servlet.TemplateServlet
Inititialise the template engine.
init(MelatiConfig) - Method in class org.melati.template.NoTemplateEngine
Construct a null Engine.
init(MelatiConfig, HttpServlet) - Method in class org.melati.template.NoTemplateEngine
Construct a new Engine for use in a servlet environment.
init(MelatiConfig, HttpServlet) - Method in interface org.melati.template.ServletTemplateEngine
Construct a new Engine for use in a servlet environment.
init(MelatiConfig) - Method in interface org.melati.template.TemplateEngine
Initialise the Engine.
init(MelatiConfig, HttpServlet) - Method in class org.melati.template.velocity.VelocityServletTemplateEngine
Construct a new Engine for use in a servlet environment.
init(MelatiConfig) - Method in class org.melati.template.velocity.VelocityTemplateEngine
Construct a new Engine.
init(Broker, Settings) - Method in class org.melati.template.webmacro.PassbackEvaluationExceptionHandler
init(Broker, Settings) - Method in class org.melati.template.webmacro.PropagateEvaluationExceptionHandler
Forced upon us by the interface, but unused.
init(MelatiConfig, HttpServlet) - Method in class org.melati.template.webmacro.WebmacroServletTemplateEngine
Construct a new Engine for use in a servlet environment.
init(MelatiConfig) - Method in class org.melati.template.webmacro.WebmacroTemplateEngine
Construct a new Engine.
init(ServletConfig) - Method in class org.melati.test.EmailTemplateServletTest
 
init(ServletConfig) - Method in class org.melati.test.WebmacroStandalone
The init() method will be called by your servlet runner whenever it wants to instantiate a new copy of your servlet.
initialisedDatabases() - Static method in class org.melati.LogicalDatabase
Retrieve the databases which have completed initialisation.
innermostException() - Method in exception org.melati.util.MelatiException
 
innermostException() - Method in exception org.melati.util.MelatiRuntimeException
 
input(Field) - Method in class org.melati.template.AbstractMarkupLanguage
Get an input widget for this Field.
input(Field, String, String, boolean) - Method in class org.melati.template.AbstractMarkupLanguage
 
input(Field) - Method in interface org.melati.template.MarkupLanguage
Get an input widget for this Field.
inputAs(Field, String) - Method in class org.melati.template.AbstractMarkupLanguage
Get an input widget for this Field defined by name.
inputAs(Field, String) - Method in interface org.melati.template.MarkupLanguage
Get an input widget for this Field defined by name.
instanceOfNamedClass(String, String) - Static method in class org.melati.util.PropertiesUtils
Instantiate an interface.
instanceOfNamedClass(Properties, String, String, String) - Static method in class org.melati.util.PropertiesUtils
Instantiate a Class.
InstantiationPropertyException - Exception in org.melati.util
Thrown when there is a problem finding or creating a class from a property value.
InstantiationPropertyException(Properties, String, Exception) - Constructor for exception org.melati.util.InstantiationPropertyException
Constructor with properties, property name and problem.
InstantiationPropertyException(String, Exception) - Constructor for exception org.melati.util.InstantiationPropertyException
Constructor with properties, property name and problem.
InvalidArgumentsException - Exception in org.melati.app
Thrown when an application was called with unexpected arguments.
InvalidArgumentsException(String[], Exception) - Constructor for exception org.melati.app.InvalidArgumentsException
Constructor.
InvalidArgumentsException(String[]) - Constructor for exception org.melati.app.InvalidArgumentsException
Constructor.
invalidGetMethod(Context, String, Object, String, Info) - Method in class org.melati.template.velocity.PropagateEvaluationExceptionHandler
 
invalidMethod(Context, String, Object, String, Info) - Method in class org.melati.template.velocity.PropagateEvaluationExceptionHandler
 
invalidSetMethod(Context, String, String, Info) - Method in class org.melati.template.velocity.PropagateEvaluationExceptionHandler
 
InvalidUsageException - Exception in org.melati.servlet
Servlet was called with missing or invalid parameters.
InvalidUsageException(HttpServlet, PoemContext) - Constructor for exception org.melati.servlet.InvalidUsageException
Constructor.
IoUtils - Class in org.melati.util
IO utilities.
isLeaf() - Method in class org.melati.util.TreeNode
 
isReferencePoemType(Field) - Method in class org.melati.Melati
Establish if field is a ReferencePoemType field.
isRequestedSessionIdFromCookie() - Method in class org.melati.util.DelegatedHttpServletRequest
isRequestedSessionIdFromCookie(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
isRequestedSessionIdFromUrl() - Method in class org.melati.util.DelegatedHttpServletRequest
Deprecated. Servlet API 2.1
isRequestedSessionIdFromURL() - Method in class org.melati.util.DelegatedHttpServletRequest
isRequestedSessionIdFromUrl(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Deprecated. Servlet API 2.1
isRequestedSessionIdFromURL(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API, introduced in 2.1.
isRequestedSessionIdValid() - Method in class org.melati.util.DelegatedHttpServletRequest
isRequestedSessionIdValid(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
 
isRoot() - Method in class org.melati.util.TreeNode
 
isSecure() - Method in class org.melati.util.DelegatedHttpServletRequest
isSecure(HttpServletRequest) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API.
isSVal() - Method in class org.melati.util.HttpHeader.Tokenizer
Convenience method to test for token or quoted string.
isUserInRole(String) - Method in class org.melati.util.DelegatedHttpServletRequest
isUserInRole(HttpServletRequest, String) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API.
isWildcard() - Method in class org.melati.util.AcceptCharset.CharsetAndQValue
 
it - Static variable in class org.melati.template.SimpleDateAdaptor
The instance.
it - Static variable in class org.melati.template.YMDDateAdaptor
The instance.

J

JSDynamicTree - Class in org.melati.util
A JavaScript tree which can be rendered as Dynamic HTML.
JSDynamicTree(Tree) - Constructor for class org.melati.util.JSDynamicTree
Constructor.
jsEscaped(String) - Static method in class org.melati.util.HTMLUtils
Javascript escape a String.
jsEscapeFor(char) - Static method in class org.melati.util.HTMLUtils
Javascript escape sequence for a character, if any, otherwise null.
jspDestroy() - Method in class org.melati.servlet.JspServlet
jspInit() - Method in class org.melati.servlet.JspServlet
JspServlet - Class in org.melati.servlet
This is a TOY and does not represent the proper way to use Melati as Melati was designed with a template engine in mind.
JspServlet() - Constructor for class org.melati.servlet.JspServlet
 
JSStaticTree - Class in org.melati.util
A JavaScript tree which can be rendered as ordinary HTML.
JSStaticTree(Tree, String) - Constructor for class org.melati.util.JSStaticTree
Constructor.
JSStaticTree(Treeable[], String) - Constructor for class org.melati.util.JSStaticTree
Constructor for an array.

K

KILOBYTE - Static variable in class org.melati.servlet.MultipartFormField
Number of bytes in a kilobyte.

L

loadConfiguration() - Method in class org.melati.template.velocity.VelocityTemplateEngine
 
loader - Variable in exception org.melati.template.NotFoundException
The TempletLoader we are using.
loadTableAndObject() - Method in class org.melati.Melati
Load a POEM Table and POEM Object for use in this request.
locale - Variable in class org.melati.template.AbstractMarkupLanguage
 
LogicalDatabase - Class in org.melati
An object which knows how to connect to a database.
Login - Class in org.melati.login
A servlet which handles user logins.
Login() - Constructor for class org.melati.login.Login
 
LoginHandler - Class in org.melati.login
An object which sets up the login process.
LoginHandler(TemplateServlet) - Constructor for class org.melati.login.LoginHandler
Constructor.
loginPageServletClassName() - Method in class org.melati.login.HttpSessionAccessHandler
The class name of the class implementing the login servlet.
loginPageTemplate() - Method in class org.melati.login.LoginHandler
 
loginPageURL(Melati, HttpServletRequest) - Method in class org.melati.login.HttpSessionAccessHandler
The URL of the login servlet.
loginSuccessfullyAs(Melati, ServletTemplateContext, User) - Method in class org.melati.login.LoginHandler
Set cookies if requested, remove any leftovers from any triggering AccessPoemException.
loginSuccessTemplate() - Method in class org.melati.login.LoginHandler
 
loginTemplate(String) - Method in class org.melati.login.LoginHandler
 
Logout - Class in org.melati.login
A servlet which deletes login session cookies to log a user off from the system.
Logout() - Constructor for class org.melati.login.Logout
 
logoutSuccessTemplate() - Method in class org.melati.login.Logout
 
logoutTemplate(String) - Method in class org.melati.login.Logout
 
logUsIn(Melati, User) - Method in class org.melati.login.HttpSessionAccessHandler
Set our AccessToken.

M

mailAddress(String, String) - Static method in class org.melati.util.Email
 
main(String[]) - Static method in class org.melati.app.ConfigApp
The main entry point.
main(String[]) - Static method in class org.melati.app.DSDApp
The main entry point.
main(String[]) - Static method in class org.melati.app.PoemApp
The main entry point.
main(String[]) - Static method in class org.melati.app.TemplateApp
The main entry point.
MainURL(String) - Method in class org.melati.admin.AdminUtils
 
MainURL(Melati) - Method in class org.melati.admin.AdminUtils
 
MainURL(Table) - Method in class org.melati.admin.AdminUtils
 
MainURL(Table, Persistent) - Method in class org.melati.admin.AdminUtils
 
makeExecutable(File) - Static method in class org.melati.util.FileUtils
Mark a file as executable.
makeUnique - Variable in class org.melati.servlet.DefaultFileFormDataAdaptor
 
MarkupLanguage - Interface in org.melati.template
MarkupLanguage provides a variety of methods for rendering objects in a template.
MD5Util - Class in org.melati.util
MD5 - utils for encoding using MD5.
MEGABYTE - Static variable in class org.melati.servlet.MultipartFormField
Number of bytes in a megabyte.
Melati - Class in org.melati
This is the main entry point for using the Melati framework.
Melati(MelatiConfig, HttpServletRequest, HttpServletResponse) - Constructor for class org.melati.Melati
Construct a Melati for use with Servlets.
Melati(MelatiConfig, MelatiWriter) - Constructor for class org.melati.Melati
Construct a Melati for use in 'stand alone' mode.
melati - Variable in class org.melati.servlet.DefaultFileFormDataAdaptor
 
melati - Variable in class org.melati.template.AbstractMarkupLanguage
 
MelatiBufferedFastWriter - Class in org.melati.template.webmacro
Writes to a buffered output object.
MelatiBufferedFastWriter(Broker, HttpServletResponse) - Constructor for class org.melati.template.webmacro.MelatiBufferedFastWriter
Constructor.
MelatiBufferedFastWriter(Broker, OutputStream, String) - Constructor for class org.melati.template.webmacro.MelatiBufferedFastWriter
Constructor.
MelatiBufferedVelocityWriter - Class in org.melati.template.velocity
Provides an interface for objects that output from melati.
MelatiBufferedVelocityWriter(OutputStream, String) - Constructor for class org.melati.template.velocity.MelatiBufferedVelocityWriter
Constructor.
MelatiBufferedVelocityWriter(HttpServletResponse) - Constructor for class org.melati.template.velocity.MelatiBufferedVelocityWriter
Constructor.
MelatiBufferedWriter - Class in org.melati.util
A buffered output object for Melati.
MelatiBufferedWriter(Writer) - Constructor for class org.melati.util.MelatiBufferedWriter
Constructor.
MelatiBugMelatiException - Exception in org.melati.util
Thrown if an internal assumption about Melati is violated.
MelatiBugMelatiException(String, Exception) - Constructor for exception org.melati.util.MelatiBugMelatiException
Full constructor.
MelatiBugMelatiException(String) - Constructor for exception org.melati.util.MelatiBugMelatiException
Constructor without sub-exception.
melatiConfig - Static variable in class org.melati.app.AbstractConfigApp
 
melatiConfig() - Method in class org.melati.app.AbstractConfigApp
Set application properties from the default properties file.
MelatiConfig - Class in org.melati
A MelatiConfig loads and provides access to the configuration parameters for melati.
MelatiConfig() - Constructor for class org.melati.MelatiConfig
Allows creation of a MelatiConfig with default config params.
MelatiConfig(String) - Constructor for class org.melati.MelatiConfig
Allows creation of a MelatiConfig with a specified properties file.
MelatiConfig(Properties) - Constructor for class org.melati.MelatiConfig
Constructor from a given Properties object.
melatiConfig - Variable in class org.melati.servlet.ConfigServlet
 
melatiConfig() - Method in class org.melati.servlet.ConfigServlet
To override any setting from org.melati.MelatiConfig.properties, simply override this method and return a valid MelatiConfig.
melatiConfig() - Method in class org.melati.test.ConfigServletTest
Demonstrates how to use a different melati configuration.
melatiConfig() - Method in class org.melati.test.ConfigServletTestOverride
 
melatiConfig() - Method in class org.melati.test.HttpAuthenticationPoemServletTest
How to use a different melati configuration.
melatiConfig() - Method in class org.melati.test.TemplateServletTest
Set the form data adaptor.
melatiConfig() - Method in class org.melati.test.TemplateServletTestOverride
Override the default (set) authentication method.
MelatiConfigurationException - Exception in org.melati.util
Thrown when an invalid configuaration is detected.
MelatiConfigurationException(String, Exception) - Constructor for exception org.melati.util.MelatiConfigurationException
 
MelatiConfigurationException(String) - Constructor for exception org.melati.util.MelatiConfigurationException
 
MelatiConfigurationException(Exception) - Constructor for exception org.melati.util.MelatiConfigurationException
 
MelatiConfigurationException() - Constructor for exception org.melati.util.MelatiConfigurationException
 
MelatiException - Exception in org.melati.util
Abstract base class for all Exceptions within Melati.
MelatiException(Exception) - Constructor for exception org.melati.util.MelatiException
Constructor with sub-exception.
MelatiException(String, Exception) - Constructor for exception org.melati.util.MelatiException
Constructor with message and pre-java 1.4 initial cause.
MelatiException() - Constructor for exception org.melati.util.MelatiException
Constructor.
MelatiException(String) - Constructor for exception org.melati.util.MelatiException
Constructor with message.
MelatiFastWriter - Class in org.melati.template.webmacro
Writes to an output object.
MelatiFastWriter(Broker, HttpServletResponse) - Constructor for class org.melati.template.webmacro.MelatiFastWriter
Constructor.
MelatiFastWriter(Broker, OutputStream, String) - Constructor for class org.melati.template.webmacro.MelatiFastWriter
Constructor.
MelatiIOException - Exception in org.melati.util
Convert the checked exception IOException to a RuntimeException.
MelatiIOException(Exception) - Constructor for exception org.melati.util.MelatiIOException
 
MelatiIOException(String, Exception) - Constructor for exception org.melati.util.MelatiIOException
 
MelatiRuntimeException - Exception in org.melati.util
Abstract base class for all RuntimeExceptions within Melati.
MelatiRuntimeException(String, Exception) - Constructor for exception org.melati.util.MelatiRuntimeException
Constructor with message and initial cause.
MelatiRuntimeException(String) - Constructor for exception org.melati.util.MelatiRuntimeException
Constructor with detailed message.
MelatiRuntimeException(Exception) - Constructor for exception org.melati.util.MelatiRuntimeException
Constructor with initial cause.
MelatiRuntimeException() - Constructor for exception org.melati.util.MelatiRuntimeException
Constructor.
MelatiSimpleWriter - Class in org.melati.util
An output object for Melati.
MelatiSimpleWriter(Writer) - Constructor for class org.melati.util.MelatiSimpleWriter
Constructor.
MelatiStringWriter - Class in org.melati.util
Wrap up StringWriter as a MelatiWriter.
MelatiStringWriter() - Constructor for class org.melati.util.MelatiStringWriter
Constructor.
MelatiVelocityWriter - Class in org.melati.template.velocity
This provides an interface for objects that output from melati.
MelatiVelocityWriter(HttpServletResponse) - Constructor for class org.melati.template.velocity.MelatiVelocityWriter
Constructor.
MelatiVelocityWriter(OutputStream, String) - Constructor for class org.melati.template.velocity.MelatiVelocityWriter
Constructor.
MelatiWebmacroStringWriter - Class in org.melati.template.webmacro
MelatiStringWriter that can be used with WebMacro.
MelatiWebmacroStringWriter() - Constructor for class org.melati.template.webmacro.MelatiWebmacroStringWriter
 
MelatiWebmacroWriter - Interface in org.melati.template.webmacro
MelatiWriter that can be used with WebMacro.
MelatiWriter - Class in org.melati.util
An abstract Writer for objects that output from Melati.
MelatiWriter() - Constructor for class org.melati.util.MelatiWriter
 
MemoryFormDataAdaptor - Class in org.melati.servlet
Store the uploaded data in a byte array in memory.
MemoryFormDataAdaptor() - Constructor for class org.melati.servlet.MemoryFormDataAdaptor
 
MemoryFormDataAdaptorFactory - Class in org.melati.servlet
Save uploaded files as a byte[] in memory.
MemoryFormDataAdaptorFactory() - Constructor for class org.melati.servlet.MemoryFormDataAdaptorFactory
 
methodException(Class, String, Exception) - Method in class org.melati.template.velocity.PassbackEvaluationExceptionHandler
 
methodException(Class, String, Exception) - Method in class org.melati.template.velocity.PassbackMethodExceptionEventHandler
minuteField(Field) - Method in class org.melati.template.YMDHMSTimestampAdaptor
 
MissingFieldException - Exception in org.melati.template
Thrown when a TempletAdaptor cannot find a required form field in a templet.
MissingFieldException(TempletAdaptor, String, String) - Constructor for exception org.melati.template.MissingFieldException
Constructor.
modifyTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
Implements request method "Update".
monthField(Field) - Method in class org.melati.template.YMDDateAdaptor
 
monthSuffix - Static variable in class org.melati.template.YMDDateAdaptor
 
MultipartFormDataDecoder - Class in org.melati.servlet
Parses a multipart/form-data request into its different fields, saving any files it finds along the way.
MultipartFormDataDecoder(Melati, InputStream, String, FormDataAdaptorFactory) - Constructor for class org.melati.servlet.MultipartFormDataDecoder
Constructor with default maximum size.
MultipartFormDataDecoder(Melati, InputStream, String, FormDataAdaptorFactory, int) - Constructor for class org.melati.servlet.MultipartFormDataDecoder
Constructor specifying maximum size.
MultipartFormField - Class in org.melati.servlet
Holds information parsed from a multipart/form-data file upload.
MultipartFormField() - Constructor for class org.melati.servlet.MultipartFormField
Constructor.
MultipartTemplateContext - Class in org.melati.template
A ServletTemplateContext which allows access to the filename and body of any file which is uploaded from a HTML form field.
MultipartTemplateContext(Melati, ServletTemplateContext) - Constructor for class org.melati.template.MultipartTemplateContext
Constructor.
MultipartTemplateContext(Melati, ServletTemplateContext, int) - Constructor for class org.melati.template.MultipartTemplateContext
Constructor.

N

name - Variable in exception org.melati.template.PartlyNullException
The name of the field.
NAME - Static variable in class org.melati.template.velocity.VelocityTemplateEngine
The name of the engine.
NAME - Static variable in class org.melati.template.webmacro.WebmacroTemplateEngine
The name of the engine.
name - Variable in exception org.melati.util.ConnectionPendingException
The database name.
name - Variable in exception org.melati.util.DatabaseInitException
The name of the database.
NavigationURL(Table) - Method in class org.melati.admin.AdminUtils
 
newRequest - Variable in exception org.melati.util.ReconstructedHttpServletRequestMismatchException
The current request.
next() - Method in class org.melati.util.HttpHeader.FieldIterator
Return the next element or an exception.
nextCharsetAndQValue() - Method in class org.melati.util.AcceptCharset.CharsetAndQValueIterator
 
nextElement() - Method in class org.melati.util.CSVStringEnumeration
Return the next token as an Object.
nextElement() - Method in class org.melati.util.HttpHeader.FieldIterator
nextElement() - Method in class org.melati.util.PagedEnumerationBase
nextElementOnThisPage() - Method in interface org.melati.util.PagedEnumeration
 
nextElementOnThisPage() - Method in class org.melati.util.PagedEnumerationBase
nextLToken() - Method in class org.melati.util.HttpHeader.Tokenizer
Same as nextToken() but does not throw an IOException and handles erroneous line breaks.
nextToken() - Method in class org.melati.util.CSVStringEnumeration
 
nextToken() - Method in class org.melati.util.HttpHeader.FieldIterator
 
nextToken() - Method in class org.melati.util.HttpHeader.TokenAndQValueIterator
nextToken() - Method in class org.melati.util.HttpHeader.WordIterator
nextTokenAndQValue() - Method in class org.melati.util.AcceptCharset
Factory method to create and return the next HttpHeader.TokenAndQValue.
nextTokenAndQValue() - Method in class org.melati.util.HttpHeader
Factory method to create and return the next HttpHeader.TokenAndQValue.
nextTokenAndQValue() - Method in class org.melati.util.HttpHeader.TokenAndQValueIterator
 
nextWord() - Method in class org.melati.util.HttpHeader.WordIterator
 
NonUniqueKeyValueAnticipatedException - Exception in org.melati.admin
 
NonUniqueKeyValueAnticipatedException(Exception) - Constructor for exception org.melati.admin.NonUniqueKeyValueAnticipatedException
 
NoSuchPropertyException - Exception in org.melati.util
Thrown when a Property is not found.
NoSuchPropertyException(Properties, String) - Constructor for exception org.melati.util.NoSuchPropertyException
Constructor.
NoTemplateEngine - Class in org.melati.template
The null ServletTemplateEngine.
NoTemplateEngine() - Constructor for class org.melati.template.NoTemplateEngine
Constructor.
NotFoundException - Exception in org.melati.template
A templet loader could not find a templet.
NotFoundException(Exception) - Constructor for exception org.melati.template.NotFoundException
Construct this decorator.
NotFoundException(String, Exception) - Constructor for exception org.melati.template.NotFoundException
Constructor.
NotFoundException(TempletLoader, Class<?>) - Constructor for exception org.melati.template.NotFoundException
Constructor.
NotFoundException(String) - Constructor for exception org.melati.template.NotFoundException
Construct this Exception with an informational snippet.

O

OpenAccessHandler - Class in org.melati.login
Allow any user access to the database.
OpenAccessHandler() - Constructor for class org.melati.login.OpenAccessHandler
Constructor.
org.melati - package org.melati

See melati.org.

org.melati.admin - package org.melati.admin
A Melati Database Administration System.
org.melati.app - package org.melati.app
Abstract classes and examples for using Melati as a command line application.
org.melati.login - package org.melati.login
Access control for a Melati database.
org.melati.servlet - package org.melati.servlet
Servlet specific elements of Melati.
org.melati.template - package org.melati.template
Using Templates to render Objects to output formats.
org.melati.template.velocity - package org.melati.template.velocity
Enables Velocity to be used as the Melati template engine.
org.melati.template.webmacro - package org.melati.template.webmacro
Enables WebMacro to be used as the Melati template engine.
org.melati.test - package org.melati.test
This directory contains a series of interactive tests to help in setting up and debugging a Melati installation.
org.melati.util - package org.melati.util
An assortment of useful objects.
out - Variable in class org.melati.util.MelatiWriter
 
output - Variable in class org.melati.app.AbstractConfigApp
 
outputStream - Variable in class org.melati.template.velocity.MelatiVelocityWriter
 
outputStream - Variable in class org.melati.template.webmacro.MelatiFastWriter
 
OVERLAY_PARAMETERS - Static variable in class org.melati.login.HttpSessionAccessHandler
Class name.

P

Page - Class in org.melati.util
A 'screen full' of results.
Page(int, int) - Constructor for class org.melati.util.Page
Constructor.
PagedEnumeration<T> - Interface in org.melati.util
A paged enumeration.
PagedEnumerationBase<T> - Class in org.melati.util
All the code common to CountedDumbPagedEnumeration and DumbPagedEnumeration.
PagedEnumerationBase() - Constructor for class org.melati.util.PagedEnumerationBase
 
parent - Variable in class org.melati.util.TreeNode
 
parseData() - Method in class org.melati.servlet.MultipartFormDataDecoder
Parse the uploaded data into its constituents.
PartlyNullException - Exception in org.melati.template
Thrown when only some of the fields of a compound field, such as a date, have been filled in.
PartlyNullException(String) - Constructor for exception org.melati.template.PartlyNullException
Constructor.
PassbackEvaluationExceptionHandler - Class in org.melati.template.velocity
 
PassbackEvaluationExceptionHandler(VelocityContext) - Constructor for class org.melati.template.velocity.PassbackEvaluationExceptionHandler
Constructor.
PassbackEvaluationExceptionHandler - Class in org.melati.template.webmacro
An implementation of EvaluationExceptionHandler which attempts to use a templet to render the exception.
PassbackEvaluationExceptionHandler() - Constructor for class org.melati.template.webmacro.PassbackEvaluationExceptionHandler
 
PassbackMethodExceptionEventHandler - Class in org.melati.template.velocity
Reference 'null reference' event handler.
PassbackMethodExceptionEventHandler() - Constructor for class org.melati.template.velocity.PassbackMethodExceptionEventHandler
 
passwordIncorrectTemplate() - Method in class org.melati.login.LoginHandler
 
PathInfoException - Exception in org.melati.servlet
Servlet was called with unexpected PathInfo.
PathInfoException(String, Exception) - Constructor for exception org.melati.servlet.PathInfoException
Constructor.
PathInfoException(String) - Constructor for exception org.melati.servlet.PathInfoException
Constructor.
peer - Variable in class org.melati.util.DelegatedHttpServletRequest
 
PoemApp - Class in org.melati.app
An example of how to access a POEM database from the command line.
PoemApp() - Constructor for class org.melati.app.PoemApp
 
poemContext(Melati) - Method in class org.melati.app.AbstractConfigApp
Set up the (@link PoemContext}, but only the Method.
poemContext(Melati) - Method in class org.melati.app.AbstractPoemApp
 
PoemContext - Class in org.melati
Holds the names of the database, table and method and the value of the TROID for a POEM session.
PoemContext() - Constructor for class org.melati.PoemContext
Empty constructor.
PoemContext(String, String, Integer, String) - Constructor for class org.melati.PoemContext
Constructor.
PoemContext(Persistent) - Constructor for class org.melati.PoemContext
 
PoemContext(Persistent, String) - Constructor for class org.melati.PoemContext
 
poemContext(Melati) - Method in class org.melati.servlet.ConfigServlet
 
poemContext(Melati) - Method in class org.melati.servlet.PoemServlet
 
poemContext(Melati) - Method in class org.melati.test.CharsetTemplateServletTest
Set up the melati context so we don't have to specify the logicaldatabase on the pathinfo.
poemContext(Melati) - Method in class org.melati.test.EmailTemplateServletTest
Set up the melati context so we don't have to specify the logicaldatabase on the pathinfo.
poemContext(Melati) - Method in class org.melati.test.FlushingServletTest
poemContext(Melati) - Method in class org.melati.test.TemplateServletTest
Set up the POEM context so we don't have to specify the logicaldatabase on the pathinfo.
poemContext(Melati) - Method in class org.melati.test.WebmacroMelatiServletTest
Set up the melati context so we don't have to specify the logicaldatabase on the pathinfo.
poemContextWithLDB(Melati, String) - Method in class org.melati.app.AbstractPoemApp
This is provided for convenience, so you don't have to specify the logical database in the arguments.
poemContextWithLDB(Melati, String) - Method in class org.melati.servlet.PoemServlet
 
PoemFileFormDataAdaptorFactory - Class in org.melati.servlet
Save the uploaded file to disk in a particular directory which has a particular URL.
PoemFileFormDataAdaptorFactory() - Constructor for class org.melati.servlet.PoemFileFormDataAdaptorFactory
 
PoemServlet - Class in org.melati.servlet
Base class to use Poem with Servlets.
PoemServlet() - Constructor for class org.melati.servlet.PoemServlet
 
PoemServletContextListener - Class in org.melati.servlet
Close databases when servlet context is destroyed.
PoemServletContextListener() - Constructor for class org.melati.servlet.PoemServletContextListener
 
PoemServletTest - Class in org.melati.test
Test a Melati configuration which accesses a POEM database without using a Template Engine.
PoemServletTest() - Constructor for class org.melati.test.PoemServletTest
Constructor.
popupSelect(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
 
popupSelectTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
Implements the field search/selection request method.
PopUpURL(Table) - Method in class org.melati.admin.AdminUtils
 
position - Variable in class org.melati.util.AcceptCharset.CharsetAndQValue
An integer that indicates where this charset was explicitly specified in Accept-Charset relative to others.
position - Variable in class org.melati.util.FtellPrintWriter
 
position - Variable in class org.melati.util.FtellWriter
 
postorderEnumeration() - Method in class org.melati.util.ChildrenDrivenMutableTree
Return an enumeration of nodes in postorder, whatever that means.
preorderEnumeration() - Method in class org.melati.util.ChildrenDrivenMutableTree
Return an enumeration of nodes in preorder, whatever that means.
prePoemSession(Melati) - Method in class org.melati.admin.Copy
Set the ServletTemplateEngine and ServletTemplateContext in our Melati.
prePoemSession(Melati) - Method in class org.melati.app.AbstractPoemApp
A place holder for things you might want to do before setting up a PoemSession.
prePoemSession(Melati) - Method in class org.melati.servlet.PoemServlet
A place to do things before entering the session of the user, here is a good place to use root access token.
prePoemSession(Melati) - Method in class org.melati.servlet.TemplateServlet
Set the ServletTemplateEngine and ServletTemplateContext in our Melati.
prePoemSession(Melati) - Method in class org.melati.test.PoemServletTest
Normally one would ensure that these settings are present in the database, but they are ensured here so that everything is in one place.
primarySelectTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
 
PrimarySelectURL(Melati) - Method in class org.melati.admin.AdminUtils
 
println() - Method in class org.melati.util.ThrowingPrintWriter
Delegated method.
printStackTrace() - Method in exception org.melati.util.MelatiException
printStackTrace(PrintStream) - Method in exception org.melati.util.MelatiException
printStackTrace(PrintWriter) - Method in exception org.melati.util.MelatiException
ProcessFailedException - Exception in org.melati.util
Thrown when an external program fails to exec.
ProcessFailedException(String, String) - Constructor for exception org.melati.util.ProcessFailedException
Constructor with message and what was printed to STDERR.
PropagateEvaluationExceptionHandler - Class in org.melati.template.velocity
 
PropagateEvaluationExceptionHandler() - Constructor for class org.melati.template.velocity.PropagateEvaluationExceptionHandler
Constructor.
PropagateEvaluationExceptionHandler - Class in org.melati.template.webmacro
An implementation of EvaluationExceptionHandler which throws an exception whenever it is called.
PropagateEvaluationExceptionHandler() - Constructor for class org.melati.template.webmacro.PropagateEvaluationExceptionHandler
Constructor.
properties - Variable in exception org.melati.util.PropertyException
the Properties we have a problem with.
PropertiesUtils - Class in org.melati.util
Useful things to do with properties files.
PropertyException - Exception in org.melati.util
Thrown when any Property related problem occurs.
PropertyException(Properties, String, Exception) - Constructor for exception org.melati.util.PropertyException
Constructor.
PropertyException(String, Exception) - Constructor for exception org.melati.util.PropertyException
Constructor.
PropertyException(Properties, String) - Constructor for exception org.melati.util.PropertyException
Constructor.
propertyName - Variable in exception org.melati.util.PropertyException
The specific Property we have a problem with, may be null.
put(String, Object) - Method in class org.melati.template.MultipartTemplateContext
Put an object into the Context with a key.
put(String, Object) - Method in interface org.melati.template.TemplateContext
Put an object into the Context with a key.
put(String, Object) - Method in class org.melati.template.velocity.VelocityTemplateContext
Put an object into the Context with a key.
put(String, Object) - Method in class org.melati.template.webmacro.WebmacroTemplateContext
Set a value in the Context.

Q

q - Variable in class org.melati.util.HttpHeader.TokenAndQValue
Value between zero and one with at most 3 decimal places.

R

rawFrom(ServletTemplateContext, String) - Method in class org.melati.template.SimpleDateAdaptor
Retrieve a raw value, ie an SQL value, from a ServletTemplateContext.
rawFrom(ServletTemplateContext, String) - Method in interface org.melati.template.TempletAdaptor
Retrieve a raw value, ie an SQL value, from a ServletTemplateContext.
rawFrom(ServletTemplateContext, String) - Method in class org.melati.template.YMDDateAdaptor
Retrieve a raw value, ie an SQL value, from a ServletTemplateContext.
rawFrom(ServletTemplateContext, String) - Method in class org.melati.template.YMDHMSTimestampAdaptor
Retrieve a raw value, ie an SQL value, from a ServletTemplateContext.
readChar(char) - Method in class org.melati.util.HttpHeader.Tokenizer
Read the given character that comes next.
readData(MultipartFormField, DelimitedBufferedInputStream, byte[]) - Method in class org.melati.servlet.BaseFileFormDataAdaptor
Read data from in until the delim, work out which file to save it in, and save it.
readData(MultipartFormField, DelimitedBufferedInputStream, byte[]) - Method in interface org.melati.servlet.FormDataAdaptor
Read data from in until the delim is found and save the data so that we can access it again.
readData(MultipartFormField, DelimitedBufferedInputStream, byte[]) - Method in class org.melati.servlet.MemoryFormDataAdaptor
Read data from in until the delim and save it in an internal buffer for later use.
readNVal() - Method in class org.melati.util.HttpHeader.Tokenizer
Read the number token that comes next.
readQValue() - Method in class org.melati.util.HttpHeader.Tokenizer
Read a token sequence of the form "; q = 0.42" and return the number.
readSVal() - Method in class org.melati.util.HttpHeader.Tokenizer
Read the word token or quoted string that comes next.
readToDelimiter(byte[], int, int, byte[]) - Method in class org.melati.util.DelimitedBufferedInputStream
Reads bytes from this byte-input stream into the specified byte array, starting at the given offset, but we stop at the first occurrence of delim.
readTokenAndQValue(HttpHeader.TokenAndQValue) - Method in class org.melati.util.HttpHeader.Tokenizer
Read a word or quoted string token optionally followed by a string of the form "; q = 0.42" and initialises the given object.
readWord() - Method in class org.melati.util.HttpHeader.Tokenizer
Read the word token that comes next.
readWord(String) - Method in class org.melati.util.HttpHeader.Tokenizer
Read the given word token that comes next.
ReconstructedHttpServletRequest - Class in org.melati.util
An HttpServletRequest created from values stored in the Session.
ReconstructedHttpServletRequest(HttpServletRequestParameters, HttpServletRequest) - Constructor for class org.melati.util.ReconstructedHttpServletRequest
Constructor.
ReconstructedHttpServletRequestMismatchException - Exception in org.melati.util
Thrown should a ReconstructedHttpServletRequest not match the stored parameters of the original request.
ReconstructedHttpServletRequestMismatchException(HttpServletRequestParameters, HttpServletRequest) - Constructor for exception org.melati.util.ReconstructedHttpServletRequestMismatchException
Constructor.
RecordURL(Persistent) - Method in class org.melati.admin.AdminUtils
 
RecordURL(Persistent, String, String) - Method in class org.melati.admin.AdminUtils
 
RecordURL(Melati) - Method in class org.melati.admin.AdminUtils
 
regExps - Static variable in class org.melati.template.velocity.WebMacroConverter
The regexes to use for substitution.
remove() - Method in class org.melati.util.HttpHeader.FieldIterator
removeAttribute(String) - Method in class org.melati.util.DelegatedHttpServletRequest
removeAttribute(HttpServletRequest, String) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API.
render(String, int, MelatiWriter) - Method in class org.melati.template.AbstractMarkupLanguage
Render a String in a MarkupLanguage specific way, limiting it's length.
render(String, MelatiWriter) - Method in class org.melati.template.AbstractMarkupLanguage
Render a String in a MarkupLanguage specific way to a supplied MelatiWriter.
render(Field, MelatiWriter) - Method in class org.melati.template.AbstractMarkupLanguage
Render a Field Object in a MarkupLanguage specific way, rendering to supplied MelatiWriter.
render(Field, int, int, MelatiWriter) - Method in class org.melati.template.AbstractMarkupLanguage
Render a Field Object in a MarkupLanguage specific way, rendering to supplied MelatiWriter.
render(Object) - Method in class org.melati.template.AbstractMarkupLanguage
Render an Object in a MarkupLanguage specific way, rendering to the MelatiWriter supplied by melati.getWriter().
render(Object, MelatiWriter) - Method in class org.melati.template.AbstractMarkupLanguage
Render an Object in a MarkupLanguage specific way, rendering to a supplied Writer.
render(String, MelatiWriter) - Method in interface org.melati.template.AttributeMarkupLanguage
Render, not translating line ends to BR tags.
render(String, MelatiWriter) - Method in class org.melati.template.HTMLAttributeMarkupLanguage
Do entity substitution.
render(Object, MelatiWriter) - Method in class org.melati.template.HTMLAttributeMarkupLanguage
Attribute markup languages do not have templets, so don't look for one.
render(String, MelatiWriter) - Method in class org.melati.template.HTMLLikeMarkupLanguage
Render, directly to the output stream, substituting entities for high value ASCII characters and new line characters.
render(Object, MelatiWriter) - Method in class org.melati.template.WMLAttributeMarkupLanguage
Attribute markup languages do not have templets, so don't look for one.
rendered(String, int) - Method in class org.melati.template.AbstractMarkupLanguage
Render a String in a MarkupLanguage specific way, limiting it's length.
rendered(Field, int, int) - Method in class org.melati.template.AbstractMarkupLanguage
Render a Field Object in a MarkupLanguage specific way, returning a String.
rendered(Field, int) - Method in class org.melati.template.AbstractMarkupLanguage
Render a Field Object in a MarkupLanguage specific way, returning a String.
rendered(Object) - Method in class org.melati.template.AbstractMarkupLanguage
Render an Object in a MarkupLanguage specific way, returning a String.
rendered(AccessPoemException) - Method in interface org.melati.template.AttributeMarkupLanguage
AccessPoemException is treated differently in an Atribute than in the main body of a page.
rendered(AccessPoemException) - Method in class org.melati.template.HTMLAttributeMarkupLanguage
AccessPoemException is treated differently in an Atribute than in the main body of a page.
rendered(Object) - Method in interface org.melati.template.MarkupLanguage
Render an Object in a MarkupLanguage specific way, returning a String.
rendered(String, int) - Method in interface org.melati.template.MarkupLanguage
Render a String in a MarkupLanguage specific way, limiting it's length.
rendered(Field, int) - Method in interface org.melati.template.MarkupLanguage
Render a Field Object in a MarkupLanguage specific way, returning a String.
rendered(Field, int, int) - Method in interface org.melati.template.MarkupLanguage
Render a Field Object in a MarkupLanguage specific way, returning a String.
rendered(Field) - Method in class org.melati.template.SimpleDateAdaptor
 
rendered(AccessPoemException) - Method in class org.melati.template.WMLAttributeMarkupLanguage
AccessPoemException is handled differently in an Attribute than it is in the main body of a page.
rendered(AccessPoemException) - Method in class org.melati.template.XMLAttributeMarkupLanguage
AccessPoemException is handled differently in an Attribute than it is in the main body of a page.
renderedMarkup(String) - Method in class org.melati.template.AbstractMarkupLanguage
renderedMarkup(String) - Method in interface org.melati.template.MarkupLanguage
 
renderedStart(Field) - Method in class org.melati.template.AbstractMarkupLanguage
Render a Date Field Object in a MarkupLanguage specific way, returning a START Date format String.
renderedStart(Field) - Method in interface org.melati.template.MarkupLanguage
Render a Date Field Object in a MarkupLanguage specific way, returning a START Date format String.
renderMarkup(String, MelatiWriter) - Method in class org.melati.template.AbstractMarkupLanguage
Render a markup fragment in a MarkupLanguage specific way to a supplied MelatiWriter.
renderMarkup(String, MelatiWriter) - Method in class org.melati.template.HTMLLikeMarkupLanguage
Render a markup fragment in a MarkupLanguage specific way to a supplied MelatiWriter.
renderStart(Field, MelatiWriter) - Method in class org.melati.template.AbstractMarkupLanguage
 
REQUEST - Static variable in class org.melati.template.velocity.VelocityServletTemplateContext
The HTTP request object context key.
reset() - Method in class org.melati.template.velocity.MelatiBufferedVelocityWriter
Do nothing in the unbuffered case.
reset() - Method in class org.melati.template.webmacro.MelatiBufferedFastWriter
 
reset(String) - Method in class org.melati.util.CSVStringEnumeration
Look at a new string.
reset() - Method in class org.melati.util.MelatiBufferedWriter
Do nothing in the unbuffered case.
reset() - Method in class org.melati.util.MelatiStringWriter
Do nothing in the unbuffered case.
reset() - Method in class org.melati.util.MelatiWriter
Do nothing in the unbuffered case.
RESPONSE - Static variable in class org.melati.template.velocity.VelocityServletTemplateContext
The HTTP response object context key.
responseCharset - Variable in class org.melati.Melati
Suggested character encoding for use in responses.
RestrictedAccessObject - Class in org.melati.test
An object which requires authorisation to view it.
RestrictedAccessObject() - Constructor for class org.melati.test.RestrictedAccessObject
Constructor.
root - Variable in class org.melati.util.ChildrenDrivenMutableTree
root node
roots - Variable in class org.melati.template.AbstractTemplateEngine
 
run(String[]) - Method in class org.melati.app.AbstractConfigApp
Do our thing.
run(String[]) - Method in interface org.melati.app.App
Process a command line with its arguments.
run() - Method in class org.melati.util.Flusher

S

sameQueryWith(String, String, String) - Static method in class org.melati.servlet.Form
Modify or add a form parameter setting (query string component) in a query string.
sameURLWith(String, String) - Method in class org.melati.Melati
The URL of the servlet request associated with this Melati, with a modified or added form parameter setting (query string component).
sameURLWith(String) - Method in class org.melati.Melati
The URL of the servlet request associated with this Melati, with a modified or added form flag setting (query string component).
sameURLWith(String, String, String, String) - Static method in class org.melati.servlet.Form
Modify or add a form parameter setting (query string component) in a URL.
sameURLWith(HttpServletRequest, String, String) - Static method in class org.melati.servlet.Form
Modify or add a form parameter setting (query string component) in the URL for a servlet request.
searchInput(Field, String) - Method in class org.melati.template.AbstractMarkupLanguage
Get an input widget for this Field specifying the null value.
searchInput(Field, String) - Method in interface org.melati.template.MarkupLanguage
Get an input widget for this Field specifying the null value.
secondField(Field) - Method in class org.melati.template.YMDHMSTimestampAdaptor
 
selection(ServletTemplateContext, Melati, boolean) - Static method in class org.melati.admin.Admin
Modifies the context in preparation for serving a template to view a selection of rows.
selectionRightTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
Implements request to display a selection of records from a table in the right hand pane.
SelectionRightURL(Table) - Method in class org.melati.admin.AdminUtils
 
selectionTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
Return template for a selection of records from a table.
SelectionURL(Table) - Method in class org.melati.admin.AdminUtils
 
SelectionURL(Table, String) - Method in class org.melati.admin.AdminUtils
 
SelectionURL(Table, String, String) - Method in class org.melati.admin.AdminUtils
 
SelectionURL(Melati) - Method in class org.melati.admin.AdminUtils
 
SelectionURL(Melati, String) - Method in class org.melati.admin.AdminUtils
 
selectionWindowPrimarySelectTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
 
SelectionWindowPrimarySelectURL(Table) - Method in class org.melati.admin.AdminUtils
 
selectionWindowSelectionTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
 
SelectionWindowSelectionURL(Table) - Method in class org.melati.admin.AdminUtils
 
SelectionWindowURL(Table) - Method in class org.melati.admin.AdminUtils
 
send(String, String, String, String, String, String) - Static method in class org.melati.util.Email
Send the email.
sendAsHtmlWithAttachments(String, String, String, String, String, String, String, File[], File[]) - Static method in class org.melati.util.Email
Send HTML message with attachments.
sendToList(String, String, String[], String, String, String) - Static method in class org.melati.util.Email
Send the email to a list of recipients.
sendWithAttachments(String, String, String, String, String, String, File[]) - Static method in class org.melati.util.Email
Send message with attachments.
serverChoice() - Method in class org.melati.util.AcceptCharset
 
serverPreferability - Variable in class org.melati.util.AcceptCharset.CharsetAndQValue
An integer that is less for more preferable instances from server point of view.
service(HttpServletRequest, HttpServletResponse) - Method in class org.melati.servlet.JspServlet
Run the generated code within a database session.
servlet - Variable in class org.melati.login.LoginHandler
 
ServletTemplateContext - Interface in org.melati.template
Interface for a Template engine context for use with Melati and servlets.
ServletTemplateEngine - Interface in org.melati.template
Interface for a Template engine for use with Melati and Servlets.
ServletTest - Class in org.melati.test
 
ServletTest() - Constructor for class org.melati.test.ServletTest
 
servletURL(HttpServletRequest) - Static method in class org.melati.util.HttpUtil
Retrieve a Servlet url from a request.
SessionAnalysisServlet - Class in org.melati.test
Displays information about the status of this JVM and the databases running in it.
SessionAnalysisServlet() - Constructor for class org.melati.test.SessionAnalysisServlet
 
SessionURL() - Method in class org.melati.admin.AdminUtils
 
setAccessHandler(AccessHandler) - Method in class org.melati.MelatiConfig
Set the AccessHandler for use by this Melati.
setArguments(String[]) - Method in class org.melati.Melati
Set the aruments array from the commandline.
setAttribute(String, Object) - Method in class org.melati.util.DelegatedHttpServletRequest
setAttribute(HttpServletRequest, String, Object) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.0 API.
setBackgroundColour(String) - Method in class org.melati.util.JSStaticTree
Set the background colour.
setBufferingOff() - Method in class org.melati.Melati
Turn off buffering of the output stream.
setCharacterEncoding(String) - Method in class org.melati.util.DelegatedHttpServletRequest
setCharacterEncoding(HttpServletRequest, String) - Static method in class org.melati.util.HttpServletRequestCompat
Throws MissingMethodError when run against 2.2 API.
setClosedFolderImage(String) - Method in class org.melati.util.JSStaticTree
Set the closed folder image name.
setClosedImage(String) - Method in class org.melati.util.JSDynamicTree
Set the closed image.
setClosedLImage(String) - Method in class org.melati.util.JSStaticTree
Set the closed L image.
setClosedTImage(String) - Method in class org.melati.util.JSStaticTree
Set the closed Tee image.
setContentDisposition(String) - Method in class org.melati.servlet.MultipartFormField
Set the ContentDisposition.
setContentType(String) - Method in class org.melati.servlet.MultipartFormField
Set the ContentType.
setDatabaseDefs(Properties) - Static method in class org.melati.LogicalDatabase
Set the databaseDefs.
setDepthPerDownload(Integer) - Method in class org.melati.util.JSDynamicTree
Set the depth per download.
setDepthPerDownload(Integer) - Method in class org.melati.util.JSStaticTree
Set the depth per download.
setFdaFactory(FormDataAdaptorFactory) - Method in class org.melati.MelatiConfig
 
setFieldName(String) - Method in class org.melati.servlet.MultipartFormField
Set the FieldName.
setFlushingOn() - Method in class org.melati.Melati
Turn on flushing of the output stream.
setFlushingOn() - Method in class org.melati.util.MelatiWriter
Set flushing true.
setFormDataAdaptor(FormDataAdaptor) - Method in class org.melati.servlet.MultipartFormField
Work with an uploaded file/stored value.
setFormDataAdaptorFactory(FormDataAdaptorFactory) - Method in class org.melati.MelatiConfig
Set the FormDataAdaptorFactory for use by this Melati.
setImageBaseRef(String) - Method in class org.melati.util.JSStaticTree
Set the image base href.
setIndent(Integer) - Method in class org.melati.util.JSDynamicTree
Set the indent.
setInput(InputStream) - Method in class org.melati.login.CommandLineAccessHandler
 
setJavascriptLibraryURL(String) - Method in class org.melati.MelatiConfig
Set the JavascriptLibraryURL for use by this Melati.
setLeafImage(String) - Method in class org.melati.util.JSDynamicTree
Set the leaf image.
setLeafImage(String) - Method in class org.melati.util.JSStaticTree
Set the leaf image.
setLeafLImage(String) - Method in class org.melati.util.JSStaticTree
Set the leaf L image.
setLeafTImage(String) - Method in class org.melati.util.JSStaticTree
Set the Leaf Tee image.
setLogicalDatabase(String) - Method in class org.melati.PoemContext
 
setLoginPageServletClassName(String) - Static method in class org.melati.MelatiConfig
 
setLogoutPageServletClassName(String) - Static method in class org.melati.MelatiConfig
 
setMarkupLanguage(MarkupLanguage) - Method in class org.melati.Melati
Use this method if you wish to use a different MarkupLanguage, WMLMarkupLanguage for example.
setMethod(String) - Method in class org.melati.PoemContext
 
setNewRequest(HttpServletRequest) - Method in class org.melati.util.ReconstructedHttpServletRequest
Set the peer property.
setNodeColour(String) - Method in class org.melati.util.JSDynamicTree
Set the node colour.
setNodeHeight(Integer) - Method in class org.melati.util.JSDynamicTree
Set the node height.
setNodeLabelTemplet(String) - Method in class org.melati.util.JSDynamicTree
Set the node label templet.
setNodeWidth(Integer) - Method in class org.melati.util.JSDynamicTree
Set the node width.
setOpenedFolderImage(String) - Method in class org.melati.util.JSStaticTree
Set the opened folder image name.
setOpenedImage(String) - Method in class org.melati.util.JSDynamicTree
Set the opened image.
setOpenedLImage(String) - Method in class org.melati.util.JSStaticTree
Set the opened L image.
setOpenedTImage(String) - Method in class org.melati.util.JSStaticTree
Set the opened Tee image.
setOutput(PrintStream) - Method in class org.melati.app.AbstractConfigApp
Set output.
setOutput(PrintStream) - Method in interface org.melati.app.App
Set output.
setOutput(PrintStream) - Method in class org.melati.login.CommandLineAccessHandler
 
setPassbackExceptionHandling() - Method in class org.melati.Melati
This allows an Exception to be handled inline during Template expansion for example, if you would like to render AccessPoemExceptions to a String to be displayed on the page that is returned to the client.
setPassbackExceptionHandling() - Method in class org.melati.template.MultipartTemplateContext
Set the current exception handling style.
setPassbackExceptionHandling() - Method in interface org.melati.template.TemplateContext
Set the current exception handling style.
setPassbackExceptionHandling() - Method in class org.melati.template.velocity.VelocityTemplateContext
Set the current exception handling style.
setPassbackExceptionHandling() - Method in class org.melati.template.webmacro.WebmacroTemplateContext
Set the current exception handling style.
setPoemContext(PoemContext) - Method in class org.melati.Melati
Set the PoemContext for this request.
setPoemiLocale(PoemLocale) - Method in class org.melati.MelatiConfig
 
setPreferredCharsets(Vector<String>) - Method in class org.melati.MelatiConfig
 
setPropagateExceptionHandling() - Method in class org.melati.Melati
The normal state of affairs: an exception is thrown and it is handled by the servlet.
setPropagateExceptionHandling() - Method in class org.melati.template.MultipartTemplateContext
Set the current exception handling style.
setPropagateExceptionHandling() - Method in interface org.melati.template.TemplateContext
Set the current exception handling style.
setPropagateExceptionHandling() - Method in class org.melati.template.velocity.VelocityTemplateContext
Set the current exception handling style.
setPropagateExceptionHandling() - Method in class org.melati.template.webmacro.WebmacroTemplateContext
Set the current exception handling style.
setRealPath(String) - Method in class org.melati.MelatiConfig
 
setRequest(HttpServletRequest) - Method in class org.melati.Melati
It is sometimes convenient to reconstruct the request object and reset it, for example when returning from a log-in page.
setResponse(HttpServletResponse) - Method in class org.melati.Melati
Used to set response mock in tests.
setResponseContentType(String) - Method in class org.melati.Melati
Sets the content type for use in the response.
setSpacerImage(String) - Method in class org.melati.util.JSStaticTree
Set the spacer image name.
setStaticURL(String) - Method in class org.melati.MelatiConfig
Set the StaticURL for use by this Melati.
setStopTask(boolean) - Method in class org.melati.util.Flusher
 
setSysAdminEmail(String) - Method in class org.melati.servlet.ConfigServlet
 
setSysAdminName(String) - Method in class org.melati.servlet.ConfigServlet
 
setTable(String) - Method in class org.melati.PoemContext
 
setTableTroidMethod(PoemContext, String[]) - Method in class org.melati.app.AbstractPoemApp
 
setTemplateContext(TemplateContext) - Method in class org.melati.Melati
Set the TemplateContext to be used for this Request.
setTemplateEngine(TemplateEngine) - Method in class org.melati.Melati
Set the template engine to be used for this Request.
setTemplateEngine(TemplateEngine) - Method in class org.melati.MelatiConfig
Set the TemplateEngine to use.
setTemplatePath(String) - Method in class org.melati.MelatiConfig
 
setTempletLoader(TempletLoader) - Method in class org.melati.MelatiConfig
Set the TempletLoader for use by this Melati.
setTroid(Integer) - Method in class org.melati.PoemContext
 
setupContext(ServletTemplateContext) - Method in class org.melati.login.LoginHandler
Extract current values from context and add fields to context.
setUploadDir(String) - Method in class org.melati.servlet.DefaultFileFormDataAdaptorFactory
Set the directory to save files in.
setUploadedFilePath(String) - Method in class org.melati.servlet.MultipartFormField
Set the UploadedFilePath.
setUploadURL(String) - Method in class org.melati.servlet.DefaultFileFormDataAdaptorFactory
Set the URL to the uploadDir.
setupTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
 
setVerticalLinkImage(String) - Method in class org.melati.util.JSStaticTree
Set the vertical link image.
setWriter(MelatiWriter) - Method in class org.melati.Melati
 
setX(Integer) - Method in class org.melati.util.JSDynamicTree
Set the starting X co-ordinate.
setY(Integer) - Method in class org.melati.util.JSDynamicTree
Set the starting Y co-ordinate.
SimpleDateAdaptor - Class in org.melati.template
A SimpleDateAdaptor is used to format a date field into a dd/mm/yyyy format for display.
SimpleDateAdaptor() - Constructor for class org.melati.template.SimpleDateAdaptor
 
simpleName(String) - Static method in class org.melati.admin.AdminUtils
 
skipAnyCommaSeparator() - Method in class org.melati.util.HttpHeader.Tokenizer
Read up to and including the next token after any comma separator(s) and whitespace.
skipCommaSeparator() - Method in class org.melati.util.HttpHeader.Tokenizer
Read up to and including the next token after comma separator(s) and whitespace assuming the current token is a comma.
slurp(InputStream, int, int) - Static method in class org.melati.util.IoUtils
Read into a byte array.
slurp(InputStream, int) - Static method in class org.melati.util.IoUtils
Read into a byte array.
slurp(URL, int) - Static method in class org.melati.util.IoUtils
Read an url into a byte array.
slurp(URL, int, int) - Static method in class org.melati.util.IoUtils
Read an url into a byte array, with a limit.
slurp(File, int) - Static method in class org.melati.util.IoUtils
Read a file into a byte array.
slurp(Reader, int, int) - Static method in class org.melati.util.IoUtils
Read from a Reader into a byte array.
slurp(Reader, int) - Static method in class org.melati.util.IoUtils
Read from a Reader into a byte array.
slurpOutputOf(String[], int, int) - Static method in class org.melati.util.IoUtils
Read the output of a system command into a byte array.
slurpOutputOf_bytes(String[], int, int) - Static method in class org.melati.util.IoUtils
Read the output of a system command into a byte array.
SMTPSERVER - Static variable in class org.melati.util.Email
Property key for the SMTP server.
sorted(Order, int) - Method in class org.melati.util.Tree
Retrieve a sorted Vector of the tree's contents, down to the given depth.
specialFacilities(Melati, MarkupLanguage, Persistent) - Method in class org.melati.admin.AdminUtils
Render the specials directly to the output.
stackTrace(Throwable) - Static method in class org.melati.util.ExceptionUtils
 
startFlushing() - Method in class org.melati.util.MelatiWriter
 
Status - Class in org.melati.admin
Display a Status page.
Status() - Constructor for class org.melati.admin.Status
 
StatusURL() - Method in class org.melati.admin.AdminUtils
 
stderr - Variable in exception org.melati.util.ProcessFailedException
The String that was printed to STDERR.
stopUsingFastWriter(FastWriter) - Method in class org.melati.template.webmacro.MelatiFastWriter
Stop using the given FastWriter obtained from this object.
stopUsingFastWriter(FastWriter) - Method in class org.melati.template.webmacro.MelatiWebmacroStringWriter
Stop using the given FastWriter obtained from this object.
stopUsingFastWriter(FastWriter) - Method in interface org.melati.template.webmacro.MelatiWebmacroWriter
Stop using the given FastWriter obtained from this object.
stored - Variable in exception org.melati.util.ReconstructedHttpServletRequestMismatchException
The stored originating parameters.
stringOf(HTML.Tag, AttributeSet) - Static method in class org.melati.util.HTMLUtils
 
subException - Variable in exception org.melati.util.MelatiException
A sub-exception we may be wrapping, otherwise null.
supportedAcceptedOrPreferred - Variable in class org.melati.util.AcceptCharset
Charsets supported by the jvm and accepted by the client or preferred by the server.
sysAdminEmail - Variable in class org.melati.servlet.ConfigServlet
 
sysAdminName - Variable in class org.melati.servlet.ConfigServlet
 

T

TableURL(Table) - Method in class org.melati.admin.AdminUtils
 
tag - Variable in class org.melati.util.HTMLUtils.TagInstance
The tag.
template(String) - Method in class org.melati.template.NoTemplateEngine
Get a template given its name.
Template - Interface in org.melati.template
A template engine template.
template(String) - Method in interface org.melati.template.TemplateEngine
Get a template given it's full name.
template(String) - Method in class org.melati.template.velocity.VelocityTemplateEngine
Get a template by name.
template(String) - Method in class org.melati.template.webmacro.WebmacroTemplateEngine
Get a template given it's name.
TemplateApp - Class in org.melati.app
An example of how to use a Template Engine with a Poem database from the command line.
TemplateApp() - Constructor for class org.melati.app.TemplateApp
 
TemplateContext - Interface in org.melati.template
A Context for use by a TemplateEngine to expand a Template against.
templateEngine - Variable in class org.melati.app.AbstractTemplateApp
 
templateEngine - Variable in class org.melati.servlet.TemplateServlet
 
TemplateEngine - Interface in org.melati.template
A TemplateEngine typically evaluates a template containing variables against a context containing values for those variables.
TemplateEngineException - Exception in org.melati.template
Thrown when the ServletTemplateEngine itself throws an Exception.
TemplateEngineException(Exception) - Constructor for exception org.melati.template.TemplateEngineException
Constructor.
TemplateEngineException(String, Exception) - Constructor for exception org.melati.template.TemplateEngineException
Constructor with message.
TemplateEngineException(String) - Constructor for exception org.melati.template.TemplateEngineException
Constructor with message.
templateExtension() - Method in class org.melati.template.NoTemplateEngine
 
templateExtension() - Method in interface org.melati.template.TemplateEngine
 
templateExtension() - Method in class org.melati.template.velocity.VelocityTemplateEngine
 
templateExtension() - Method in class org.melati.template.webmacro.WebmacroTemplateEngine
 
TemplateIOException - Exception in org.melati.template
Thrown when the Templating system throws an IOException.
TemplateIOException(String, Exception) - Constructor for exception org.melati.template.TemplateIOException
 
TemplateIOException(Exception) - Constructor for exception org.melati.template.TemplateIOException
 
templateName(String) - Method in class org.melati.Melati
Find a db specific template if it exists, otherwise a non-specific one, searching through all template paths.
TemplateServlet - Class in org.melati.servlet
Base class to use Melati with a Template Engine.
TemplateServlet() - Constructor for class org.melati.servlet.TemplateServlet
 
TemplateServletTest - Class in org.melati.test
Test a Melati configuration with a Template Engine and a temporary file form data adaptor.
TemplateServletTest() - Constructor for class org.melati.test.TemplateServletTest
 
TemplateServletTestOverride - Class in org.melati.test
Illustrate overridden authentication handling.
TemplateServletTestOverride() - Constructor for class org.melati.test.TemplateServletTestOverride
 
templet(TemplateEngine, MarkupLanguage, String, String) - Method in class org.melati.template.ClassNameTempletLoader
Get a templet by name, with optional purpose.
templet(TemplateEngine, MarkupLanguage, String) - Method in class org.melati.template.ClassNameTempletLoader
Get a templet by its name, looking only in the templets directory.
templet(TemplateEngine, MarkupLanguage, String, Class<?>) - Method in class org.melati.template.ClassNameTempletLoader
Get a templet based upon class name and optional purpose, looking in the templets directory and also the classpath.
templet(TemplateEngine, MarkupLanguage, Class<?>) - Method in class org.melati.template.ClassNameTempletLoader
Get a templet for a class.
templet(TemplateEngine, MarkupLanguage, FieldAttributes) - Method in class org.melati.template.ClassNameTempletLoader
Get a templet either from the classname concatenated with FieldAttributes.RenederInfo or the class name.
templet(TemplateEngine, MarkupLanguage, String) - Method in interface org.melati.template.TempletLoader
Return a templet by name.
templet(TemplateEngine, MarkupLanguage, String, String) - Method in interface org.melati.template.TempletLoader
Return a templet by name and purpose.
templet(TemplateEngine, MarkupLanguage, Class<?>) - Method in interface org.melati.template.TempletLoader
Return a templet for a given class, looking for a template with the same name as the class in the Melati templet directory; giving a full template path as: org/melati/template/TEMPLATE_ENGINE_NAME/MARKUP_LANGUAGE/java.lang.Object.wm which is the lowest possible template and is always found.
templet(TemplateEngine, MarkupLanguage, String, Class<?>) - Method in interface org.melati.template.TempletLoader
Return a templet by Class and Purpose.
templet(TemplateEngine, MarkupLanguage, FieldAttributes) - Method in interface org.melati.template.TempletLoader
Return a templet to render a Field.
TempletAdaptor - Interface in org.melati.template
Object to reading fields from a context, modified by a user.
TempletAdaptorConstructionMelatiException - Exception in org.melati.template
Thrown when a TempletAdaptor has problems during construction.
TempletAdaptorConstructionMelatiException(String, String, Exception) - Constructor for exception org.melati.template.TempletAdaptorConstructionMelatiException
Constructor.
templetLoader - Variable in class org.melati.template.AbstractMarkupLanguage
 
TempletLoader - Interface in org.melati.template
An object which can load a templet given a TemplateEngine, a MarkupLanguage and a means of identifying the templet.
templetsPath(TemplateEngine, MarkupLanguage) - Static method in class org.melati.template.ClassNameTempletLoader
 
templetsTempletPath(TemplateEngine, MarkupLanguage, String, String) - Static method in class org.melati.template.ClassNameTempletLoader
 
TemporaryFileFormDataAdaptor - Class in org.melati.servlet
Save uploaded files in a temporary file which is deleted when the JVM exits.
TemporaryFileFormDataAdaptor() - Constructor for class org.melati.servlet.TemporaryFileFormDataAdaptor
Constructor using default file name.
TemporaryFileFormDataAdaptor(String) - Constructor for class org.melati.servlet.TemporaryFileFormDataAdaptor
Constructor specifying temporary file name.
TemporaryFileFormDataAdaptorFactory - Class in org.melati.servlet
Create a FormDataAdaptor from a Melati and the MultipartFormField which was uploaded.
TemporaryFileFormDataAdaptorFactory() - Constructor for class org.melati.servlet.TemporaryFileFormDataAdaptorFactory
 
term(Melati) - Method in class org.melati.app.AbstractConfigApp
Clean up at end of run.
term(Melati) - Method in class org.melati.app.AbstractPoemApp
Clean up at end of run.
ThrowingPrintWriter - Class in org.melati.util
A PrintWriter which can throw an Exception.
ThrowingPrintWriter(PrintWriter, String) - Constructor for class org.melati.util.ThrowingPrintWriter
Constructor.
ThrowingPrintWriter.SuperUseException - Exception in org.melati.util
Thrown when a programmer attempts to use super.out.
ThrowingPrintWriter.SuperUseException() - Constructor for exception org.melati.util.ThrowingPrintWriter.SuperUseException
Constructor.
ThrowingPrintWriter.TroubleException - Exception in org.melati.util
Thrown if there is a problem writing to this ThowingPrintWriter.
ThrowingPrintWriter.TroubleException() - Constructor for exception org.melati.util.ThrowingPrintWriter.TroubleException
 
throwOnTrouble() - Method in class org.melati.util.ThrowingPrintWriter
Check for problem and throw it if found.
ToggledOrderSelectionURL(Melati, String, String) - Method in class org.melati.admin.AdminUtils
Toggle the sort order of column.
token - Variable in class org.melati.util.HttpHeader.TokenAndQValue
Token followed by a semicolon separator.
tokenAndQValueIterator() - Method in class org.melati.util.HttpHeader
Factory method to create and return an iterator of HttpHeader.TokenAndQValue's.
tokenizer - Variable in class org.melati.util.HttpHeader
Instance of inner HttpHeader.Tokenizer.
TopURL(Melati) - Method in class org.melati.admin.AdminUtils
 
toString() - Method in class org.melati.PoemContext
 
toString() - Method in class org.melati.servlet.MultipartFormField
toString() - Method in class org.melati.template.AbstractMarkupLanguage
Name and locale.
toString() - Method in class org.melati.util.HTMLUtils.TagInstance
A String representation.
toString() - Method in class org.melati.util.MelatiStringWriter
Returns the buffer contents.
TrappedException - Exception in org.melati.servlet
If we have to turn an exception into a runtime exception, we do it using a TrappedException.
TrappedException(Throwable) - Constructor for exception org.melati.servlet.TrappedException
Constructor.
TrappedException(String, Throwable) - Constructor for exception org.melati.servlet.TrappedException
Constructor.
Tree - Class in org.melati.util
A whole tree.
Tree(Treeable) - Constructor for class org.melati.util.Tree
Constructor from root node.
Tree(Treeable, int) - Constructor for class org.melati.util.Tree
Constructor from root node with anticipated depth.
Tree(Treeable[]) - Constructor for class org.melati.util.Tree
Constructor for a multi-rooted tree.
Tree(Treeable[], int) - Constructor for class org.melati.util.Tree
Constructor for a multi-rooted tree with anticipated depth.
TreeNode - Class in org.melati.util
A Tree node.
TreeNode(Treeable, int) - Constructor for class org.melati.util.TreeNode
Constructor.
TreeURL(Persistent) - Method in class org.melati.admin.AdminUtils
 
TreeURL(Table) - Method in class org.melati.admin.AdminUtils
 
TRIGGERING_EXCEPTION - Static variable in class org.melati.login.Login
The triggering exception.
TRIGGERING_REQUEST_PARAMETERS - Static variable in class org.melati.login.Login
Parameters,in GET format, of triggering request, so we can reconstruct it.

U

UnexpectedExceptionException - Exception in org.melati.util
Thrown if an internal assumption about Melati is violated.
UnexpectedExceptionException(String, Exception) - Constructor for exception org.melati.util.UnexpectedExceptionException
Constructor.
UnexpectedExceptionException(Exception) - Constructor for exception org.melati.util.UnexpectedExceptionException
Constructor.
UnhandledExceptionException - Exception in org.melati.app
Thrown when an exception is not handled or authentication fails.
UnhandledExceptionException(String, Exception) - Constructor for exception org.melati.app.UnhandledExceptionException
 
UnhandledExceptionException(String) - Constructor for exception org.melati.app.UnhandledExceptionException
 
UnhandledExceptionException(Exception) - Constructor for exception org.melati.app.UnhandledExceptionException
 
UnhandledExceptionException() - Constructor for exception org.melati.app.UnhandledExceptionException
 
updateTemplate(ServletTemplateContext, Melati) - Static method in class org.melati.admin.Admin
Returns the Updated template after modifying the current row according to field values in the context.
uploadDir - Variable in class org.melati.servlet.DefaultFileFormDataAdaptor
 
uploadDir - Variable in class org.melati.servlet.DefaultFileFormDataAdaptorFactory
 
uploadDoneTemplate(ServletTemplateContext) - Static method in class org.melati.admin.Admin
Finished uploading.
UploadHandlerURL(Table, Persistent, String) - Method in class org.melati.admin.AdminUtils
Upload URL.
uploadTemplate(ServletTemplateContext) - Static method in class org.melati.admin.Admin
 
UploadURL(Table, Persistent, Field) - Method in class org.melati.admin.AdminUtils
In an insert situation we will not have a Troid, so cannot pass it through.
uploadURL - Variable in class org.melati.servlet.DefaultFileFormDataAdaptor
 
uploadURL - Variable in class org.melati.servlet.DefaultFileFormDataAdaptorFactory
 
url - Variable in class org.melati.servlet.BaseFileFormDataAdaptor
A URL to the data.
urlEncode(String) - Method in class org.melati.Melati
 
USER - Static variable in class org.melati.login.HttpSessionAccessHandler
Class name.
usernameUnknownTemplate() - Method in class org.melati.login.LoginHandler
 
useSession() - Method in class org.melati.login.HttpBasicAuthenticationAccessHandler
Change here to use session, if that makes sense.
UTF8URLEncoder - Class in org.melati.util
A utility class to work around need for catch block.

V

value - Variable in exception org.melati.util.FormatPropertyException
The actual value.
velContext - Variable in class org.melati.template.velocity.VelocityTemplateContext
The webcontext.
VelocityServletTemplateContext - Class in org.melati.template.velocity
Implements a template context for Melati with Velocity.
VelocityServletTemplateContext(VelocityContext) - Constructor for class org.melati.template.velocity.VelocityServletTemplateContext
Constructor.
VelocityServletTemplateEngine - Class in org.melati.template.velocity
 
VelocityServletTemplateEngine() - Constructor for class org.melati.template.velocity.VelocityServletTemplateEngine
Constructor.
VelocityTemplate - Class in org.melati.template.velocity
A Velocity Template for use with Melati.
VelocityTemplate(String) - Constructor for class org.melati.template.velocity.VelocityTemplate
Constructor.
VelocityTemplateContext - Class in org.melati.template.velocity
 
VelocityTemplateContext(VelocityContext) - Constructor for class org.melati.template.velocity.VelocityTemplateContext
Constructor.
VelocityTemplateEngine - Class in org.melati.template.velocity
Wrapper for the Velocity Template Engine for use with Melati.
VelocityTemplateEngine() - Constructor for class org.melati.template.velocity.VelocityTemplateEngine
Constructor.

W

wait(Integer) - Method in class org.melati.util.Waiter
Wait a while.
Waiter - Class in org.melati.util
Allows us to slow things down.
Waiter() - Constructor for class org.melati.util.Waiter
 
warningString(String) - Method in class org.melati.template.webmacro.PassbackEvaluationExceptionHandler
warningString(String) - Method in class org.melati.template.webmacro.PropagateEvaluationExceptionHandler
webContext - Variable in class org.melati.template.webmacro.WebmacroServletTemplateContext
The webcontext.
WebMacroClasspathResourceLoader - Class in org.melati.template.velocity
Loads templates from the classpath, mungs them if they are WM templates.
WebMacroClasspathResourceLoader() - Constructor for class org.melati.template.velocity.WebMacroClasspathResourceLoader
 
WebMacroConverter - Class in org.melati.template.velocity
Converter from WebMacro templates to Velocity templates.
WebmacroMelatiServlet - Class in org.melati.template.webmacro
Base class to use WebMacro (specifically) with Melati.
WebmacroMelatiServlet() - Constructor for class org.melati.template.webmacro.WebmacroMelatiServlet
 
WebmacroMelatiServletTest - Class in org.melati.test
Test WebMacro in standalone mode (outside the servlet API) by expanding a template to a string and then including it within a template.
WebmacroMelatiServletTest() - Constructor for class org.melati.test.WebmacroMelatiServletTest
 
WebmacroServletTemplateContext - Class in org.melati.template.webmacro
Implements a template context for Melati using Webmacro.
WebmacroServletTemplateContext(Context) - Constructor for class org.melati.template.webmacro.WebmacroServletTemplateContext
Constructor.
WebmacroServletTemplateEngine - Class in org.melati.template.webmacro
Wrapper for the WebMacro Template Engine for use in a Servlet context.
WebmacroServletTemplateEngine() - Constructor for class org.melati.template.webmacro.WebmacroServletTemplateEngine
Constructor.
WebmacroStandalone - Class in org.melati.test
This example demonstrates using WebMacro in "standalone" mode.
WebmacroStandalone() - Constructor for class org.melati.test.WebmacroStandalone
 
WebmacroTemplate - Class in org.melati.template.webmacro
A Template for use with Melati.
WebmacroTemplate(Template) - Constructor for class org.melati.template.webmacro.WebmacroTemplate
Constructor.
WebmacroTemplateContext - Class in org.melati.template.webmacro
Implements a template context for Melati / Webmacro without a Servlet.
WebmacroTemplateContext(Context) - Constructor for class org.melati.template.webmacro.WebmacroTemplateContext
Constructor.
WebmacroTemplateEngine - Class in org.melati.template.webmacro
Wrapper for the WebMacro Template Engine for use with Melati.
WebmacroTemplateEngine() - Constructor for class org.melati.template.webmacro.WebmacroTemplateEngine
Constructor.
when(Field) - Method in class org.melati.template.YMDDateAdaptor
 
withUniqueName(File) - Static method in class org.melati.util.FileUtils
Returns a File in the given directory which does not already exist.
wm - Variable in class org.melati.template.webmacro.WebmacroTemplateEngine
The WebMacro.
WMLAttributeMarkupLanguage - Class in org.melati.template
A WML based markup language suitable for markup within an attribute tag.
WMLAttributeMarkupLanguage(WMLMarkupLanguage) - Constructor for class org.melati.template.WMLAttributeMarkupLanguage
Constructor from a normal MarkupLanguage.
WMLMarkupLanguage - Class in org.melati.template
A representation of WML.
WMLMarkupLanguage(Melati, TempletLoader, PoemLocale) - Constructor for class org.melati.template.WMLMarkupLanguage
Constructor.
WMLMarkupLanguage(String, WMLMarkupLanguage) - Constructor for class org.melati.template.WMLMarkupLanguage
Constructor given another ML.
wordIterator() - Method in class org.melati.util.HttpHeader
Factory method to create and return an iterator of words.
write() - Method in class org.melati.Melati
Write the buffered output to the Writer we also need to stop the flusher if it has started.
write(MelatiWriter, TemplateContext, TemplateEngine) - Method in interface org.melati.template.Template
Write the interpolated Template to a Writer.
write(MelatiWriter, TemplateContext, TemplateEngine) - Method in class org.melati.template.velocity.VelocityTemplate
Write the interpolated Template to a Writer.
write(MelatiWriter, TemplateContext, TemplateEngine) - Method in class org.melati.template.webmacro.WebmacroTemplate
Write to the given output.
write(int) - Method in class org.melati.util.FtellPrintWriter
write(char[], int, int) - Method in class org.melati.util.FtellPrintWriter
write(String, int, int) - Method in class org.melati.util.FtellPrintWriter
write(int) - Method in class org.melati.util.FtellWriter
write(char[], int, int) - Method in class org.melati.util.FtellWriter
write(String, int, int) - Method in class org.melati.util.FtellWriter
write(Writer) - Method in class org.melati.util.HTMLUtils.TagInstance
Write tag to specified Writer.
write(Writer, HTML.Tag, AttributeSet) - Static method in class org.melati.util.HTMLUtils
Write a tag to a Writer.
write(char[], int, int) - Method in class org.melati.util.MelatiBufferedWriter
write(char[], int, int) - Method in class org.melati.util.MelatiWriter
write(String) - Method in class org.melati.util.MelatiWriter
write(int) - Method in class org.melati.util.ThrowingPrintWriter
Delegated method.
write(char[], int, int) - Method in class org.melati.util.ThrowingPrintWriter
Delegated method.
write(String, int, int) - Method in class org.melati.util.ThrowingPrintWriter
Delegated method.
writeConnectionPendingException(PrintWriter, Exception) - Method in class org.melati.servlet.ConfigServlet
Print the ConnectionPendingException directly to the client.
writeError(PrintWriter, Exception) - Method in class org.melati.servlet.ConfigServlet
Print an error directly to the client.
writeFile(File, byte[]) - Static method in class org.melati.util.FileUtils
Write a byte array to a given file.

X

XMLAttributeMarkupLanguage - Class in org.melati.template
A XML based markup language suitable for markup within an attribute tag.
XMLAttributeMarkupLanguage(XMLMarkupLanguage) - Constructor for class org.melati.template.XMLAttributeMarkupLanguage
Constructor.
XMLMarkupLanguage - Class in org.melati.template
A representation of XML.
XMLMarkupLanguage(Melati, TempletLoader, PoemLocale) - Constructor for class org.melati.template.XMLMarkupLanguage
Constructor.
XMLMarkupLanguage(String, XMLMarkupLanguage) - Constructor for class org.melati.template.XMLMarkupLanguage
Constructor given another ML.

Y

yearField(Field) - Method in class org.melati.template.YMDDateAdaptor
 
yearSuffix - Static variable in class org.melati.template.YMDDateAdaptor
 
YMDDateAdaptor - Class in org.melati.template
An adaptor for a string date in YMD format.
YMDDateAdaptor() - Constructor for class org.melati.template.YMDDateAdaptor
 
YMDHMSTimestampAdaptor - Class in org.melati.template
An adaptor for a string date in YMDHMST format.
YMDHMSTimestampAdaptor() - Constructor for class org.melati.template.YMDHMSTimestampAdaptor
 

Z

zoneURL(HttpServletRequest) - Static method in class org.melati.util.HttpUtil
Retrieve a Zone url.

_

_handleException(Melati, Exception) - Method in class org.melati.app.AbstractPoemApp
 
_handleException(Melati, Exception) - Method in class org.melati.servlet.PoemServlet
 
_jspDestroy() - Method in class org.melati.servlet.JspServlet
 
_jspInit() - Method in class org.melati.servlet.JspServlet
Do nothing.
_jspService(HttpServletRequest, HttpServletResponse) - Method in class org.melati.servlet.JspServlet
This method is overridden by the code generated from the .jsp file.

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 _

Copyright © 2000-2010 PanEris. All Rights Reserved.