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) - 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 - 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(Table, Melati) - Method in class org.melati.admin.AdminUtils
 
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) - 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) - 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.FastWriter
 
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.
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.
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 - Class in org.melati.util
A PagedEnumeration which knows how big it is.
CountedDumbPagedEnumeration(Enumeration, 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.
dayField(Field) - Method in class org.melati.template.YMDDateAdaptor
 
daySuffix - Static variable in class org.melati.template.YMDDateAdaptor
 
dbBusyMessage(Melati) - Method in class org.melati.servlet.PoemServlet
 
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 - Class in org.melati.util
A PagedEnumeration which doesn't know how big it is.
DumbPagedEnumeration(Enumeration, 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
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.
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(ServletTemplateContext, String) - Static method in class org.melati.servlet.Form
Fill in value of a Field from a ServletTemplateContext.
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

FastWriter - Class in org.melati.template.webmacro
FastWriter attempts to optimize output speed in a WebMacro template through several specific optimizations: FastWriter caches the output in a byte array until you call reset().
FastWriter(Broker, OutputStream, String) - Constructor for class org.melati.template.webmacro.FastWriter
Create a FastWriter to the target outputstream.
FastWriter(Broker, String) - Constructor for class org.melati.template.webmacro.FastWriter
Create a new FastWriter with no output stream target.
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 possibilites 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.FastWriter
Flush all data out to the OutputStream, if any, clearing the internal buffers.
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
 
getEncoder() - Method in class org.melati.template.webmacro.FastWriter
Get the encoder used by this FastWriter to transform char[] data into byte[] data.
getEncoding() - Method in class org.melati.Melati
Return the encoding that is used for writing.
getEncoding() - Method in class org.melati.template.webmacro.FastWriter
Get the character encoding this FastWriter uses to convert characters to byte[]
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(TemplateEngine) - Method in class org.melati.template.webmacro.MelatiFastWriter
Return a FastWriter that can be used for a while instead.
getFastWriter(TemplateEngine) - Method in class org.melati.template.webmacro.MelatiWebmacroStringWriter
 
getFastWriter(TemplateEngine) - 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)