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

A

a - Variable in class org.webmacro.util.StringArray
The value of the string array is available as 'a'.
abs(double) - Static method in class org.webmacro.servlet.MathTool
 
abs(float) - Static method in class org.webmacro.servlet.MathTool
 
abs(int) - Static method in class org.webmacro.servlet.MathTool
 
abs(long) - Static method in class org.webmacro.servlet.MathTool
 
AbstractLogFile - class org.webmacro.util.AbstractLogFile.
Abstract base class which implements most of the LogTarget interface, to make it easier to write new log targets that plug into WM.
AbstractLogFile() - Constructor for class org.webmacro.util.AbstractLogFile
 
AbstractLogFile(Settings) - Constructor for class org.webmacro.util.AbstractLogFile
Create a new LogFile instance reading properties from the supplied Settings object:
AbstractScalableMap - class org.webmacro.util.AbstractScalableMap.
Reduce locking overhead for a map with few writers and many readers.
AbstractScalableMap(int, SimpleMapFactory) - Constructor for class org.webmacro.util.AbstractScalableMap
Create a new scalable map, that uses factor SimpleMaps.
AbstractScalableMap(SimpleMapFactory) - Constructor for class org.webmacro.util.AbstractScalableMap
 
accept(TemplateVisitor) - Method in interface org.webmacro.Visitable
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.Directive
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.ForeachDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.SetblockDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.TextDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.IncludeDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.DefaultDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.SetDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.BeanDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.ProfileDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.CommentDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.AlternateDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.DummyDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.directive.TypeDirective
 
accept(TemplateVisitor) - Method in class org.webmacro.engine.Expression.BinaryOperation
 
accept(TemplateVisitor) - Method in class org.webmacro.engine.Expression.UnaryOperation
 
accept(TemplateVisitor) - Method in class org.webmacro.engine.Expression.AndOperation
 
accept(TemplateVisitor) - Method in class org.webmacro.engine.Expression.OrOperation
 
accept(TemplateVisitor) - Method in class org.webmacro.engine.StringMacroAdapter
 
accept(TemplateVisitor) - Method in class org.webmacro.engine.Variable
 
accept(TemplateVisitor) - Method in class org.webmacro.engine.WMTemplate
 
accept(TemplateVisitor) - Method in class org.webmacro.engine.MacroAdapter
 
accept(TemplateVisitor) - Method in class org.webmacro.engine.Block
 
accept(WebContext) - Method in interface org.webmacro.servlet.Handler
This is the primary method you override to create a new handler.
AccessCount - Static variable in class org.opendoors.cache.immutable.CacheImpl
The total number of accesses to the cache.
AccessFaultCount - Static variable in class org.opendoors.cache.immutable.CacheImpl
The total number of access faults returning null.
actionMutex - Variable in class org.opendoors.cache.immutable.ChangeControl
The synch mutex.
add_escapes(String) - Method in class org.webmacro.parser.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
add(String, String) - Method in class org.webmacro.util.ComponentMap
 
addElement(Object) - Method in class org.webmacro.engine.BlockBuilder
 
addElement(Object, int, int) - Method in class org.webmacro.engine.BlockBuilder
 
addEscapes(String) - Static method in class org.webmacro.parser.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addFileset(FileSet) - Method in class org.webmacro.tools.WMTemplateAntTask
 
addFilter(Variable, Filter) - Method in class org.webmacro.engine.BuildContext
Register a new filter, adding it to the chain for the supplied name.
addObserver(LogSystem) - Method in class org.webmacro.util.AbstractLogFile
 
addObserver(LogSystem) - Method in interface org.webmacro.util.LogTarget
A LogSystem will register itself though this method in order to detect changes to the LogTarget.
addProvider(Provider, String) - Method in class org.webmacro.Broker
Register a new provider, calling its getType() method to find out what type of requests it wants to serve.
addTarget(LogTarget) - Method in class org.webmacro.util.LogSystem
Add a new LogTarget to the LogSystem.
AExpression() - Method in class org.webmacro.parser.WMParser_impl
 
ALL - Static variable in class org.webmacro.util.LogSystem
 
AlternateDirective - class org.webmacro.directive.AlternateDirective.
#alternate
AlternateDirective() - Constructor for class org.webmacro.directive.AlternateDirective
 
AndExpression() - Method in class org.webmacro.parser.WMParser_impl
 
append(Object, Object) - Static method in class org.webmacro.servlet.ListUtil
append one list to the end of another and return the expanded list.
ArgList() - Method in class org.webmacro.parser.WMParser_impl
 
args - Variable in class org.webmacro.directive.DirectiveDescriptor
 
args - Variable in class org.webmacro.directive.Directive.Subdirective
 
ArgsHolder - class org.webmacro.directive.ArgsHolder.
ArgsHolder is a container for directive arguments.
ArgsHolder(Directive.ArgDescriptor[]) - Constructor for class org.webmacro.directive.ArgsHolder
 
ArgType_ASSIGN - Static variable in class org.webmacro.directive.Directive
 
ArgType_BLOCK - Static variable in class org.webmacro.directive.Directive
 
ArgType_CHOICE - Static variable in class org.webmacro.directive.Directive
 
ArgType_CONDITION - Static variable in class org.webmacro.directive.Directive
 
ArgType_GROUP - Static variable in class org.webmacro.directive.Directive
 
ArgType_KEYWORD - Static variable in class org.webmacro.directive.Directive
 
ArgType_LITBLOCK - Static variable in class org.webmacro.directive.Directive
 
ArgType_LVALUE - Static variable in class org.webmacro.directive.Directive
 
ArgType_QUOTEDSTRING - Static variable in class org.webmacro.directive.Directive
 
ArgType_RVALUE - Static variable in class org.webmacro.directive.Directive
 
ArgType_STRING - Static variable in class org.webmacro.directive.Directive
 
ArgType_SUBDIRECTIVE - Static variable in class org.webmacro.directive.Directive
 
Argument - class org.webmacro.engine.Argument.
A predicate is a term passed to a Directive.
Argument(String, Object) - Constructor for class org.webmacro.engine.Argument
Create a new predicate
arguments - Variable in class org.webmacro.PropertyException.NoSuchMethodWithArgumentsException
 
ArrayIterator - class org.webmacro.util.ArrayIterator.
This provides an iterator interface to an array
ArrayIterator(Object[]) - Constructor for class org.webmacro.util.ArrayIterator
Construct an iterator given an enumeration
ASCII_CharStream - class org.webmacro.parser.ASCII_CharStream.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
ASCII_CharStream(InputStream, int, int) - Constructor for class org.webmacro.parser.ASCII_CharStream
 
ASCII_CharStream(InputStream, int, int, int) - Constructor for class org.webmacro.parser.ASCII_CharStream
 
ASCII_CharStream(Reader, int, int) - Constructor for class org.webmacro.parser.ASCII_CharStream
 
ASCII_CharStream(Reader, int, int, int) - Constructor for class org.webmacro.parser.ASCII_CharStream
 
assert() - Method in class org.webmacro.util.WMEval
Deprecated.  
assert(Context) - Method in class org.webmacro.util.WMEval
Deprecated.  
assert(Context, Template) - Method in class org.webmacro.util.WMEval
Evaluate the supplied context and template and return the result as a as a string.
assert(Context, Template, OutputStream, String) - Method in class org.webmacro.util.WMEval
Deprecated.  
atomize(Object) - Method in class org.webmacro.util.Atomizer
Put an object in the atomizer, return its atomic number.
Atomizer - class org.webmacro.util.Atomizer.
Atomize an object into an atomic number, and provide a means to turn that atomic number back into the original object.
Atomizer() - Constructor for class org.webmacro.util.Atomizer
Create an atomizer with space for 100 atoms
Atomizer(int) - Constructor for class org.webmacro.util.Atomizer
Create an atomizer with space for the specified number of atoms.
AttributeDirective - class org.webmacro.directive.AttributeDirective.
The #attribute directive allows you to set a template attribute such that it is accessible from the servlet.
AttributeDirective() - Constructor for class org.webmacro.directive.AttributeDirective
 
AVG_TIMEOUT - Static variable in class org.webmacro.resource.UrlProvider
 

B

backup(int) - Method in interface org.webmacro.parser.CharStream
Backs up the input stream by amount steps.
backup(int) - Method in class org.webmacro.parser.ASCII_CharStream
 
backup(int) - Method in class org.webmacro.parser.BackupCharStream
 
BackupCharStream - class org.webmacro.parser.BackupCharStream.
An implementation of interface CharStream.
BackupCharStream(InputStream, int, int) - Constructor for class org.webmacro.parser.BackupCharStream
 
BackupCharStream(InputStream, int, int, int) - Constructor for class org.webmacro.parser.BackupCharStream
 
BackupCharStream(Reader) - Constructor for class org.webmacro.parser.BackupCharStream
 
BackupCharStream(Reader, int, int) - Constructor for class org.webmacro.parser.BackupCharStream
 
BackupCharStream(Reader, int, int, int) - Constructor for class org.webmacro.parser.BackupCharStream
 
Bag - interface org.webmacro.util.Bag.
A dictionary like interface, but more restricted--provides a common interface for generic containers which are less functional than a dictionary, but similar in nature.
Base64 - class org.webmacro.util.Base64.
 
Base64() - Constructor for class org.webmacro.util.Base64
 
BeanDirective - class org.webmacro.directive.BeanDirective.
 
BeanDirective() - Constructor for class org.webmacro.directive.BeanDirective
 
BeforeBlock() - Method in class org.webmacro.parser.WMParser_impl
 
BEGIN - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
beginBlock() - Method in class org.webmacro.TemplateVisitor
 
beginBlock() - Method in class org.webmacro.engine.TemplateDumper
 
beginColumn - Variable in class org.webmacro.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginDirective(String) - Method in class org.webmacro.TemplateVisitor
 
beginDirective(String) - Method in class org.webmacro.engine.TemplateDumper
 
beginLine - Variable in class org.webmacro.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Method in interface org.webmacro.parser.CharStream
Returns the next character that marks the beginning of the next token.
BeginToken() - Method in class org.webmacro.parser.ASCII_CharStream
 
BeginToken() - Method in class org.webmacro.parser.BackupCharStream
 
bflush() - Method in class org.webmacro.FastWriter
 
Block - class org.webmacro.engine.Block.
A Block is essentially a Macro[] that knows how to write itself out as a String.
Block(Directive.Subdirective[]) - Method in class org.webmacro.parser.WMParser_impl
 
Block(String, String[], Macro[], int[], int[]) - Constructor for class org.webmacro.engine.Block
A Block must be constructed from a BlockBuilder.
BlockBuilder - class org.webmacro.engine.BlockBuilder.
A block represents the text between two {}'s in a template, or else the text that begins at the start of the template and runs until its end ({}'s around the whole document are not required).
BlockBuilder.BBIterator - class org.webmacro.engine.BlockBuilder.BBIterator.
 
BlockBuilder.BBIterator(BlockBuilder) - Constructor for class org.webmacro.engine.BlockBuilder.BBIterator
 
BlockBuilder.BlockIterator - interface org.webmacro.engine.BlockBuilder.BlockIterator.
 
BlockBuilder() - Constructor for class org.webmacro.engine.BlockBuilder
 
BlockBuilder(String) - Constructor for class org.webmacro.engine.BlockBuilder
 
BOOLEAN - Static variable in class org.webmacro.util.CastUtil
 
BracketList() - Method in class org.webmacro.parser.WMParser_impl
 
BREAKING - Static variable in class org.webmacro.directive.Directive.Subdirective
 
Broker - class org.webmacro.Broker.
The Broker is responsible for loading and initializing almost everything in WebMacro.
Broker() - Constructor for class org.webmacro.Broker
Equivalent to Broker("WebMacro.properties"), except that it doesn't complain if WebMacro.properties can't be found.
Broker(Broker, String) - Constructor for class org.webmacro.Broker
Explicitly provide the properties that WebMacro should configure from.
Broker(String) - Constructor for class org.webmacro.Broker
Search the classpath for the properties file under the specified name.
brokers - Static variable in class org.webmacro.Broker
 
BrokerTemplateProvider - class org.webmacro.resource.BrokerTemplateProvider.
The BrokerTemplateProvider loads templates through Broker.getResource().
BrokerTemplateProvider() - Constructor for class org.webmacro.resource.BrokerTemplateProvider
 
BrokerTemplateProviderHelper - class org.webmacro.resource.BrokerTemplateProviderHelper.
This class does the actual work of retrieving templates using the Broker.
BrokerTemplateProviderHelper() - Constructor for class org.webmacro.resource.BrokerTemplateProviderHelper
 
build(BuildContext) - Method in class org.webmacro.directive.DirectiveBuilder
Build the directive.
build(BuildContext) - Method in class org.webmacro.engine.Expression.BinaryOperationBuilder
 
build(BuildContext) - Method in class org.webmacro.engine.Expression.UnaryOperationBuilder
 
build(BuildContext) - Method in class org.webmacro.engine.ParamBuilder
 
build(BuildContext) - Method in class org.webmacro.engine.PropertyMethodBuilder
 
build(BuildContext) - Method in interface org.webmacro.engine.Builder
 
build(BuildContext) - Method in class org.webmacro.engine.QuotedStringBuilder
 
build(BuildContext) - Method in class org.webmacro.engine.ListBuilder
 
build(BuildContext) - Method in class org.webmacro.engine.BlockBuilder
 
build(BuildContext) - Method in class org.webmacro.engine.VariableBuilder
 
build(BuildContext) - Method in class org.webmacro.engine.NullBuilder
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.Directive
Directives must implement a build() method.
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.ForeachDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.PropertyDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.EscapeDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.SetblockDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.ParamDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.AttributeDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.SilenceDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.TextDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.IncludeDirective
Build this use of the directive.
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.DefaultDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.SetDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.BeanDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.EncodeDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.ProfileDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.CommentDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.AlternateDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.DummyDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.GlobalDirective
 
build(DirectiveBuilder, BuildContext) - Method in class org.webmacro.directive.TypeDirective
configure directive for this run and return 'this'
build(Object) - Method in class org.webmacro.engine.Expression.UnaryOperationBuilder
 
build(Object) - Method in class org.webmacro.engine.Expression.NotBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.BinaryOperationBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.AndBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.OrBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.AddBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.SubtractBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.MultiplyBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.DivideBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.CompareEqBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.CompareNeBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.CompareLeBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.CompareLtBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.CompareGeBuilder
 
build(Object, Object) - Method in class org.webmacro.engine.Expression.CompareGtBuilder
 
BuildContext - class org.webmacro.engine.BuildContext.
Contains data structures which are manipulated during the builder phase of parsing.
BuildContext(Broker) - Constructor for class org.webmacro.engine.BuildContext
 
Builder - interface org.webmacro.engine.Builder.
 
BuildException - exception org.webmacro.engine.BuildException.
 
BuildException(String) - Constructor for class org.webmacro.engine.BuildException
 
BuildException(String, Throwable) - Constructor for class org.webmacro.engine.BuildException
 
buildLocale(String) - Static method in class org.webmacro.servlet.LocaleTool
access to the static members such as Locale.US, etc If that field doesn't exist try to construct a locale from a string so templates can have $Locale.en_GB.
BYTE - Static variable in class org.webmacro.util.CastUtil
 
ByteBufferOutputStream - class org.webmacro.util.ByteBufferOutputStream.
 
ByteBufferOutputStream(int) - Constructor for class org.webmacro.util.ByteBufferOutputStream
Create a new ByteBuffer with the specified capacity
bytesToString(byte[]) - Static method in class org.webmacro.servlet.TextTool
convert a byte[] to a String using the system-default encoding
bytesToString(byte[], String) - Static method in class org.webmacro.servlet.TextTool
convert a byte[] to a String using the specified encoding

C

cache - Variable in class org.opendoors.cache.immutable.ChangeControl
The actual cache under management.
Cache - interface org.opendoors.cache.Cache.
The base interface for every cache regardless of implementation.
CacheElement - class org.webmacro.resource.CacheElement.
CacheElement is an abstract class which cache managers can subclass.
CacheElement() - Constructor for class org.webmacro.resource.CacheElement
 
CacheFactory - class org.opendoors.cache.immutable.CacheFactory.
CacheFactory provides static and instance-specific methods for the creation of an immutable cache.
CacheFactory(Properties) - Constructor for class org.opendoors.cache.immutable.CacheFactory
Creates an instance of a cache factory with text property options to control the behavior the factory.
CacheFactory(Properties, Properties) - Constructor for class org.opendoors.cache.immutable.CacheFactory
This constructor allows you to present factory defaults different than those provided by VFC.
CacheImpl - class org.opendoors.cache.immutable.CacheImpl.
Implements the updateable cache interface according to the immutable / mutable cache strategy of VFC.
CacheManager - interface org.webmacro.resource.CacheManager.
The CacheManager sits between the template provider and WM.
CacheReloadContext - class org.webmacro.resource.CacheReloadContext.
CacheReloadContext provides support for providers which support cache invalidation on a per-element basis, for example if an underlying resource has changed.
CacheReloadContext() - Constructor for class org.webmacro.resource.CacheReloadContext
 
CachingProvider - class org.webmacro.resource.CachingProvider.
CacheManager is an abstract base class for providers which wish to implement caching functionality.
CachingProvider() - Constructor for class org.webmacro.resource.CachingProvider
 
CallGraph - class org.webmacro.profile.CallGraph.
A CallGraph is a view of the events in a ProfileCategory.
CallGraph(ProfileCategory) - Constructor for class org.webmacro.profile.CallGraph
Construct a CallGraph representing the nodes in the supplied root
CastUtil - class org.webmacro.util.CastUtil.
 
CExpression() - Method in class org.webmacro.parser.WMParser_impl
 
CGI_Impersonator - class org.webmacro.servlet.CGI_Impersonator.
Provided to mimic the CGI environment within the WebMacro script language via introspection.
CGITool - class org.webmacro.servlet.CGITool.
Provide Template variables that implement the CGI standard for script variable names.
CGITool() - Constructor for class org.webmacro.servlet.CGITool
 
ChangeControl - class org.opendoors.cache.immutable.ChangeControl.
Default behavior for managing the mutable and immutable cache as implemented by CacheImpl.
ChangeControl() - Constructor for class org.opendoors.cache.immutable.ChangeControl
The default constructor which does nothing.
CHAR - Static variable in class org.webmacro.util.CastUtil
 
CharStream - interface org.webmacro.parser.CharStream.
This interface describes a character stream that maintains line and column number positions of the characters.
CheckTemplates - class org.webmacro.tools.CheckTemplates.
CheckTemplates Program which uses the WebMacro parser to validate templates
CheckTemplates() - Constructor for class org.webmacro.tools.CheckTemplates
 
children - Variable in class org.webmacro.directive.Directive.ArgDescriptor
 
classForName(String) - Method in class org.webmacro.Broker
Load a class through the broker's class loader.
classForName(String) - Method in class org.webmacro.servlet.Servlet20Broker
Loads a class by name.
classForName(String) - Method in class org.webmacro.servlet.Servlet22Broker
Loads a class by name.
className - Variable in class org.webmacro.PropertyException.NoSuchMethodException
 
className - Variable in class org.webmacro.PropertyException.NoSuchMethodWithArgumentsException
 
clear() - Method in class org.webmacro.Context
Clear the context so that it can be used for another request.
clear() - Method in class org.webmacro.servlet.WebContext
Clear a WebContext of it's non-shared data
clear() - Method in class org.webmacro.util.AbstractScalableMap
 
clear() - Method in class org.webmacro.util.SimpleStack
 
clear() - Method in interface org.webmacro.util.SimpleMap
 
clear() - Method in class org.webmacro.util.IntStack
 
clear() - Method in class org.webmacro.util.SimpleHashMap
 
clear() - Method in class org.webmacro.util.SimpleIdentityMap
 
clearFilters(Variable) - Method in class org.webmacro.engine.BuildContext
Clear all the filtered for the supplied name.
Clock - class org.webmacro.util.Clock.
This is an optimization.
Clock() - Constructor for class org.webmacro.util.Clock
 
clone() - Method in class org.webmacro.Context
See cloneContext().
clone() - Method in class org.webmacro.util.SharedObject
Make a copy for another thread
clone() - Method in class org.webmacro.util.Atomizer
Clone this Atomizer
clone() - Method in class org.webmacro.util.SharedReference
Make a copy for another thread
cloneContext() - Method in class org.webmacro.Context
Create a copy of this context.
close() - Method in class org.webmacro.FastWriter
Return the FastWriter to the queue for later re-use.
close() - Method in class org.webmacro.util.QueueWriter
Does nothing
COMMA - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
COMMENT - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
COMMENT_ELSE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
Comment(ParserBlockBuilder) - Method in class org.webmacro.parser.WMParser_impl
 
CommentDirective - class org.webmacro.directive.CommentDirective.
 
CommentDirective() - Constructor for class org.webmacro.directive.CommentDirective
 
compare(long, long) - Method in class org.webmacro.engine.Expression.Compare
 
compare(long, long) - Method in class org.webmacro.engine.Expression.CompareEq
 
compare(long, long) - Method in class org.webmacro.engine.Expression.CompareNe
 
compare(long, long) - Method in class org.webmacro.engine.Expression.CompareLe
 
compare(long, long) - Method in class org.webmacro.engine.Expression.CompareLt
 
compare(long, long) - Method in class org.webmacro.engine.Expression.CompareGe
 
compare(long, long) - Method in class org.webmacro.engine.Expression.CompareGt
 
compare(Object, Object) - Method in class org.webmacro.engine.Expression.Compare
 
compare(Object, Object) - Method in class org.webmacro.engine.Expression.CompareEq
 
compare(Object, Object) - Method in class org.webmacro.engine.Expression.CompareNe
 
compare(String, String) - Method in class org.webmacro.engine.Expression.Compare
 
compare(String, String) - Method in class org.webmacro.engine.Expression.CompareEq
 
compare(String, String) - Method in class org.webmacro.engine.Expression.CompareNe
 
compare(String, String) - Method in class org.webmacro.engine.Expression.CompareLe
 
compare(String, String) - Method in class org.webmacro.engine.Expression.CompareLt
 
compare(String, String) - Method in class org.webmacro.engine.Expression.CompareGe
 
compare(String, String) - Method in class org.webmacro.engine.Expression.CompareGt
 
compareNull(Object) - Method in class org.webmacro.engine.Expression.Compare
 
compareNull(Object) - Method in class org.webmacro.engine.Expression.CompareEq
 
compareNull(Object) - Method in class org.webmacro.engine.Expression.CompareNe
 
ComponentMap - class org.webmacro.util.ComponentMap.
A ComponentMap takes a list of component names and builds a Map of instance objects.
ComponentMap() - Constructor for class org.webmacro.util.ComponentMap
Create a new ComponentMap for the supplied list of names separated on whitespace, commas, newlines, colons, and semicolons.
ComponentMap(Settings) - Constructor for class org.webmacro.util.ComponentMap
Create a new ComponentMap for the supplied list of names using the supplied Settings for initialization, if any initialization can be done.
Conditional() - Method in class org.webmacro.parser.WMParser_impl
 
ConfigException - exception org.webmacro.servlet.ConfigException.
This is an exception, which Config may throw if something is wrong with the config file eg default variables cannot be located
ConfigException(String) - Constructor for class org.webmacro.servlet.ConfigException
Constructor only requires a reason
ConfigProvider - class org.webmacro.resource.ConfigProvider.
A very simple provider which simply takes the config information passed to it by the broker and returns it.
ConfigProvider() - Constructor for class org.webmacro.resource.ConfigProvider
 
contains(List, Object) - Static method in class org.webmacro.servlet.ListUtil
 
contains(Object[], Object) - Static method in class org.webmacro.servlet.ListUtil
 
contains(Object, Object) - Static method in class org.webmacro.servlet.ListUtil
 
containsKey(Object) - Method in class org.webmacro.Context
Method from Map interface, operates on underlying Map
containsKey(String) - Method in class org.webmacro.util.Settings
Find out if a setting is defined
containsKey(String) - Method in class org.webmacro.util.SubSettings
Find out if a setting is defined
containsValue(Object) - Method in class org.webmacro.Context
Method from Map interface, operates on underlying Map
Context - class org.webmacro.Context.
A Context contains state.
Context.TemplateEvaluationContext - class org.webmacro.Context.TemplateEvaluationContext.
 
Context.TemplateEvaluationContext() - Constructor for class org.webmacro.Context.TemplateEvaluationContext
 
Context(Broker) - Constructor for class org.webmacro.Context
Create a new Context relative to the supplied broker
ContextException - exception org.webmacro.ContextException.
The context supplied to a macro did not contain information that the macro required in order to write or evaluate itself, or there was some problem with the way the Context was used.
ContextException() - Constructor for class org.webmacro.ContextException
 
ContextException(String) - Constructor for class org.webmacro.ContextException
 
ContextException(String, Throwable) - Constructor for class org.webmacro.ContextException
 
ContextTool - interface org.webmacro.ContextTool.
This interface is used to attach utilities to a context to assist with the generation of views.
CookieJar - class org.webmacro.servlet.CookieJar.
Provide access to form variables
CookieTool - class org.webmacro.servlet.CookieTool.
Provide Template with access to form data.
CookieTool() - Constructor for class org.webmacro.servlet.CookieTool
 
copy(Object) - Static method in class org.webmacro.servlet.ListUtil
create a new list (ArrayList) with all the elements in the supplied list
copyCurrentContext() - Method in class org.webmacro.servlet.TemplateTool.MacroTemplate
Copies all variables from the current request context into the context of the macro.
CrankyEvaluationExceptionHandler - class org.webmacro.engine.CrankyEvaluationExceptionHandler.
CrankyEvaluationExceptionHandler An implementation of EvaluationExceptionHandler which throws an exception whenever it is called.
CrankyEvaluationExceptionHandler() - Constructor for class org.webmacro.engine.CrankyEvaluationExceptionHandler
 
CrankyEvaluationExceptionHandler(Broker) - Constructor for class org.webmacro.engine.CrankyEvaluationExceptionHandler
 
create() - Static method in class org.opendoors.cache.immutable.CacheFactory
A factory static method to provide an empty updateable cache.
create() - Static method in class org.webmacro.servlet.ListUtil
create a new ArrayList
create(int) - Static method in class org.webmacro.servlet.ListUtil
create a new ArrayList with the specified capacity
create(Map) - Static method in class org.opendoors.cache.immutable.CacheFactory
A factory static method to provide an updateable cache preloaded
createClasspath() - Method in class org.webmacro.tools.WMTemplateAntTask
 
createLogTarget(Broker, String, Settings) - Method in class org.webmacro.util.LogTargetFactory
Creates a new org.webmacro.util.LogTarget
createMacro(Object) - Static method in class org.webmacro.engine.MacroAdapter
If wrapMe is not a Macro, wrap it and return it.
createRange(int, int) - Static method in class org.webmacro.servlet.ListUtil
 
createRange(int, int, int) - Static method in class org.webmacro.servlet.ListUtil
 
createSimpleMap() - Method in interface org.webmacro.util.SimpleMapFactory
Create a SimpleMap
curChar - Variable in class org.webmacro.parser.WMParser_implTokenManager
 
currentToken - Variable in class org.webmacro.parser.ParseException
This is the last token that has been consumed successfully.

D

date - Variable in class org.webmacro.engine.TestObject
 
DEBUG - Static variable in class org.webmacro.Flags
Use debug statements in performance critical code?
DEBUG - Static variable in class org.webmacro.util.LogSystem
 
debug(String) - Method in interface org.webmacro.Log
A shortform for debug(msg,null)
debug(String) - Method in class org.webmacro.util.LogSource
A shortform for debug(msg,null)
debug(String, Exception) - Method in interface org.webmacro.Log
Debug messages are incidental programmer notes which should not be enabled in a production system.
debug(String, Exception) - Method in class org.webmacro.util.LogSource
Debug messages are incidental programmer notes which should not be enabled in a production system.
debugStream - Variable in class org.webmacro.parser.WMParser_implTokenManager
 
decode(byte[]) - Static method in class org.webmacro.util.Base64
Ge tthe plain text version of a base64 encoded byte array
decode(String) - Static method in class org.webmacro.util.Base64
Get the plain text version of a base64 encoded string
decorate(String, CacheReloadContext) - Method in class org.webmacro.resource.ReloadDelayDecorator
Looks up the "check for reload delay" for protocol and creates a suitable TimedReloadContext or passes back the original reload context if delay <= 0
DEFAULT - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
DEFAULT_BUFFER_SIZE - Static variable in class org.webmacro.FastWriter
 
DEFAULT_FACTOR - Static variable in class org.webmacro.util.AbstractScalableMap
 
DEFAULT_SIZE - Static variable in class org.webmacro.util.ScalableIdentityMap
 
DEFAULT_SIZE - Static variable in class org.webmacro.util.ScalableMap
 
DefaultDirective - class org.webmacro.directive.DefaultDirective.
 
DefaultDirective() - Constructor for class org.webmacro.directive.DefaultDirective
 
DefaultEvaluationExceptionHandler - class org.webmacro.engine.DefaultEvaluationExceptionHandler.
 
DefaultEvaluationExceptionHandler() - Constructor for class org.webmacro.engine.DefaultEvaluationExceptionHandler
 
DefaultEvaluationExceptionHandler(Broker) - Constructor for class org.webmacro.engine.DefaultEvaluationExceptionHandler
 
Depopulate - class org.opendoors.cache.immutable.Depopulate.
Depopulates a shared cache from integer n up to m with Integer(n <= i < m).
Depopulate(Cache, int, int) - Constructor for class org.opendoors.cache.immutable.Depopulate
Construct the depopulator with test parameters.
depth - Variable in class org.webmacro.profile.ProfileEvent
How many levels down the "call stack" is this event? In other words, how many events enclose it.
destroy() - Method in class org.opendoors.util.PostponeObservable
Destoys this instance and the associated timer.
destroy() - Method in interface org.webmacro.Provider
Close down this provider, freeing any allocated resources.
destroy() - Method in class org.webmacro.WM
Call this method when you are finished with WebMacro.
destroy() - Method in interface org.webmacro.WebMacro
Call this method when you are finished with WebMacro.
destroy() - Method in class org.webmacro.directive.DirectiveProvider
 
destroy() - Method in class org.webmacro.engine.ParserProvider
 
destroy() - Method in class org.webmacro.profile.Profile
Terminate profiling, releasing any resources allocated to this Profile and forwarding any collected statistics back to the ProfileSystem.
destroy() - Method in class org.webmacro.profile.ProfileSystem
Shut down the profiling system.
destroy() - Method in class org.webmacro.resource.TrivialCacheManager
 
destroy() - Method in interface org.webmacro.resource.CacheManager
Same as defined in Provider
destroy() - Method in class org.webmacro.resource.StaticSMapCacheManager
Close down the provider.
destroy() - Method in class org.webmacro.resource.StaticIdentityCacheManager
Close down the provider.
destroy() - Method in class org.webmacro.resource.CachingProvider
Close down the provider.
destroy() - Method in class org.webmacro.resource.HMapCacheManager
Close down the provider.
destroy() - Method in class org.webmacro.resource.ConfigProvider
 
destroy() - Method in class org.webmacro.resource.SMapCacheManager
Close down the provider.
destroy() - Method in class org.webmacro.resource.GenerationalCacheManager
 
destroy() - Method in class org.webmacro.servlet.WMServlet
This method is called by the servlet runner--do not call it.
destroy() - Method in interface org.webmacro.servlet.Handler
You may use this method to save persistent state on exit.
destroy() - Method in class org.webmacro.util.WMEval
Free up resources when no longer needed.
destroy() - Method in class org.webmacro.util.EncoderProvider
Close down this provider, freeing any allocated resources.
destroy(Object) - Method in interface org.webmacro.ContextTool
At the end of processing this method will be called to return the object generated by init(), in case it needs to be recycled or otherwise cleaned up.
destroy(Object) - Method in class org.webmacro.servlet.MathTool
Perform necessary cleanup work
destroy(Object) - Method in class org.webmacro.servlet.TextTool
Perform necessary cleanup work
destroy(Object) - Method in class org.webmacro.servlet.FormTool
 
destroy(Object) - Method in class org.webmacro.servlet.CookieTool
 
destroy(Object) - Method in class org.webmacro.servlet.ResponseTool
 
destroy(Object) - Method in class org.webmacro.servlet.FormListTool
 
destroy(Object) - Method in class org.webmacro.servlet.CGITool
 
destroy(Object) - Method in class org.webmacro.servlet.LocaleTool
 
destroy(Object) - Method in class org.webmacro.servlet.TypeTool
 
destroy(Object) - Method in class org.webmacro.servlet.SessionTool
 
destroy(Object) - Method in class org.webmacro.servlet.RequestTool
 
destroy(Object) - Method in class org.webmacro.servlet.TemplateTool
Invoked when the context is freed after its request/response has been completed.
destroy(Object) - Method in class org.webmacro.servlet.VariableTool
 
destroy(Object) - Method in class org.webmacro.servlet.ListTool
 
destroy(UpdateableCache) - Method in class org.opendoors.cache.immutable.CacheFactory
Destroys the instance of the cache created by the factory.
destroyCache(UpdateableCache) - Static method in class org.opendoors.cache.immutable.CacheFactory
A static factory method to destroy a cache.
destroyContext(WebContext) - Method in class org.webmacro.servlet.WMServlet
This method is called at the end of a request and is responsible for cleaning up the Context at the end of the request.
DictionaryTool - class org.webmacro.util.DictionaryTool.
A HashTool wraps a java.util.Dictionary and provides additional features
DictionaryTool(Dictionary) - Constructor for class org.webmacro.util.DictionaryTool
Wrap the supplied dictionary.
dirClass - Variable in class org.webmacro.directive.DirectiveDescriptor
 
Directive - class org.webmacro.directive.Directive.
Directive is an abstract class which directives can extend.
DIRECTIVE_KEY - Static variable in class org.webmacro.directive.DirectiveProvider
 
Directive.ArgDescriptor - class org.webmacro.directive.Directive.ArgDescriptor.
ArgDescriptor is the base class for all the different types of argument descriptors, like ConditionalArg, KeywordArg, RValueArg, etc.
Directive.ArgDescriptor(int, int) - Constructor for class org.webmacro.directive.Directive.ArgDescriptor
 
Directive.AssignmentArg - class org.webmacro.directive.Directive.AssignmentArg.
Assignment.
Directive.AssignmentArg() - Constructor for class org.webmacro.directive.Directive.AssignmentArg
 
Directive.BlockArg - class org.webmacro.directive.Directive.BlockArg.
Block argument type.
Directive.BlockArg(int) - Constructor for class org.webmacro.directive.Directive.BlockArg
 
Directive.ConditionArg - class org.webmacro.directive.Directive.ConditionArg.
Condition argument type.
Directive.ConditionArg(int) - Constructor for class org.webmacro.directive.Directive.ConditionArg
 
Directive.KeywordArg - class org.webmacro.directive.Directive.KeywordArg.
Keyword argument type.
Directive.KeywordArg(int, String) - Constructor for class org.webmacro.directive.Directive.KeywordArg
 
Directive.LiteralBlockArg - class org.webmacro.directive.Directive.LiteralBlockArg.
Literal block argument type.
Directive.LiteralBlockArg(int) - Constructor for class org.webmacro.directive.Directive.LiteralBlockArg
 
Directive.LValueArg - class org.webmacro.directive.Directive.LValueArg.
LValue argument type.
Directive.LValueArg(int) - Constructor for class org.webmacro.directive.Directive.LValueArg
 
Directive.NotSimpleVariableBuildException - exception org.webmacro.directive.Directive.NotSimpleVariableBuildException.
Utility exception used by directives to signal that an argument that was supposed to be a simple Variable (only one term) is not.
Directive.NotSimpleVariableBuildException(String) - Constructor for class org.webmacro.directive.Directive.NotSimpleVariableBuildException
 
Directive.NotSimpleVariableBuildException(String, Exception) - Constructor for class org.webmacro.directive.Directive.NotSimpleVariableBuildException
 
Directive.NotVariableBuildException - exception org.webmacro.directive.Directive.NotVariableBuildException.
Utility exception used by directives to signal that an argument that was supposed to be a Variable is not a variable.
Directive.NotVariableBuildException(String) - Constructor for class org.webmacro.directive.Directive.NotVariableBuildException
 
Directive.NotVariableBuildException(String, Exception) - Constructor for class org.webmacro.directive.Directive.NotVariableBuildException
 
Directive.OptionalGroup - class org.webmacro.directive.Directive.OptionalGroup.
Optional group.
Directive.OptionalGroup(int) - Constructor for class org.webmacro.directive.Directive.OptionalGroup
 
Directive.OptionalRepeatingSubdirective - class org.webmacro.directive.Directive.OptionalRepeatingSubdirective.
Optional repeating subdirective.
Directive.OptionalRepeatingSubdirective(int, String, Directive.ArgDescriptor[]) - Constructor for class org.webmacro.directive.Directive.OptionalRepeatingSubdirective
 
Directive.OptionalRepeatingSubdirective(int, String, Directive.ArgDescriptor[], int) - Constructor for class org.webmacro.directive.Directive.OptionalRepeatingSubdirective
 
Directive.OptionalSubdirective - class org.webmacro.directive.Directive.OptionalSubdirective.
Optional subdirective.
Directive.OptionalSubdirective(int, String, Directive.ArgDescriptor[]) - Constructor for class org.webmacro.directive.Directive.OptionalSubdirective
 
Directive.OptionalSubdirective(int, String, Directive.ArgDescriptor[], int) - Constructor for class org.webmacro.directive.Directive.OptionalSubdirective
 
Directive.OptionChoice - class org.webmacro.directive.Directive.OptionChoice.
The OptionChoice indicates that several optional groups can be accepted in any order.
Directive.OptionChoice(int) - Constructor for class org.webmacro.directive.Directive.OptionChoice
 
Directive.QuotedStringArg - class org.webmacro.directive.Directive.QuotedStringArg.
Quoted string argument type.
Directive.QuotedStringArg(int) - Constructor for class org.webmacro.directive.Directive.QuotedStringArg
 
Directive.RValueArg - class org.webmacro.directive.Directive.RValueArg.
RValue argument type.
Directive.RValueArg(int) - Constructor for class org.webmacro.directive.Directive.RValueArg
 
Directive.SingleOptionChoice - class org.webmacro.directive.Directive.SingleOptionChoice.
The SingleOptionChoice indicates that zero or one of several optional groups can be accepted, but only once.
Directive.SingleOptionChoice(int) - Constructor for class org.webmacro.directive.Directive.SingleOptionChoice
 
Directive.StringArg - class org.webmacro.directive.Directive.StringArg.
String argument type.
Directive.StringArg(int) - Constructor for class org.webmacro.directive.Directive.StringArg
 
Directive.Subdirective - class org.webmacro.directive.Directive.Subdirective.
Subdirectives are like directives, except that they do not have their own class.
Directive.Subdirective(int, String, Directive.ArgDescriptor[]) - Constructor for class org.webmacro.directive.Directive.Subdirective
 
Directive.Subdirective(int, String, Directive.ArgDescriptor[], int) - Constructor for class org.webmacro.directive.Directive.Subdirective
 
Directive() - Constructor for class org.webmacro.directive.Directive
 
Directive(ParserBlockBuilder) - Method in class org.webmacro.parser.WMParser_impl
 
DirectiveArgs - interface org.webmacro.directive.DirectiveArgs.
Interface used for setting and retrieving directive arguments.
DirectiveBuilder - class org.webmacro.directive.DirectiveBuilder.
DirectiveBuilder manages the building of directives.
DirectiveBuilder(DirectiveDescriptor) - Constructor for class org.webmacro.directive.DirectiveBuilder
 
DirectiveDescriptor - class org.webmacro.directive.DirectiveDescriptor.
Each directive needs a DirectiveDescriptor to describe how it should be parsed and built by the parser.
DirectiveDescriptor(String, Class, Directive.ArgDescriptor[], Directive.Subdirective[]) - Constructor for class org.webmacro.directive.DirectiveDescriptor
 
directiveOk() - Method in class org.webmacro.parser.ParserBlockBuilder
 
DirectiveProvider - class org.webmacro.directive.DirectiveProvider.
Utility class to assist in the creation of directives.
DirectiveProvider() - Constructor for class org.webmacro.directive.DirectiveProvider
 
disable_tracing() - Method in class org.webmacro.parser.WMParser_impl
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.webmacro.servlet.WMServlet
Process an incoming GET request: Builds a WebContext up and then passes it to the handle() method.
DOLLAR - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
DollarReference() - Method in class org.webmacro.parser.WMParser_impl
 
Done() - Method in interface org.webmacro.parser.CharStream
The lexer calls this function to indicate that it is done with the stream and hence implementations can free any resources held by this class.
Done() - Method in class org.webmacro.parser.ASCII_CharStream
 
Done() - Method in class org.webmacro.parser.BackupCharStream
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.webmacro.servlet.WMServlet
Behaves exactly like doGet() except that it reads data from POST before doing exactly the same thing.
DOT - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
DOUBLE - Static variable in class org.webmacro.util.CastUtil
 
DummyDirective - class org.webmacro.directive.DummyDirective.
 
DummyDirective() - Constructor for class org.webmacro.directive.DummyDirective
 
duration - Variable in class org.webmacro.profile.ProfileEvent
Milliseconds that this event lasted for

E

eatLeadingWsNl() - Method in class org.webmacro.parser.ParserBlockBuilder
 
eatOneWs() - Method in class org.webmacro.parser.ParserBlockBuilder
 
eatTrailingWs() - Method in class org.webmacro.parser.ParserBlockBuilder
 
eatTrailingWsNl() - Method in class org.webmacro.parser.ParserBlockBuilder
 
eatTrailingWsNlWs() - Method in class org.webmacro.parser.ParserBlockBuilder
 
EatWsNlIfNl(BlockBuilder) - Method in class org.webmacro.parser.WMParser_impl
 
EatWsNlOrSpace(BlockBuilder) - Method in class org.webmacro.parser.WMParser_impl
 
elementAt(int) - Method in class org.webmacro.engine.BlockBuilder
 
elements() - Method in class org.webmacro.util.DictionaryTool
Forward call to Dictionary
enable_tracing() - Method in class org.webmacro.parser.WMParser_impl
 
enablePostponeability(boolean) - Method in class org.opendoors.util.PostponeObservable
Enables postponeability if true.
encode(byte[]) - Static method in class org.webmacro.util.Base64
Get the base64 encoded version of a plain text byte array
encode(Encoder.Block) - Method in class org.webmacro.util.Encoder
Encodes the supplied block of strings using the encoding bound to this encoder at construct time.
encode(String) - Method in class org.webmacro.util.EncodingCache
 
encode(String) - Static method in class org.webmacro.util.Base64
Get the base64 encoded version of a plain text String
encode(String) - Method in class org.webmacro.util.Encoder
Encodes the supplied string using the encoding bound to this encoder at construct time.
encode(String[]) - Method in class org.webmacro.util.EncodingCache
 
encode(String[], int) - Method in class org.webmacro.util.EncodingCache
 
EncodeDirective - class org.webmacro.directive.EncodeDirective.
 
EncodeDirective() - Constructor for class org.webmacro.directive.EncodeDirective
 
EncodeFilter - class org.webmacro.engine.EncodeFilter.
 
EncodeFilter() - Constructor for class org.webmacro.engine.EncodeFilter
 
Encoder - class org.webmacro.util.Encoder.
An encoder is used to encode strings into a particular encoding in preparation for sending the data as part of a response.
Encoder.Block - class org.webmacro.util.Encoder.Block.
The block class provides a means by which encoder users can encode entire blocks of text at once (and have those encoded blocks cached).
Encoder.Block(String[]) - Constructor for class org.webmacro.util.Encoder.Block
 
Encoder(String) - Constructor for class org.webmacro.util.Encoder
Creates an encoder instance with the supplied encoding.
EncoderProvider - class org.webmacro.util.EncoderProvider.
A provider which dispenses Encoders, which are used for encoding Strings and caching the results.
EncoderProvider() - Constructor for class org.webmacro.util.EncoderProvider
 
EncodingCache - class org.webmacro.util.EncodingCache.
 
EncodingCache(String) - Constructor for class org.webmacro.util.EncodingCache
 
EncodingCache(String, int) - Constructor for class org.webmacro.util.EncodingCache
Create a new EncodingCache with space for buckets * length encoded strings.
END - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
endBlock() - Method in class org.webmacro.TemplateVisitor
 
endBlock() - Method in class org.webmacro.engine.TemplateDumper
 
endColumn - Variable in class org.webmacro.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endDirective() - Method in class org.webmacro.TemplateVisitor
 
endLine - Variable in class org.webmacro.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
ensureCapacity(int) - Method in class org.webmacro.util.SimpleStack
 
ensureCapacity(int) - Method in class org.webmacro.util.IntStack
 
ensureCapacity(int) - Method in class org.webmacro.util.ByteBufferOutputStream
Make sure the buffer contains space for len more bytes.
entrySet() - Method in class org.webmacro.Context
Method from Map interface, operates on underlying Map
EnumIterator - class org.webmacro.util.EnumIterator.
Allow a Java 1.1 enumeration to be used as a JDK 1.2 style Iterator
EnumIterator(Enumeration) - Constructor for class org.webmacro.util.EnumIterator
Construct an iterator given an enumeration
EOF - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
eol - Variable in class org.webmacro.parser.ParseException
The end of line string for this machine.
equals(Object) - Method in class org.webmacro.util.SharedObject
 
equals(Object) - Method in class org.webmacro.util.SharedReference
 
equals(Object) - Method in class org.webmacro.util.Encoder.Block
 
equals(Object) - Method in class org.webmacro.util.StringArray
Two arrays are equal if they have the same elements and are the same size.
ERROR - Static variable in class org.webmacro.util.LogSystem
 
error(String) - Method in interface org.webmacro.Log
A shortform for debug(msg,null)
error(String) - Method in class org.webmacro.util.LogSource
A shortform for error(msg,null)
error(String, Exception) - Method in interface org.webmacro.Log
An error is a major failure within the system.
error(String, Exception) - Method in class org.webmacro.util.LogSource
An error is a major failure within the system.
error(WebContext, String) - Method in class org.webmacro.servlet.WMServlet
Create an error template using the built in error handler.
errorString(String) - Method in class org.webmacro.engine.CrankyEvaluationExceptionHandler
 
errorString(String) - Method in class org.webmacro.engine.DefaultEvaluationExceptionHandler
 
errorString(String) - Method in interface org.webmacro.engine.EvaluationExceptionHandler
 
escape(String) - Static method in class org.webmacro.util.HTMLEscaper
This method will take the input and escape characters that have an HTML entity representation.
EscapeDirective - class org.webmacro.directive.EscapeDirective.
 
EscapeDirective() - Constructor for class org.webmacro.directive.EscapeDirective
 
EscapeFilter - class org.webmacro.engine.EscapeFilter.
Filter factory, that defines recursive behaviour and provides filter macro.
EscapeFilter() - Constructor for class org.webmacro.engine.EscapeFilter
 
eval() - Method in class org.webmacro.servlet.TemplateTool.MacroTemplate
Evaluates the macro's template against its context and returns the resulting string.
eval() - Method in class org.webmacro.util.WMEval
Deprecated.  
eval(Context) - Method in class org.webmacro.util.WMEval
Evaluate the context supplied against the current rule.
eval(Context, String, String, boolean, String) - Method in class org.webmacro.util.WMEval
Evaluates the context using a file template sending the output to a disk file.
eval(Context, Template) - Method in class org.webmacro.util.WMEval
Evaluate the supplied context and template and return the result as a as a string.
eval(Context, Template, OutputStream, String) - Method in class org.webmacro.util.WMEval
Evaluate the supplied context and template to the provided output.
eval(Object[]) - Method in class org.webmacro.servlet.TemplateTool.MacroTemplate
 
eval(Object[], Object[]) - Method in class org.webmacro.servlet.TemplateTool.MacroTemplate
 
EvalTemplates - class org.webmacro.tools.EvalTemplates.
EvalTemplates supports an ant task execution to evaluate a set of templates.
EvalTemplates() - Constructor for class org.webmacro.tools.EvalTemplates
 
evaluate(Context) - Method in interface org.webmacro.Macro
same as out but returns a String
evaluate(Context) - Method in class org.webmacro.directive.Directive
 
evaluate(Context) - Method in class org.webmacro.directive.TypeDirective
Ensure the class of the specified Variable reference isAssignableFrom from the classname arg.
evaluate(Context) - Method in class org.webmacro.engine.Expression.BinaryOperation
 
evaluate(Context) - Method in class org.webmacro.engine.Expression.UnaryOperation
 
evaluate(Context) - Method in class org.webmacro.engine.Expression.AndOperation
 
evaluate(Context) - Method in class org.webmacro.engine.Expression.OrOperation
 
evaluate(Context) - Method in class org.webmacro.engine.StringMacroAdapter
Returns the wrapped object, context is ignored.
evaluate(Context) - Method in class org.webmacro.engine.Variable
Looks in the hashTable (context) for a value keyed to this variables name and returns the value string.
evaluate(Context) - Method in class org.webmacro.engine.WMTemplate
Parse the Template against the supplied context data and return it as a string.
evaluate(Context) - Method in class org.webmacro.engine.VoidMacro
Returns null.
evaluate(Context) - Method in class org.webmacro.engine.MacroAdapter
Returns the wrapped object, context is ignored.
evaluate(Context) - Method in class org.webmacro.engine.Block
same as out but returns a String
evaluate(Variable, Context, Exception) - Method in class org.webmacro.engine.CrankyEvaluationExceptionHandler
 
evaluate(Variable, Context, Exception) - Method in class org.webmacro.engine.DefaultEvaluationExceptionHandler
 
evaluate(Variable, Context, Exception) - Method in interface org.webmacro.engine.EvaluationExceptionHandler
When an exception is detected in the process of evaluating a variable reference, this method is consulted.
EvaluationExceptionHandler - interface org.webmacro.engine.EvaluationExceptionHandler.
 
execute() - Method in class org.webmacro.tools.WMTemplateAntTask
 
execute(Template, WebContext) - Method in class org.webmacro.servlet.WMServlet
This method takes a populated context and a template and writes out the interpreted template to the context's output stream.
expand(Variable, Context, Exception) - Method in class org.webmacro.engine.CrankyEvaluationExceptionHandler
 
expand(Variable, Context, Exception) - Method in class org.webmacro.engine.DefaultEvaluationExceptionHandler
 
expand(Variable, Context, Exception) - Method in interface org.webmacro.engine.EvaluationExceptionHandler
When an exception is detected in the process of expanding (writing) a variable reference, this method is consulted.
expectedTokenSequences - Variable in class org.webmacro.parser.ParseException
Each entry in this array is an array of integers.
Expression - class org.webmacro.engine.Expression.
 
Expression.AddBuilder - class org.webmacro.engine.Expression.AddBuilder.
 
Expression.AddBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.AddBuilder
 
Expression.AddOperation - class org.webmacro.engine.Expression.AddOperation.
 
Expression.AddOperation(Object, Object) - Constructor for class org.webmacro.engine.Expression.AddOperation
 
Expression.AndBuilder - class org.webmacro.engine.Expression.AndBuilder.
 
Expression.AndBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.AndBuilder
 
Expression.AndOperation - class org.webmacro.engine.Expression.AndOperation.
 
Expression.AndOperation(Object, Object) - Constructor for class org.webmacro.engine.Expression.AndOperation
 
Expression.BinaryOperation - class org.webmacro.engine.Expression.BinaryOperation.
 
Expression.BinaryOperationBuilder - class org.webmacro.engine.Expression.BinaryOperationBuilder.
 
Expression.BinaryOperationBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.BinaryOperationBuilder
 
Expression.Compare - class org.webmacro.engine.Expression.Compare.
 
Expression.Compare(Object, Object) - Constructor for class org.webmacro.engine.Expression.Compare
 
Expression.CompareEq - class org.webmacro.engine.Expression.CompareEq.
 
Expression.CompareEq(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareEq
 
Expression.CompareEqBuilder - class org.webmacro.engine.Expression.CompareEqBuilder.
 
Expression.CompareEqBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareEqBuilder
 
Expression.CompareGe - class org.webmacro.engine.Expression.CompareGe.
 
Expression.CompareGe(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareGe
 
Expression.CompareGeBuilder - class org.webmacro.engine.Expression.CompareGeBuilder.
 
Expression.CompareGeBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareGeBuilder
 
Expression.CompareGt - class org.webmacro.engine.Expression.CompareGt.
 
Expression.CompareGt(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareGt
 
Expression.CompareGtBuilder - class org.webmacro.engine.Expression.CompareGtBuilder.
 
Expression.CompareGtBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareGtBuilder
 
Expression.CompareLe - class org.webmacro.engine.Expression.CompareLe.
 
Expression.CompareLe(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareLe
 
Expression.CompareLeBuilder - class org.webmacro.engine.Expression.CompareLeBuilder.
 
Expression.CompareLeBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareLeBuilder
 
Expression.CompareLt - class org.webmacro.engine.Expression.CompareLt.
 
Expression.CompareLt(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareLt
 
Expression.CompareLtBuilder - class org.webmacro.engine.Expression.CompareLtBuilder.
 
Expression.CompareLtBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareLtBuilder
 
Expression.CompareNe - class org.webmacro.engine.Expression.CompareNe.
 
Expression.CompareNe(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareNe
 
Expression.CompareNeBuilder - class org.webmacro.engine.Expression.CompareNeBuilder.
 
Expression.CompareNeBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.CompareNeBuilder
 
Expression.DivideBuilder - class org.webmacro.engine.Expression.DivideBuilder.
 
Expression.DivideBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.DivideBuilder
 
Expression.DivideOperation - class org.webmacro.engine.Expression.DivideOperation.
 
Expression.DivideOperation(Object, Object) - Constructor for class org.webmacro.engine.Expression.DivideOperation
 
Expression.ExpressionBase - class org.webmacro.engine.Expression.ExpressionBase.
 
Expression.ExpressionBase() - Constructor for class org.webmacro.engine.Expression.ExpressionBase
 
Expression.MultiplyBuilder - class org.webmacro.engine.Expression.MultiplyBuilder.
 
Expression.MultiplyBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.MultiplyBuilder
 
Expression.MultiplyOperation - class org.webmacro.engine.Expression.MultiplyOperation.
 
Expression.MultiplyOperation(Object, Object) - Constructor for class org.webmacro.engine.Expression.MultiplyOperation
 
Expression.NotBuilder - class org.webmacro.engine.Expression.NotBuilder.
 
Expression.NotBuilder(Object) - Constructor for class org.webmacro.engine.Expression.NotBuilder
 
Expression.NotOperation - class org.webmacro.engine.Expression.NotOperation.
 
Expression.NotOperation(Object) - Constructor for class org.webmacro.engine.Expression.NotOperation
 
Expression.OrBuilder - class org.webmacro.engine.Expression.OrBuilder.
 
Expression.OrBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.OrBuilder
 
Expression.OrOperation - class org.webmacro.engine.Expression.OrOperation.
 
Expression.OrOperation(Object, Object) - Constructor for class org.webmacro.engine.Expression.OrOperation
 
Expression.SubtractBuilder - class org.webmacro.engine.Expression.SubtractBuilder.
 
Expression.SubtractBuilder(Object, Object) - Constructor for class org.webmacro.engine.Expression.SubtractBuilder
 
Expression.SubtractOperation - class org.webmacro.engine.Expression.SubtractOperation.
 
Expression.SubtractOperation(Object, Object) - Constructor for class org.webmacro.engine.Expression.SubtractOperation
 
Expression.UnaryOperation - class org.webmacro.engine.Expression.UnaryOperation.
 
Expression.UnaryOperationBuilder - class org.webmacro.engine.Expression.UnaryOperationBuilder.
 
Expression.UnaryOperationBuilder(Object) - Constructor for class org.webmacro.engine.Expression.UnaryOperationBuilder
 
Expression() - Constructor for class org.webmacro.engine.Expression
 
Expression() - Method in class org.webmacro.parser.WMParser_impl
 

F

Factor() - Method in class org.webmacro.parser.WMParser_impl
 
FALSE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
FastWriter - class org.webmacro.FastWriter.
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.webmacro.FastWriter
Create a FastWriter to the target outputstream.
FastWriter(Broker, String) - Constructor for class org.webmacro.FastWriter
Create a new FastWriter with no output stream target.
filesets - Variable in class org.webmacro.tools.WMTemplateAntTask
 
FileTemplate - class org.webmacro.engine.FileTemplate.
FileTemplate objects read their template data from a text file.
FileTemplate(Broker, File) - Constructor for class org.webmacro.engine.FileTemplate
Instantiate a template based on the specified file using the default encoding from WebMacro.properties (TemplateEncoding), if not specified there then the UTF-8 encoding.
FileTemplate(Broker, File, String) - Constructor for class org.webmacro.engine.FileTemplate
Instantiate a template based on the specified file using the specified encoding to read the template.
FileTemplate(Broker, String) - Constructor for class org.webmacro.engine.FileTemplate
Instantiate a template based on the specified filename using the default encoding from WebMacro.properties (TemplateEncoding), or if not specified there then the UTF-8 encoding.
Filter - interface org.webmacro.Filter.
A Filter is a factory which returns a Macro which filters another Macro.
FilterTool - interface org.webmacro.FilterTool.
A FilterTool is a factory which returns a Filter.
finalize() - Method in class org.webmacro.WM
You should never call this method, on any object.
findBroker(Object) - Static method in class org.webmacro.Broker
Find the broker for the specified partition key, if one is registered.
Flags - class org.webmacro.Flags.
This class contains some static final settings which control the behavior of WebMacro at runtime.
FLOAT - Static variable in class org.webmacro.util.CastUtil
 
flush() - Method in interface org.webmacro.Provider
Clear any cache this provider may be maintaining
flush() - Method in class org.webmacro.FastWriter
Flush all data out to the OutputStream, if any, clearing the internal buffers.
flush() - Method in class org.webmacro.directive.DirectiveProvider
 
flush() - Method in class org.webmacro.engine.ParserProvider
 
flush() - Method in class org.webmacro.resource.TrivialCacheManager
 
flush() - Method in interface org.webmacro.resource.CacheManager
Same as defined in Provider
flush() - Method in class org.webmacro.resource.StaticSMapCacheManager
Clear the cache.
flush() - Method in class org.webmacro.resource.StaticIdentityCacheManager
Clear the cache.
flush() - Method in class org.webmacro.resource.CachingProvider
Clear the cache.
flush() - Method in class org.webmacro.resource.HMapCacheManager
Clear the cache.
flush() - Method in class org.webmacro.resource.ConfigProvider
 
flush() - Method in class org.webmacro.resource.SMapCacheManager
Clear the cache.
flush() - Method in class org.webmacro.resource.GenerationalCacheManager
 
flush() - Method in class org.webmacro.servlet.ServletLog
 
flush() - Method in class org.webmacro.util.QueueWriter
Does nothing
flush() - Method in interface org.webmacro.util.LogTarget
Flush the log.
flush() - Method in class org.webmacro.util.EncoderProvider
Clear any cache this provider may be maintaining.
flush() - Method in class org.webmacro.util.LogSystem
Flush all of the LogTarget objects in the system
flush() - Method in class org.webmacro.util.LogFile
 
flushAll() - Static method in class org.webmacro.util.LogSystem
Flush all log systems
fname - Variable in class org.webmacro.engine.TestObject
 
ForeachDirective - class org.webmacro.directive.ForeachDirective.
 
ForeachDirective() - Constructor for class org.webmacro.directive.ForeachDirective
 
Form - class org.webmacro.servlet.Form.
Provide access to form variables
format() - Method in class org.webmacro.profile.CallGraph
 
format(StringBuffer, int) - Method in class org.webmacro.profile.CallGraph
 
formatDate(Date, String) - Static method in class org.webmacro.servlet.TextTool
Format a java.util.Date object using the specified date format string.
FormList - class org.webmacro.servlet.FormList.
Provide access to form variables
FormListTool - class org.webmacro.servlet.FormListTool.
Provide Template with access to form data.
FormListTool() - Constructor for class org.webmacro.servlet.FormListTool
 
FormTool - class org.webmacro.servlet.FormTool.
Provide Template with access to form data.
FormTool() - Constructor for class org.webmacro.servlet.FormTool
 
fromFile(String) - Method in class org.webmacro.servlet.TemplateTool.MacroTemplateFactory
Creates a MacroTemplate from a file reference with a new context.
fromString(String) - Method in class org.webmacro.servlet.TemplateTool.MacroTemplateFactory
Creates a MacroTemplate from a string with a new context.

G

generateParseException() - Method in class org.webmacro.parser.WMParser_impl
 
GenerationalCacheManager - class org.webmacro.resource.GenerationalCacheManager.
The GenerationalCacheManager implements the CacheManager interface for WebMacro providers which extend the CachingProvider base class.
GenerationalCacheManager() - Constructor for class org.webmacro.resource.GenerationalCacheManager
 
get() - Method in class org.webmacro.engine.StaticClassWrapper
 
get() - Method in class org.webmacro.util.SharedObject
This method must be called by only a single thread.
get() - Method in interface org.webmacro.util.Pool
Get an item from the pool
get() - Method in class org.webmacro.util.SharedReference
This method must be called by only a single thread.
get() - Method in class org.webmacro.util.UPool
Get an item from the pool
get() - Method in class org.webmacro.util.ScalablePool
Get an item from the pool
get(int) - Method in class org.webmacro.util.Atomizer
Get the Object matching this atom
get(int) - Method in class org.webmacro.util.IntMap
 
get(Object) - Method in interface org.opendoors.cache.Cache
Gets a value from the cache.
get(Object) - Method in class org.opendoors.cache.immutable.CacheImpl
Gets a value from the immutable cache.
get(Object) - Method in class org.webmacro.Context
Get the named object/property from the Context; returns null if not found.
get(Object) - Method in class org.webmacro.resource.TrivialCacheManager
 
get(Object) - Method in interface org.webmacro.resource.CacheManager
Called to get a resource from the cache.
get(Object) - Method in class org.webmacro.resource.StaticSMapCacheManager
Get the object associated with the specific query, trying to look it up in a cache.
get(Object) - Method in class org.webmacro.resource.StaticIdentityCacheManager
 
get(Object) - Method in class org.webmacro.resource.HMapCacheManager
Get the object associated with the specific query, trying to look it up in a cache.
get(Object) - Method in class org.webmacro.resource.SMapCacheManager
Get the object associated with the specific query, trying to look it up in a cache.
get(Object) - Method in class org.webmacro.resource.GenerationalCacheManager
Get the object associated with the specific query, trying to look it up in a cache.
get(Object) - Method in class org.webmacro.util.DictionaryTool
Forward call to Dictionary
get(Object) - Method in class org.webmacro.util.AbstractScalableMap
 
get(Object) - Method in interface org.webmacro.util.SimpleMap
Get the value of 'key' back.
get(Object) - Method in class org.webmacro.util.SimpleHashMap
Get the value of 'key' back.
get(Object) - Method in class org.webmacro.util.SimpleIdentityMap
Get the value of 'key' back.
get(Object) - Method in class org.webmacro.util.ComponentMap
 
get(Object, ResourceLoader) - Method in class org.webmacro.resource.TrivialCacheManager
 
get(Object, ResourceLoader) - Method in interface org.webmacro.resource.CacheManager
Called to get a resource from the cache.
get(Object, ResourceLoader) - Method in class org.webmacro.resource.StaticSMapCacheManager
Get the object associated with the specific query, first trying to look it up in a cache.
get(Object, ResourceLoader) - Method in class org.webmacro.resource.StaticIdentityCacheManager
Get the object associated with the specific query, first trying to look it up in a cache.
get(Object, ResourceLoader) - Method in class org.webmacro.resource.HMapCacheManager
Get the object associated with the specific query, first trying to look it up in a cache.
get(Object, ResourceLoader) - Method in class org.webmacro.resource.SMapCacheManager
Get the object associated with the specific query, first trying to look it up in a cache.
get(Object, ResourceLoader) - Method in class org.webmacro.resource.GenerationalCacheManager
Get the cached value and load it if it is not present or reloading is required.
get(String) - Method in interface org.webmacro.Provider
Get the object associated with the specified query
get(String) - Method in class org.webmacro.directive.DirectiveProvider
 
get(String) - Method in class org.webmacro.engine.ParserProvider
 
get(String) - Method in class org.webmacro.resource.CachingProvider
Get the object associated with the specific query, using the specified cache manager.
get(String) - Method in class org.webmacro.resource.ConfigProvider
 
get(String) - Method in class org.webmacro.servlet.FormList
Get a form value
get(String) - Method in class org.webmacro.servlet.Form
Get a form value
get(String) - Method in class org.webmacro.servlet.LocaleTool
access method used by $Locale.xxxxx => LocaleTool.get("xxxxx")
get(String) - Method in class org.webmacro.servlet.CookieJar
Get a form value
get(String) - Method in class org.webmacro.util.EncoderProvider
Get the object associated with the specified query.
get(String) - Method in interface org.webmacro.util.Bag
Get an item from the bag
get(String, String) - Method in class org.webmacro.Broker
Look up query against a provider using its integer type handle.
getArg(int) - Method in class org.webmacro.directive.DirectiveBuilder
Retrieve the argument whose id is the specified id.
getArg(int) - Method in class org.webmacro.directive.ArgsHolder
Retrieve the argument whose id is the specified id.
getArg(int) - Method in interface org.webmacro.directive.DirectiveArgs
 
getArg(int, BuildContext) - Method in class org.webmacro.directive.DirectiveBuilder
Retrieve the argument whose id is the specified id, and if it is a Builder, build it with the specified build context.
getArg(int, BuildContext) - Method in class org.webmacro.directive.ArgsHolder
Retrieve the argument whose id is the specified id, and if it is a Builder, build it with the specified build context.
getArg(int, BuildContext) - Method in interface org.webmacro.directive.DirectiveArgs
 
getArgs() - Method in class org.webmacro.servlet.TemplateTool.MacroTemplate
Exposes the context of the current MacroTemplate.
getArguments(Context) - Method in class org.webmacro.util.PropertyMethod
Return the arguments for this method, after resolving them against the supplied context.
getAsciiHack() - Method in class org.webmacro.FastWriter
Returns true if we are mangling the unicode conversion in an attempt to eek out a bit of extra efficiency.
getAsProperties() - Method in class org.webmacro.util.Settings
Get the values from this settings object as a properties
getAUTH_TYPE() - Method in class org.webmacro.servlet.CGI_Impersonator
Type of authorization for this request
getBeginColumn() - Method in interface org.webmacro.parser.CharStream
Returns the column number of the first character for current token (being matched after the last call to BeginTOken).
getBeginColumn() - Method in class org.webmacro.parser.ASCII_CharStream
 
getBeginColumn() - Method in class org.webmacro.parser.BackupCharStream
 
getBeginLine() - Method in interface org.webmacro.parser.CharStream
Returns the line number of the first character for current token (being matched after the last call to BeginTOken).
getBeginLine() - Method in class org.webmacro.parser.ASCII_CharStream
 
getBeginLine() - Method in class org.webmacro.parser.BackupCharStream
 
getBlockIterator() - Method in class org.webmacro.engine.Block
 
getBooleanSetting(String) - Method in class org.webmacro.Broker
Access to the settings in WebMacro.properties
getBooleanSetting(String) - Method in class org.webmacro.util.Settings
Get a setting and convert it to a boolean.
getBooleanSetting(String, boolean) - Method in class org.webmacro.util.Settings
Get a setting with a default value in case it is not set
getBroker() - Static method in class org.webmacro.Broker
 
getBroker() - Method in class org.webmacro.WM
This object is used to access components that have been plugged into WebMacro; it is shared between all instances of this class and its subclasses.
getBroker() - Method in class org.webmacro.Context
Get the instance of the Broker for this request
getBroker() - Method in interface org.webmacro.WebMacro
This object is used to access components that have been plugged into WebMacro; it is shared between all instances of this class and its subclasses.
getBroker() - Method in class org.webmacro.servlet.WMServlet
This object is used to access components that have been plugged into WebMacro; it is shared between all instances of this class and its subclasses.
getBroker(Servlet) - Static method in class org.webmacro.servlet.ServletBroker
 
getBroker(Servlet) - Static method in class org.webmacro.servlet.Servlet20Broker
 
getBroker(Servlet) - Static method in class org.webmacro.servlet.Servlet22Broker
 
getBroker(String) - Static method in class org.webmacro.Broker
 
getBrokerLocal(Object) - Method in class org.webmacro.Broker
Get a value that was previously stored in this Broker.
getBuffer() - Method in class org.webmacro.util.ByteBufferOutputStream
Get the bytes in the buffer.
getBytes() - Method in class org.webmacro.util.ByteBufferOutputStream
Allocate a new byte[] and fill it with the contents of the current byte buffer.
getCalls() - Method in class org.webmacro.profile.CallGraph
 
getCategory() - Method in class org.webmacro.util.LogSource
The category for this log source, as it woudl print in the log.
getCaught() - Method in class org.webmacro.RethrowableException
allow access to underlying exception
getCaught() - Method in class org.webmacro.RethrowableRuntimeException
allow access to underlying exception
getCGI() - Method in class org.webmacro.servlet.WebContext
Get the CGI Tool
getChildren() - Method in class org.webmacro.profile.CallGraph
 
getClasspath() - Method in class org.webmacro.tools.WMTemplateAntTask
 
getColNo() - Method in interface org.webmacro.engine.BlockBuilder.BlockIterator
 
getColNo() - Method in class org.webmacro.engine.BlockBuilder.BBIterator
 
getColNo(int) - Method in class org.webmacro.engine.Block
 
getColumn() - Method in interface org.webmacro.parser.CharStream
Deprecated.  
getColumn() - Method in class org.webmacro.parser.ASCII_CharStream
Deprecated.  
getColumn() - Method in class org.webmacro.parser.BackupCharStream
Deprecated.  
getConfig(String) - Method in class org.webmacro.WM
Retrieve configuration information from the "config" provider.
getConfig(String) - Method in interface org.webmacro.WebMacro
Retrieve configuration information from the "config" provider.
getConfig(String) - Method in class org.webmacro.servlet.WMServlet
Retrieve configuration information from the "config" provider.
getConfig(String, String) - Method in class org.webmacro.servlet.WMServlet
Retrieve configuration information from the "config" provider.
getCONTENT_LENGTH() - Method in class org.webmacro.servlet.CGI_Impersonator
Get the content length submitted to this request
getCONTENT_TYPE() - Method in class org.webmacro.servlet.CGI_Impersonator
Get the content type submitted to this request
getContext() - Method in class org.webmacro.WM
Instantiate a new context from a pool.
getContext() - Method in interface org.webmacro.WebMacro
Create a new Context.
getContext() - Method in class org.webmacro.servlet.WMServlet
Create a new Context object
getCookie(String) - Method in class org.webmacro.servlet.WebContext
get a cookie from the request
getCurrentContext() - Method in class org.webmacro.util.WMEval
Gets the current context.
getCurrentLocation() - Method in class org.webmacro.Context
 
getDate() - Static method in class org.webmacro.util.Clock
The current date.
getDefault() - Method in class org.webmacro.servlet.LocaleTool
return the default locale for this JVM
getDefaultEncoding() - Method in class org.webmacro.engine.WMTemplate
return the default encoding either from the WebMacro config or the JVM settings Note for Unix users: you may need to set the environmental variable LC_ALL=[locale] to get the default one set up.
getDescription() - Method in class org.webmacro.util.LogSource
Get a description of this log source: what kind of messages does it contain? This can be a sentence or so of information about what kind of messages this log represents.
getDescriptor() - Static method in class org.webmacro.directive.ForeachDirective
 
getDescriptor() - Static method in class org.webmacro.directive.PropertyDirective
 
getDescriptor() - Static method in class org.webmacro.directive.EscapeDirective
 
getDescriptor() - Static method in class org.webmacro.directive.SetblockDirective
 
getDescriptor() - Static method in class org.webmacro.directive.ParamDirective
 
getDescriptor() - Static method in class org.webmacro.directive.AttributeDirective
 
getDescriptor() - Static method in class org.webmacro.directive.SilenceDirective
 
getDescriptor() - Static method in class org.webmacro.directive.TextDirective
 
getDescriptor() - Static method in class org.webmacro.directive.IncludeDirective
 
getDescriptor() - Static method in class org.webmacro.directive.DefaultDirective
 
getDescriptor() - Static method in class org.webmacro.directive.SetDirective
 
getDescriptor() - Static method in class org.webmacro.directive.BeanDirective
 
getDescriptor() - Static method in class org.webmacro.directive.EncodeDirective
 
getDescriptor() - Static method in class org.webmacro.directive.ProfileDirective
 
getDescriptor() - Static method in class org.webmacro.directive.CommentDirective
 
getDescriptor() - Static method in class org.webmacro.directive.AlternateDirective
 
getDescriptor() - Static method in class org.webmacro.directive.DummyDirective
 
getDescriptor() - Static method in class org.webmacro.directive.GlobalDirective
 
getDescriptor() - Static method in class org.webmacro.directive.TypeDirective
static method required by the WebMacro parser to provide a descriptor about this directive
getDescriptor(String) - Method in class org.webmacro.directive.DirectiveProvider
Create a builder for the named directive
getDOCUMENT_ROOT() - Method in class org.webmacro.servlet.CGI_Impersonator
What is the root of documents served by this servlet WARNING: the method called (getRealPath) is deprecated in Servlet 2.2
getEncoder() - Method in class org.webmacro.FastWriter
Get the encoder used by this FastWriter to transform char[] data into byte[] data.
getEncoding() - Method in class org.webmacro.FastWriter
Get the character encoding this FastWriter uses to convert characters to byte[]
getEncodingName() - Method in class org.webmacro.util.EncodingCache
 
getEndColumn() - Method in interface org.webmacro.parser.CharStream
Returns the column number of the last character for current token (being matched after the last call to BeginTOken).
getEndColumn() - Method in class org.webmacro.parser.ASCII_CharStream
 
getEndColumn() - Method in class org.webmacro.parser.BackupCharStream
 
getEndLine() - Method in interface org.webmacro.parser.CharStream
Returns the line number of the last character for current token (being matched after the last call to BeginTOken).
getEndLine() - Method in class org.webmacro.parser.ASCII_CharStream
 
getEndLine() - Method in class org.webmacro.parser.BackupCharStream
 
getEvaluationExceptionHandler() - Method in class org.webmacro.Broker
Get the EvaluationExceptionHandler
getEvaluationExceptionHandler() - Method in class org.webmacro.Context
Get the EvaluationExceptionHandler
getEvents() - Method in class org.webmacro.profile.Profile
Retrieve a list of the events in this profile.
getFastWriter(OutputStream, String) - Method in class org.webmacro.Broker
Retrieve a FastWriter from WebMacro's internal pool of FastWriters.
getFastWriter(OutputStream, String) - Method in class org.webmacro.WM
Retrieve a FastWriter from WebMacro's internal pool of FastWriters.
getFastWriter(OutputStream, String) - Method in interface org.webmacro.WebMacro
Retrieve a FastWriter from WebMacro's internal pool of FastWriters.
getFastWriter(OutputStream, String) - Method in class org.webmacro.servlet.WMServlet
Retrieve a FastWriter from WebMacro's internal pool of FastWriters.
getFile(Broker, String) - Method in class org.webmacro.directive.IncludeDirective
get the contents of a file (local file or url) via the "url" provider known by the specified broker.
getFilter(Macro) - Method in interface org.webmacro.FilterTool
Instantiate a new filter.
getFilter(String) - Method in interface org.webmacro.Filter
Return the Filter which should be used to handle a sub-property.
getFilter(String) - Method in class org.webmacro.engine.EncodeFilter
 
getFilter(String) - Method in class org.webmacro.engine.EscapeFilter
Return this to indicate that we will recursively filter sub-properties.
getFilter(String) - Method in class org.webmacro.engine.SilenceFilter
 
getFilterMacro(Variable) - Method in class org.webmacro.engine.BuildContext
Get the filter that applies to a specific variable.
getFilterTool(String) - Method in interface org.webmacro.FilterTool
Return the FilterTool which should be used to handle a sub-property.
getForm(String) - Method in class org.webmacro.servlet.WebContext
Get the value of a form variable from the request
getFormList(String) - Method in class org.webmacro.servlet.WebContext
Get the value of a form variable from the request as an array
getHTTP_ACCEPT() - Method in class org.webmacro.servlet.CGI_Impersonator
What type of data is accepted by the client
getHTTP_REFERER() - Method in class org.webmacro.servlet.CGI_Impersonator
Get the URL that the request claims to have visited prior to this one
getHTTP_USER_AGENT() - Method in class org.webmacro.servlet.CGI_Impersonator
Get the user agent (browser) connected to this request
GetImage() - Method in interface org.webmacro.parser.CharStream
Returns a string made up of characters from the marked token beginning to the current buffer position.
GetImage() - Method in class org.webmacro.parser.ASCII_CharStream
 
GetImage() - Method in class org.webmacro.parser.BackupCharStream
 
getInstance() - Static method in class org.webmacro.profile.ProfileSystem
 
getInstance() - Static method in class org.webmacro.servlet.MathTool
 
getInstance() - Static method in class org.webmacro.servlet.TextTool
 
getInstance() - Static method in class org.webmacro.servlet.ListUtil
 
getInstance() - Static method in class org.webmacro.util.LogTargetFactory
return the only instance of this LogTargetFactory
getInstance() - Static method in class org.webmacro.util.CastUtil
 
getInstance() - Static method in class org.webmacro.util.LogSystem
Get the global, system-wide, default log system
getInstance(Broker) - Static method in class org.webmacro.FastWriter
Return a FastWriter with default encoding and no output stream.
getInstance(Broker, OutputStream, String) - Static method in class org.webmacro.FastWriter
Get a new FastWriter.
getInstance(Broker, String) - Static method in class org.webmacro.FastWriter
Return a FastWriter with the specified encoding and no output stream.
getInstance(String) - Static method in class org.webmacro.util.EncodingCache
 
getInstance(String) - Static method in class org.webmacro.util.LogSystem
Return the log-system with the specified category
getIntegerSetting(String) - Method in class org.webmacro.Broker
Access to the settings in WebMacro.properties
getIntegerSetting(String) - Method in class org.webmacro.util.Settings
Get a setting and convert it to an int
getIntegerSetting(String, int) - Method in class org.webmacro.Broker
Access to the settings in WebMacro.properties
getIntegerSetting(String, int) - Method in class org.webmacro.util.Settings
Get a setting with a default value in case it is not set
getIsValid() - Method in class org.webmacro.engine.TestObject
 
getItem(List, int) - Static method in class org.webmacro.servlet.ListUtil
Allows access to elements in a List by position.
getItem(Object[], int) - Static method in class org.webmacro.servlet.ListUtil
Allows access to elements in an array by position.
getItem(Object, int) - Static method in class org.webmacro.servlet.ListUtil
Allows access to elements in a array of primitives by position.
getIterator(Object) - Method in class org.webmacro.engine.PropertyOperatorCache
Evaluate the supplied object and work out a way to return it as an iterator.
getKeys() - Method in class org.webmacro.util.Settings
Get the keys for this settings object as an array
getKeys() - Method in class org.webmacro.util.SubSettings
 
getLevel(String) - Static method in class org.webmacro.util.LogSystem
Convert a string like "DEBUG" into a level number.
getLine() - Method in interface org.webmacro.parser.CharStream
Deprecated.  
getLine() - Method in class org.webmacro.parser.ASCII_CharStream
Deprecated.  
getLine() - Method in class org.webmacro.parser.BackupCharStream
Deprecated.  
getLineNo() - Method in interface org.webmacro.engine.BlockBuilder.BlockIterator
 
getLineNo() - Method in class org.webmacro.engine.BlockBuilder.BBIterator
 
getLineNo(int) - Method in class org.webmacro.engine.Block
 
getLines(String) - Static method in class org.webmacro.servlet.TextTool
converts a block of text into an array of strings by tokenizing using \r\n as the delimiter If no \r\n, it will look for \n or \r and use them instead.
getList(String) - Method in class org.webmacro.servlet.Form
Get a form value as an array
getLocale(String) - Method in class org.webmacro.servlet.LocaleTool
wrappers around the 3 constructors for Locale
getLocale(String, String) - Method in class org.webmacro.servlet.LocaleTool
 
getLocale(String, String, String) - Method in class org.webmacro.servlet.LocaleTool
 
getLog(String) - Method in class org.webmacro.Broker
Shortcut: create a new log using the type as the description
getLog(String) - Method in class org.webmacro.WM
Get a log using the type as the description
getLog(String) - Method in class org.webmacro.Context
Get a log instance that can be used to write log messages into the log under the supplied log type.
getLog(String) - Method in interface org.webmacro.WebMacro
Get a log using the type as the description
getLog(String) - Method in class org.webmacro.servlet.WMServlet
Get a Log object which can be used to write to the log file.
getLog(String) - Method in class org.webmacro.util.LogSystem
Get an instance of a Log object for the specified type.
getLog(String, String) - Method in class org.webmacro.Broker
Get a log: the behavior of this log depends on the configuration of the broker.
getLog(String, String) - Method in class org.webmacro.WM
Get a log to write information to.
getLog(String, String) - Method in class org.webmacro.Context
Get a log instance that can be used to write log messages into the log under the supplied log type.
getLog(String, String) - Method in interface org.webmacro.WebMacro
Get a log to write information to.
getLog(String, String) - Method in class org.webmacro.servlet.WMServlet
Get a Log object which can be used to write to the log file.
getLog(String, String) - Method in class org.webmacro.util.LogSystem
Get the Log object within this LogSystem that has the specified Log type.
getMacro(Macro) - Method in interface org.webmacro.Filter
Instantiate a new filter.
getMacro(Macro) - Method in class org.webmacro.engine.EncodeFilter
 
getMacro(Macro) - Method in class org.webmacro.engine.EscapeFilter
Return a macro for filtering.
getMacro(Macro) - Method in class org.webmacro.engine.SilenceFilter
 
getMainClass() - Method in class org.webmacro.tools.WMTemplateAntTask
Subclasses should override this to supply their own template execution vehicle.
getMainClass() - Method in class org.webmacro.tools.TemplateEvalAntTask
 
getMap() - Method in class org.webmacro.Context
Get the underlying Map object.
getMessage() - Method in class org.webmacro.parser.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in class org.webmacro.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMetrics() - Method in class org.opendoors.cache.immutable.CacheImpl
Returns the metrics in the following order:
getMetrics() - Method in class org.webmacro.resource.GenerationalCacheManager
Returns cache instrumentation statistics.
getName() - Method in class org.opendoors.util.Timer
Gets the name of the timer.
getName() - Method in class org.webmacro.Broker
 
getName() - Method in interface org.webmacro.Template
 
getName() - Method in class org.webmacro.directive.DirectiveBuilder
Get the name this directive was registered as
getName() - Method in class org.webmacro.engine.Expression.BinaryOperation
 
getName() - Method in class org.webmacro.engine.Expression.UnaryOperation
 
getName() - Method in class org.webmacro.engine.Expression.NotOperation
 
getName() - Method in class org.webmacro.engine.Expression.AddOperation
 
getName() - Method in class org.webmacro.engine.Expression.SubtractOperation
 
getName() - Method in class org.webmacro.engine.Expression.MultiplyOperation
 
getName() - Method in class org.webmacro.engine.Expression.DivideOperation
 
getName() - Method in class org.webmacro.engine.Expression.CompareEq
 
getName() - Method in class org.webmacro.engine.Expression.CompareNe
 
getName() - Method in class org.webmacro.engine.Expression.CompareLe
 
getName() - Method in class org.webmacro.engine.Expression.CompareLt
 
getName() - Method in class org.webmacro.engine.Expression.CompareGe
 
getName() - Method in class org.webmacro.engine.Expression.CompareGt
 
getName() - Method in class org.webmacro.engine.Variable
Like getPropertyNames, but only works if isSimpleName is true
getName() - Method in class org.webmacro.engine.TestObject
 
getName() - Method in class org.webmacro.engine.Argument
Return the action code for this predicate
getName() - Method in class org.webmacro.engine.WMTemplate
Return a name for this template.
getName() - Method in class org.webmacro.engine.FileTemplate
 
getName() - Method in class org.webmacro.engine.StreamTemplate
 
getName() - Method in class org.webmacro.engine.StringTemplate
 
getName() - Method in class org.webmacro.profile.CallGraph
 
getName() - Method in class org.webmacro.profile.ProfileCategory
 
getName() - Method in class org.webmacro.util.PropertyMethod
Return the name of this PropertyMethod
getName() - Method in interface org.webmacro.util.Named
 
getNewContext() - Method in class org.webmacro.util.WMEval
Provides for a new context to be established.
getNextToken() - Method in class org.webmacro.parser.WMParser_implTokenManager
 
getNextToken() - Method in class org.webmacro.parser.WMParser_impl
 
getOperator(Class) - Method in class org.webmacro.engine.PropertyOperatorCache
 
getOperator(Object) - Method in class org.webmacro.engine.PropertyOperatorCache
 
getOutputStream() - Method in class org.webmacro.FastWriter
Get the output stream this FastWriter sends output to.
getParam(String) - Method in interface org.webmacro.Template
A template may contain parameters, set by the #param directive.
getParam(String) - Method in class org.webmacro.engine.WMTemplate
Template API
getParameters() - Method in interface org.webmacro.Template
 
getParameters() - Method in class org.webmacro.engine.WMTemplate
 
getParser() - Method in class org.webmacro.engine.WMTemplate
Subclasses can override this if they wish to invoke a parser other than the WM parser, or choose the parser on some more complicated condition.
getParser(String) - Method in class org.webmacro.engine.BuildContext
 
getParser(String) - Method in class org.webmacro.engine.ParserProvider
 
getParserName() - Method in class org.webmacro.parser.WMParser
Return a short name that identifies this parser.
getPATH_INFO() - Method in class org.webmacro.servlet.CGI_Impersonator
What portion of the URL appeared as additional path beyond the SCRIPT_NAME portion? Return that as a string.
getPATH_TRANSLATED() - Method in class org.webmacro.servlet.CGI_Impersonator
Same as PATH_INFO but translated to a real path
getPeriod() - Method in class org.opendoors.util.Timer
Gets the period between timer events.
getPool() - Method in class org.webmacro.Context
 
getProfileCategories() - Method in class org.webmacro.profile.ProfileSystem
Return an array of the ProfileCategory objects that are being managed.
getProfiles() - Method in class org.webmacro.profile.ProfileCategory
Get the current Profiles
getProperty(Context, Object, Object[]) - Method in class org.webmacro.engine.PropertyOperatorCache
Calls getProperty(context, instance, names, 0)
getProperty(Context, Object, Object[], int) - Method in class org.webmacro.engine.PropertyOperatorCache
Attempt to retrieve a property using the rules of property introspection described above.
getProperty(Object) - Method in class org.webmacro.Context
Same as get(name) but can be overridden by subclasses to do something different
getProperty(Object[]) - Method in class org.webmacro.Context
Same as get(Object names[]) but can be overridden by subclasses to behave differently
getPropertyNames() - Method in class org.webmacro.engine.Variable
 
getProvider(String) - Method in class org.webmacro.Broker
Get a provider
getQUERY_STRING() - Method in class org.webmacro.servlet.CGI_Impersonator
In a GET request, return the query string that was submitted, if any
getReader() - Method in class org.webmacro.engine.WMTemplate
Get the stream the template should be read from.
getReader() - Method in class org.webmacro.engine.FileTemplate
Get the stream the template should be read from.
getReader() - Method in class org.webmacro.engine.StreamTemplate
Get the stream the template should be read from.
getReader() - Method in class org.webmacro.engine.StringTemplate
Get the stream the template should be read from.
getReader() - Method in class org.webmacro.resource.URLTemplate
Get the stream the template should be read from.
getREMOTE_ADDR() - Method in class org.webmacro.servlet.CGI_Impersonator
Return the remove address connected to this servlet
getREMOTE_HOST() - Method in class org.webmacro.servlet.CGI_Impersonator
Return the remote host connected to this request
getREMOTE_USER() - Method in class org.webmacro.servlet.CGI_Impersonator
Name of the remote user if it was supplied with the HTTP request
getRepeatingSubdirective(int) - Method in class org.webmacro.directive.DirectiveBuilder
Retrieves an array of ArgsHolders for the associated subdirective so that the subdirective arguments can be retrieved.
getREQUEST_METHOD() - Method in class org.webmacro.servlet.CGI_Impersonator
Return what type of REQUEST this was: GET, POST, etc.
getRequest() - Method in class org.webmacro.servlet.WebContext
The HttpServletRequest object which contains information provided by the HttpServlet superclass about the Request.
getResource(String) - Method in class org.webmacro.Broker
Get a resource (file) from the the Broker's class loader.
getResource(String) - Method in class org.webmacro.servlet.Servlet20Broker
Get a resource (file) from the the Broker's class loader
getResource(String) - Method in class org.webmacro.servlet.Servlet22Broker
Get a resource (file) from the the Broker's class loader
getResourceAsStream(String) - Method in class org.webmacro.Broker
Get a resource (file) from the Broker's class loader
getResourceAsStream(String) - Method in class org.webmacro.servlet.Servlet20Broker
Get a resource (file) from the Broker's class loader
getResourceAsStream(String) - Method in class org.webmacro.servlet.Servlet22Broker
Get a resource (file) from the Broker's class loader
getResourceType() - Method in class org.webmacro.resource.GenerationalCacheManager
Returns the wm type of resource it is caching.
getResponse() - Method in class org.webmacro.servlet.WebContext
The HttpServletResponse object which contains information about the response we are going to send back.
getRule() - Method in class org.webmacro.util.WMEval
Obtain the parsed rule possibly for reuse in another run.
getSCRIPT_NAME() - Method in class org.webmacro.servlet.CGI_Impersonator
What portion of the URL represented the servlet being run? Return that as a string.
getSelected() - Method in class org.webmacro.util.SelectList
 
getSERVER_NAME() - Method in class org.webmacro.servlet.CGI_Impersonator
Return the name of the server
getSERVER_PORT() - Method in class org.webmacro.servlet.CGI_Impersonator
Return the server port
getSERVER_PROTOCOL() - Method in class org.webmacro.servlet.CGI_Impersonator
Return the server protocol
getSession() - Method in class org.webmacro.servlet.WebContext
get the session object
getSetting(String) - Method in class org.webmacro.Broker
Access to the settings in WebMacro.properties
getSetting(String) - Method in class org.webmacro.util.Settings
Get a setting.
getSetting(String) - Method in class org.webmacro.util.SubSettings
Get a setting
getSetting(String, String) - Method in class org.webmacro.util.Settings
Get a setting with a default value in case it is not set
getSettings() - Method in class org.webmacro.Broker
Access to the settings in WebMacro.properties
getSubdirective(int) - Method in class org.webmacro.directive.DirectiveBuilder
Retrieves the ArgsHolder for the associated subdirective so that the subdirective arguments can be retrieved.
getSubdirectiveCount(int) - Method in class org.webmacro.directive.DirectiveBuilder
Find out how many subdirectives of the specified id were present.
GetSuffix(int) - Method in interface org.webmacro.parser.CharStream
Returns an array of characters that make up the suffix of length 'len' for the currently matched token.
GetSuffix(int) - Method in class org.webmacro.parser.ASCII_CharStream
 
GetSuffix(int) - Method in class org.webmacro.parser.BackupCharStream
 
getSystemLog(String) - Static method in class org.webmacro.util.LogSystem
Get a system-wide log
getSystemLog(String, String) - Static method in class org.webmacro.util.LogSystem
Get a system log, providing it with a description of itself
getTemplate(Broker, String) - Method in class org.webmacro.directive.IncludeDirective
get a Template via the "template" provider known by the specified broker
getTemplate(String) - Method in class org.webmacro.WM
Retrieve a template from the "template" provider.
getTemplate(String) - Method in interface org.webmacro.WebMacro
Retrieve a template from the "template" provider.
getTemplate(String) - Method in class org.webmacro.servlet.WMServlet
Retrieve a template from the "template" provider.
getTemplateEvaluationContext() - Method in class org.webmacro.Context
 
getTemplateExtensions(Broker) - Method in class org.webmacro.directive.IncludeDirective
get an array of Template file extensions we should use, if type==dynamic, to decide if the specified file is a template or not
getTemplateName() - Method in class org.webmacro.engine.Block
 
getThingToInclude(Broker, int, String) - Method in class org.webmacro.directive.IncludeDirective
get the template or file that the user wants to include, based on the specified type
getTime() - Method in class org.webmacro.profile.CallGraph
 
getToken(int) - Method in class org.webmacro.parser.WMParser_impl
 
getType() - Method in interface org.webmacro.Provider
Return an array representing the types this provider serves up
getType() - Method in class org.webmacro.directive.DirectiveProvider
 
getType() - Method in class org.webmacro.engine.ParserProvider
 
getType() - Method in class org.webmacro.resource.BrokerTemplateProvider
 
getType() - Method in class org.webmacro.resource.URLTemplateProvider
Supports the "template" type.
getType() - Method in class org.webmacro.resource.ConfigProvider
 
getType() - Method in class org.webmacro.resource.UrlProvider
We serve up "url" type resources
getType() - Method in class org.webmacro.resource.TemplateProvider
Supports the "template" type
getType() - Method in class org.webmacro.util.LogSource
The type of this log source, as it would print in the log.
getType() - Method in class org.webmacro.util.EncoderProvider
Return an array representing the types this provider serves up
getURL() - Method in class org.webmacro.resource.URLTemplate
return the URL for the current template.
getURL(String) - Method in class org.webmacro.WM
Retrieve a URL from the "url" provider.
getURL(String) - Method in interface org.webmacro.WebMacro
Retrieve the contents of a URL as a String.
getURL(String) - Method in class org.webmacro.servlet.WMServlet
Retrieve a URL.
getUrlInputStream(URL) - Static method in class org.webmacro.resource.UrlProvider
Utility routine to get the input stream associated with a URL.
getUrlLastModified(URL) - Static method in class org.webmacro.resource.UrlProvider
Utility routine to get the last modification date for a URL.
getValue() - Method in class org.webmacro.engine.Argument
Return the object on which this predicate operates
getValue() - Method in class org.webmacro.util.SelectList
 
getValue(Context) - Method in class org.webmacro.engine.Variable
The code to get the value represented by the variable from the supplied context.
getValue(String, String) - Method in class org.webmacro.Broker
Deprecated. call get(String,String) instead
getVariableName() - Method in class org.webmacro.engine.Variable
Return the canonical name for this variable
getVariableType(String) - Method in class org.webmacro.engine.BuildContext
Find out whether the named variable is a tool, local variable, or property variable.
getWarningText(String, Context) - Static method in class org.webmacro.directive.Directive
Convenience method for directives to write HTML warnings into the output stream.
getWebContext(HttpServletRequest, HttpServletResponse) - Method in class org.webmacro.WM
Instantiate a new webcontext from a pool.
getWebContext(HttpServletRequest, HttpServletResponse) - Method in interface org.webmacro.WebMacro
Create a new WebContext object.
getWebContext(HttpServletRequest, HttpServletResponse) - Method in class org.webmacro.servlet.WMServlet
Create a new WebContext object
GlobalDirective - class org.webmacro.directive.GlobalDirective.
 
GlobalDirective() - Constructor for class org.webmacro.directive.GlobalDirective
 
guessType(Broker, String) - Method in class org.webmacro.directive.IncludeDirective
if the filename contains :// assume it's a file b/c it's probably a url.

H

handle(WebContext) - Method in class org.webmacro.servlet.WMServlet
This method is called to handle the processing of a request.
Handler - interface org.webmacro.servlet.Handler.
Framework for handling template requests, requested by reactor.
HandlerException - exception org.webmacro.servlet.HandlerException.
This is an exception which a Handler can throw to indicate that it does not want to process a connection request.
HandlerException(String) - Constructor for class org.webmacro.servlet.HandlerException
Declare a handler exception with a reason
HandlerException(String, Exception) - Constructor for class org.webmacro.servlet.HandlerException
 
hasBreakingSubdirectives - Variable in class org.webmacro.directive.DirectiveDescriptor
 
hashCode() - Method in class org.webmacro.util.SharedObject
 
hashCode() - Method in class org.webmacro.util.SharedReference
 
hashCode() - Method in class org.webmacro.util.Encoder.Block
 
hashCode() - Method in class org.webmacro.util.StringArray
Two arrays that are equal have the same hashcode
hasMoreElements() - Method in class org.webmacro.util.SelectList
 
hasNext() - Method in class org.webmacro.engine.BlockBuilder.BBIterator
 
hasNext() - Method in class org.webmacro.util.SparseArrayIterator
 
hasNext() - Method in class org.webmacro.util.ArrayIterator
Return true if we have not yet reached the end of the enumeration
hasNext() - Method in class org.webmacro.util.PrimitiveArrayIterator
Return true if we have not yet reached the end of the enumeration
hasNext() - Method in class org.webmacro.util.EnumIterator
Return true if we have not yet reached the end of the enumeration
hasTargets() - Method in class org.webmacro.util.LogSource
 
HMapCacheManager - class org.webmacro.resource.HMapCacheManager.
 
HMapCacheManager() - Constructor for class org.webmacro.resource.HMapCacheManager
 
HTMLEncode(String) - Static method in class org.webmacro.servlet.TextTool
HTMLEncode will encode the specified input String per the magic of org.webmacro.util.HTMLEscaper.
HTMLEscaper - class org.webmacro.util.HTMLEscaper.
This class will escape characters that have an HTML entity representation.
HTMLEscaper() - Constructor for class org.webmacro.util.HTMLEscaper
 

I

id - Variable in class org.webmacro.directive.Directive.ArgDescriptor
 
image - Variable in class org.webmacro.parser.Token
The string image of the token.
ImmutableHitCount - Static variable in class org.opendoors.cache.immutable.CacheImpl
The total number of access hits to the immutable cache
IncludeDirective - class org.webmacro.directive.IncludeDirective.
IncludeDirective allows you to include other text files or Templates into the current Template.
IncludeDirective() - Constructor for class org.webmacro.directive.IncludeDirective
 
INFO - Static variable in class org.webmacro.util.LogSystem
 
info(String) - Method in interface org.webmacro.Log
Info is fairly unimportant information about routine processing within the system.
info(String) - Method in class org.webmacro.util.LogSource
Info is fairly unimportant information about routine processing within the system.
init() - Method in class org.opendoors.util.PostponeObservable
Initializes the instance.
init() - Method in class org.webmacro.Broker
Constructors should call this after they've set up the properties to set up common things like profiling, providers, etc.
init() - Method in class org.webmacro.servlet.WMServlet
This method is called by the servlet runner--do not call it.
init() - Method in interface org.webmacro.servlet.Handler
Use this method to run any startup initialization that you need to perform.
init(Broker) - Static method in class org.webmacro.directive.BeanDirective
 
init(Broker, Settings) - Method in interface org.webmacro.Provider
Initialize this provider based on the specified config.
init(Broker, Settings) - Method in class org.webmacro.directive.DirectiveProvider
 
init(Broker, Settings) - Method in class org.webmacro.engine.CrankyEvaluationExceptionHandler
 
init(Broker, Settings) - Method in class org.webmacro.engine.DefaultEvaluationExceptionHandler
 
init(Broker, Settings) - Method in interface org.webmacro.engine.EvaluationExceptionHandler
Initialize the EEH
init(Broker, Settings) - Method in class org.webmacro.engine.PropertyOperatorCache
 
init(Broker, Settings) - Method in class org.webmacro.engine.ParserProvider
 
init(Broker, Settings) - Method in interface org.webmacro.resource.ResourceLoader
Initialize this provider based on the specified config.
init(Broker, Settings) - Method in class org.webmacro.resource.CachingProvider
If you override this method be sure and call super.init(...)
init(Broker, Settings) - Method in class org.webmacro.resource.BrokerTemplateProvider
 
init(Broker, Settings) - Method in class org.webmacro.resource.BrokerTemplateProviderHelper
Create a new TemplateProvider that uses the specified directory as the source for Template objects that it will return
init(Broker, Settings) - Method in class org.webmacro.resource.URLTemplateProvider
Create a new TemplateProvider that uses the specified directory as the source for Template objects that it will return
init(Broker, Settings) - Method in class org.webmacro.resource.ConfigProvider
 
init(Broker, Settings) - Method in class org.webmacro.resource.ReloadDelayDecorator
Initialize object.
init(Broker, Settings) - Method in class org.webmacro.resource.UrlProvider
 
init(Broker, Settings) - Method in class org.webmacro.resource.TemplateProvider
Create a new TemplateProvider that uses the specified directory as the source for Template objects that it will return
init(Broker, Settings) - Method in class org.webmacro.util.Encoder
 
init(Broker, Settings) - Method in class org.webmacro.util.EncoderProvider
Initialize this provider based on the specified config.
init(Broker, Settings, String) - Method in class org.webmacro.resource.TrivialCacheManager
 
init(Broker, Settings, String) - Method in interface org.webmacro.resource.CacheManager
Same as defined in Provider, except with an additional type parameter so it knows what type of resource it is caching
init(Broker, Settings, String) - Method in class org.webmacro.resource.StaticSMapCacheManager
 
init(Broker, Settings, String) - Method in class org.webmacro.resource.StaticIdentityCacheManager
 
init(Broker, Settings, String) - Method in class org.webmacro.resource.HMapCacheManager
 
init(Broker, Settings, String) - Method in class org.webmacro.resource.SMapCacheManager
 
init(Broker, Settings, String) - Method in class org.webmacro.resource.GenerationalCacheManager
 
init(Context) - Method in interface org.webmacro.ContextTool
A new tool object will be instantiated per-request by calling this method.
init(Context) - Method in class org.webmacro.servlet.MathTool
Tool initialization method.
init(Context) - Method in class org.webmacro.servlet.TextTool
Tool initialization method.
init(Context) - Method in class org.webmacro.servlet.FormTool
 
init(Context) - Method in class org.webmacro.servlet.CookieTool
 
init(Context) - Method in class org.webmacro.servlet.ResponseTool
 
init(Context) - Method in class org.webmacro.servlet.FormListTool
 
init(Context) - Method in class org.webmacro.servlet.CGITool
 
init(Context) - Method in class org.webmacro.servlet.LocaleTool
 
init(Context) - Method in class org.webmacro.servlet.TypeTool
 
init(Context) - Method in class org.webmacro.servlet.SessionTool
 
init(Context) - Method in class org.webmacro.servlet.RequestTool
 
init(Context) - Method in class org.webmacro.servlet.TemplateTool
Create a factory object that can be accessed from WMScript as $Template for creating MacroTemplate objects.
init(Context) - Method in class org.webmacro.servlet.VariableTool
 
init(Context) - Method in class org.webmacro.servlet.ListTool
 
init(InputStream) - Method in class org.webmacro.util.WMEval
Initializes WMEval so that it can perform rule evaluation on multiple contexts.
init(ServletConfig) - Method in class org.webmacro.servlet.WMServlet
This is the old-style init method, it just calls init(), after handing the ServletConfig object to the superclass
InitException - exception org.webmacro.InitException.
This exception is used to indicate that a somethin was not propertly able to initialize itself.
InitException(String) - Constructor for class org.webmacro.InitException
 
InitException(String, Throwable) - Constructor for class org.webmacro.InitException
 
initialize(Map) - Method in class org.opendoors.cache.immutable.CacheFactory
Initializes a cache and returns it according to the factory properties.
initLog() - Method in class org.webmacro.Broker
Constructors should call this after they've set up the properties to set up the log target.
initLog(Settings) - Method in class org.webmacro.servlet.ServletBroker
 
initWebContext() - Method in class org.webmacro.servlet.WMServlet
This method must return a cloneable WebContext which can be cloned for use in responding to individual requests.
initWebMacro() - Method in class org.webmacro.servlet.WMServlet
This method returns the WebMacro object which will be used to load, access, and manage the Broker.
instance - Static variable in class org.webmacro.engine.VoidMacro
 
INTEGER - Static variable in class org.webmacro.util.CastUtil
 
intern() - Method in class org.webmacro.util.StringArray
Intern all the strings in the array (ensuring that they are unique values, and allowng the use of == for comparing them.)
internalGet(Object) - Method in class org.webmacro.Context
Get the named object/property from the Context.
internalGet(Object[]) - Method in class org.webmacro.Context
Get the named object from the Context.
IntMap - class org.webmacro.util.IntMap.
 
IntMap(int) - Constructor for class org.webmacro.util.IntMap
 
IntrospectionException - exception org.webmacro.engine.IntrospectionException.
 
IntrospectionException(String) - Constructor for class org.webmacro.engine.IntrospectionException
 
IntrospectionException(String, Exception) - Constructor for class org.webmacro.engine.IntrospectionException
 
IntStack - class org.webmacro.util.IntStack.
This is a simple unsynchronized stack for the primitive type int
IntStack() - Constructor for class org.webmacro.util.IntStack
 
InvalidArgumentException - exception org.webmacro.util.InvalidArgumentException.
One of the arguments supplied had an invalid value.
InvalidArgumentException(String) - Constructor for class org.webmacro.util.InvalidArgumentException
 
invalidate(Object) - Method in interface org.opendoors.cache.Cache
Invalidate an object in the cache according to the update strategy.
invalidate(Object) - Method in class org.opendoors.cache.immutable.CacheImpl
Invalidates an object in the cache by removing it from the mutable cache.
invalidate(Object) - Method in class org.webmacro.resource.TrivialCacheManager
 
invalidate(Object) - Method in interface org.webmacro.resource.CacheManager
Invalidates an entry in the cache.
invalidate(Object) - Method in class org.webmacro.resource.StaticSMapCacheManager
This method throws an exception because this kind of a cache does not support individual element invalidation.
invalidate(Object) - Method in class org.webmacro.resource.StaticIdentityCacheManager
This method throws an exception because this kind of a cache does not support individual element invalidation.
invalidate(Object) - Method in class org.webmacro.resource.HMapCacheManager
Remove an element
invalidate(Object) - Method in class org.webmacro.resource.SMapCacheManager
Removes a specific entry from the cache.
invalidate(Object) - Method in class org.webmacro.resource.GenerationalCacheManager
Invalidate an entry in the cache.
invalidateAll() - Method in interface org.opendoors.cache.Cache
Invalidates all the objects in the cache in one shot.
invalidateAll() - Method in class org.opendoors.cache.immutable.CacheImpl
Invalidates the entire cache.
InvalidContextException - exception org.webmacro.InvalidContextException.
The context supplied to a macro did not contain information that the macro required in order to write or evaluate itself.
InvalidContextException(String) - Constructor for class org.webmacro.InvalidContextException
 
InvalidResourceException - exception org.webmacro.resource.InvalidResourceException.
Resource exists but could not be loaded for some reason
InvalidResourceException(String) - Constructor for class org.webmacro.resource.InvalidResourceException
 
InvalidResourceException(String, Exception) - Constructor for class org.webmacro.resource.InvalidResourceException
 
InvalidTypeException - exception org.webmacro.InvalidTypeException.
You used a class or argument that was incorrect, unknown, or otherwise invalid.
InvalidTypeException(String) - Constructor for class org.webmacro.InvalidTypeException
 
isArray(Object) - Method in class org.webmacro.servlet.ListUtil
 
isBreaking - Variable in class org.webmacro.directive.Directive.Subdirective
 
isDefined(Object) - Method in class org.webmacro.servlet.VariableTool
Is the specified object name defined in the active Context?
isDestroyed() - Method in class org.webmacro.WM
This message returns false until you destroy() this object, subsequently it returns true.
isDestroyed() - Method in interface org.webmacro.WebMacro
This message returns false until you destroy() this object, subsequently it returns true.
isDestroyed() - Method in class org.webmacro.servlet.WMServlet
Check whether or not the broker we are using has been shut down
isEmpty() - Method in class org.webmacro.Context
Method from Map interface, operates on underlying Map
isEmpty() - Method in class org.webmacro.util.DictionaryTool
Forward call to Dictionary
isEmpty() - Method in class org.webmacro.util.SimpleStack
 
isEmpty() - Method in class org.webmacro.util.IntStack
 
isEmpty(Object) - Static method in class org.webmacro.servlet.ListUtil
 
isEven() - Method in class org.webmacro.engine.TestObject
 
isInstanceOf(Object, String) - Method in class org.webmacro.servlet.VariableTool
Is the specified object, obj, an instance of the specified className?
isLazy(Broker) - Method in class org.webmacro.directive.IncludeDirective
are we configured to lazily include the file/template (meaning during expansion)? If not, we end up inserting the template/file contents during build().
isList(Object) - Method in class org.webmacro.servlet.ListUtil
 
isNumber(Object) - Static method in class org.webmacro.engine.Expression
 
isOneShot() - Method in class org.opendoors.util.Timer
Interrogates if this is a one-shot operation.
isSelected() - Method in class org.webmacro.util.SelectList
 
isSimpleName() - Method in class org.webmacro.engine.Variable
Returns true if the Variable describes a simple name (one with only one element)
isStrictlyCompatible(Broker) - Method in class org.webmacro.directive.IncludeDirective
are we strictly compatible with previous versions of both #parse and #include? Default is no, we are not strictly compatible b/c we can get pretty close by dynamically figuring out the file type and b/c #parse has been deprecated.
isTiming() - Method in class org.webmacro.Context
Return true if the Context contains an active profiler, and calls to startTiming/stopTiming will be counted.
isTrue(Object) - Static method in class org.webmacro.engine.Expression
 
iterator() - Method in class org.webmacro.util.Atomizer
Get an iterator capable of walking through all the values in the atomizer.
iterator() - Method in class org.webmacro.util.SimpleHashMap
Returns an iterator that will walk along a snapshot of the keys of this SimpleMap.
iterator() - Method in class org.webmacro.util.IntMap
 

J

jj_nt - Variable in class org.webmacro.parser.WMParser_impl
 
jjnewLexState - Static variable in class org.webmacro.parser.WMParser_implTokenManager
 
jjstrLiteralImages - Static variable in class org.webmacro.parser.WMParser_implTokenManager
 
join(String[], String) - Static method in class org.webmacro.servlet.TextTool
Join the input String[] into a single String, using the specified delimiter between each value of the array.

K

keys() - Method in interface org.opendoors.cache.Cache
Returns all the keys in the cache.
keys() - Method in class org.opendoors.cache.immutable.CacheImpl
Returns the keys of the cache as an array.
keys() - Method in class org.webmacro.util.DictionaryTool
Forward call to Dictionary
keys() - Method in class org.webmacro.util.ComponentMap
Get an iterator that walks throught he keys installed into this ComponentMap
keySet() - Method in class org.webmacro.Context
Method from Map interface, operates on underlying Map
keyString() - Method in class org.webmacro.util.DictionaryTool
Return a string which concatenates the keys, putting commas between the keys
keyword - Variable in class org.webmacro.directive.Directive.ArgDescriptor
 
Keyword(String) - Method in class org.webmacro.parser.WMParser_impl
 
kind - Variable in class org.webmacro.parser.Token
An integer that describes the kind of this token.

L

LBRACE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
LBRACKET - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
LEVELS - Static variable in class org.webmacro.util.LogSystem
Mapping of numbers to names.
lexStateNames - Static variable in class org.webmacro.parser.WMParser_implTokenManager
 
ListBuilder - class org.webmacro.engine.ListBuilder.
 
ListBuilder() - Constructor for class org.webmacro.engine.ListBuilder
 
ListTool - class org.webmacro.servlet.ListTool.
Provide templates a uniform way of dealing with arrays and Lists
ListTool() - Constructor for class org.webmacro.servlet.ListTool
 
ListUtil - class org.webmacro.servlet.ListUtil.
A utility class for templates loaded into the context as "List" by ListTool.
LiteralBlock() - Method in class org.webmacro.parser.WMParser_impl
 
LiteralWMContent(ParserBlockBuilder) - Method in class org.webmacro.parser.WMParser_impl
 
load(InputStream) - Method in class org.webmacro.util.Settings
Load settings from the supplied input stream
load(Object, CacheElement) - Method in interface org.webmacro.resource.ResourceLoader
Load an object from permanent storage (or construct it) on demand.
load(Object, CacheElement) - Method in class org.webmacro.resource.CachingProvider
 
load(Object, CacheElement) - Method in class org.webmacro.resource.BrokerTemplateProviderHelper
We don't implement this one
load(Object, CacheElement) - Method in class org.webmacro.util.Encoder
Load an object from permanent storage (or construct it) on demand.
load(Properties) - Method in class org.webmacro.util.Settings
Load settings from a Properties
load(Properties, String) - Method in class org.webmacro.util.Settings
Load settings from a Properties, only extracting properties which have the specified prefix
load(Settings) - Method in class org.webmacro.util.Settings
Load settings from a Settings
load(String) - Method in class org.webmacro.util.Settings
Load settings from the supplied fileName, searching for the file along the classpath, and then search for the settings file as a file: URL.
load(String) - Method in class org.webmacro.util.ComponentMap
Load the component map from the supplied namelist.
load(String[]) - Method in class org.webmacro.util.ComponentMap
Load the component map from the supplied name list.
load(String[], String) - Method in class org.webmacro.util.ComponentMap
Load the component map from the supplied name list.
load(String, CacheElement) - Method in interface org.webmacro.resource.ResourceLoader
Load an object from permanent storage (or construct it) on demand.
load(String, CacheElement) - Method in class org.webmacro.resource.BrokerTemplateProvider
 
load(String, CacheElement) - Method in class org.webmacro.resource.BrokerTemplateProviderHelper
Grab a template based on its name.
load(String, CacheElement) - Method in class org.webmacro.resource.URLTemplateProvider
Grab a template based on its name, setting the request event to contain it if we found it.
load(String, CacheElement) - Method in class org.webmacro.resource.UrlProvider
Load a URL from the specified name and return it.
load(String, CacheElement) - Method in class org.webmacro.resource.TemplateProvider
Grab a template based on its name.
load(String, CacheElement) - Method in class org.webmacro.util.Encoder
 
load(String, String) - Method in class org.webmacro.util.ComponentMap
Load the component map from the supplied namelist.
load(String, URL) - Method in class org.webmacro.resource.URLTemplateProvider
Find the specified template in the directory managed by this template store.
load(URL) - Method in class org.webmacro.util.Settings
Load settings from the supplied URL
loadDefaultSettings() - Method in class org.webmacro.Broker
 
loadServletSettings(String) - Method in class org.webmacro.servlet.Servlet22Broker
 
loadSettings(String, boolean) - Method in class org.webmacro.Broker
 
loadSystemSettings() - Method in class org.webmacro.Broker
 
loadTools(String) - Method in class org.webmacro.Context
Load the context tools listed in the supplied string.
LOCAL_TYPE - Static variable in class org.webmacro.engine.Variable
 
LocaleTool - class org.webmacro.servlet.LocaleTool.
Provide Template with access to Locales.
LocaleTool() - Constructor for class org.webmacro.servlet.LocaleTool
 
Log - interface org.webmacro.Log.
A log is a simple recipient of information about the system.
log(Date, String, String, String, Exception) - Method in class org.webmacro.servlet.ServletLog
 
log(Date, String, String, String, Exception) - Method in interface org.webmacro.util.LogTarget
Log out an event that just happened and which you have previously accepted.
log(Date, String, String, String, Exception) - Method in class org.webmacro.util.LogFile
 
log(int, String, Exception) - Method in class org.webmacro.util.LogSource
 
LogFile - class org.webmacro.util.LogFile.
 
LogFile(PrintStream) - Constructor for class org.webmacro.util.LogFile
Create a new LogFile instance
LogFile(Settings) - Constructor for class org.webmacro.util.LogFile
Create a new LogFile instance.
LogFile(String) - Constructor for class org.webmacro.util.LogFile
 
loggingDebug() - Method in interface org.webmacro.Log
Ask the log system if it wants these kinds of log messages.
loggingDebug() - Method in class org.webmacro.util.LogSource
 
loggingInfo() - Method in interface org.webmacro.Log
 
loggingInfo() - Method in class org.webmacro.util.LogSource
 
loggingNotice() - Method in interface org.webmacro.Log
 
loggingNotice() - Method in class org.webmacro.util.LogSource
 
loggingWarning() - Method in interface org.webmacro.Log
 
loggingWarning() - Method in class org.webmacro.util.LogSource
 
LogSource - class org.webmacro.util.LogSource.
A log is a simple recipient of information about the system.
LogSystem - class org.webmacro.util.LogSystem.
The LogSystem class allows you to create and manage log objects and log targets.
LogTarget - interface org.webmacro.util.LogTarget.
A log target is a destination for log messages.
LogTargetFactory - class org.webmacro.util.LogTargetFactory.
The LogTargetFactory assists the Broker (and you, if you want) in creating new LogTarget instances.
LogTargetFactory.LogCreationException - exception org.webmacro.util.LogTargetFactory.LogCreationException.
 
LogTargetFactory.LogCreationException(String, Throwable) - Constructor for class org.webmacro.util.LogTargetFactory.LogCreationException
 
LONG - Static variable in class org.webmacro.util.CastUtil
 
lookingAhead - Variable in class org.webmacro.parser.WMParser_impl
 
lookup(Object) - Method in class org.webmacro.util.Atomizer
Get the atomic number for o.
LPAREN - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
ltrim(String) - Static method in class org.webmacro.servlet.TextTool
remove any leading whitespace from a string
ltrimBlock(String) - Static method in class org.webmacro.servlet.TextTool
remove the leading whitespace from each line in a block of text
LValue() - Method in class org.webmacro.parser.WMParser_impl
 

M

Macro - interface org.webmacro.Macro.
Directives, variables, macro calls, blocks, conditions, text, etc., all have this as their supertype.
MacroAdapter - class org.webmacro.engine.MacroAdapter.
Looks like a Macro, but really it's not.
main(String[]) - Static method in class org.webmacro.Broker
Test the broker or a provider.
main(String[]) - Static method in class org.webmacro.engine.TemplateDumper
 
main(String[]) - Static method in class org.webmacro.engine.TestObject
 
main(String[]) - Static method in class org.webmacro.engine.StreamTemplate
Simple test
main(String[]) - Static method in class org.webmacro.parser.WMParser_impl
 
main(String[]) - Static method in class org.webmacro.profile.Profile
 
main(String[]) - Static method in class org.webmacro.servlet.TextTool
 
main(String[]) - Static method in class org.webmacro.servlet.ListUtil
test harness
main(String[]) - Static method in class org.webmacro.tools.CheckTemplates
 
main(String[]) - Static method in class org.webmacro.tools.EvalTemplates
Normally this main is invoked from an ant task but it can be invoked from any main launcher including a command line.
main(String[]) - Static method in class org.webmacro.util.Settings
Brief test
main(String[]) - Static method in class org.webmacro.util.DictionaryTool
 
main(String[]) - Static method in class org.webmacro.util.SharedObject
 
main(String[]) - Static method in class org.webmacro.util.Atomizer
Test based on command line args
main(String[]) - Static method in class org.webmacro.util.SimpleStack
 
main(String[]) - Static method in class org.webmacro.util.QueueWriter
 
main(String[]) - Static method in class org.webmacro.util.EncodingCache
 
main(String[]) - Static method in class org.webmacro.util.HTMLEscaper
A little bit of unit testing
main(String[]) - Static method in class org.webmacro.util.Clock
 
main(String[]) - Static method in class org.webmacro.util.Base64
Test harness
main(String[]) - Static method in class org.webmacro.util.CastUtil
 
main(String[]) - Static method in class org.webmacro.util.SharedReference
 
main(String[]) - Static method in class org.webmacro.util.SimpleHashMap
 
main(String[]) - Static method in class org.webmacro.util.StringArray
Test harness
main(String[]) - Static method in class org.webmacro.util.ArrayIterator
Test harness
main(String[]) - Static method in class org.webmacro.util.PrimitiveArrayIterator
Test harness
main(String[]) - Static method in class org.webmacro.util.ByteBufferOutputStream
 
main(String[]) - Static method in class org.webmacro.util.EnumIterator
Test harness
main(String[]) - Static method in class org.webmacro.util.IntMap
 
main(String[]) - Static method in class org.webmacro.util.LogSystem
Test out the logging system
main(String[]) - Static method in class org.webmacro.util.TimeLoop
Test the TimeLoop
main(String[]) - Static method in class org.webmacro.util.ComponentMap
 
makeBlock(String[]) - Static method in class org.webmacro.servlet.TextTool
convert an array of strings into a block of text delimited by \r\n
markLiteral() - Method in class org.webmacro.parser.ParserBlockBuilder
Mark the last character in the block as being a literal (quoted with backslash) so we don't eat trailing quoted whitespace.
MathTool - class org.webmacro.servlet.MathTool.
A ContextTool for performing the more useful methods from java.lang.Math.
MathTool() - Constructor for class org.webmacro.servlet.MathTool
default contsructor.
MathTool(Context) - Constructor for class org.webmacro.servlet.MathTool
public constructor.
MAX_POOL_SIZE - Static variable in class org.webmacro.FastWriter
 
MAX_TIMEOUT - Static variable in class org.webmacro.resource.UrlProvider
 
max(double, double) - Static method in class org.webmacro.servlet.MathTool
 
max(float, float) - Static method in class org.webmacro.servlet.MathTool
 
max(int, int) - Static method in class org.webmacro.servlet.MathTool
 
max(long, long) - Static method in class org.webmacro.servlet.MathTool
 
methodName - Variable in class org.webmacro.PropertyException.NoSuchMethodException
 
methodName - Variable in class org.webmacro.PropertyException.NoSuchMethodWithArgumentsException
 
MIN_TIMEOUT - Static variable in class org.webmacro.resource.UrlProvider
 
min(double, double) - Static method in class org.webmacro.servlet.MathTool
 
min(float, float) - Static method in class org.webmacro.servlet.MathTool
 
min(int, int) - Static method in class org.webmacro.servlet.MathTool
 
min(long, long) - Static method in class org.webmacro.servlet.MathTool
 
mod(int, int) - Static method in class org.webmacro.servlet.MathTool
 
MutableHitCount - Static variable in class org.opendoors.cache.immutable.CacheImpl
The total number of access hits to the mutable cache.

N

name - Variable in class org.webmacro.directive.DirectiveDescriptor
 
name - Variable in class org.webmacro.directive.Directive.Subdirective
 
name - Variable in class org.webmacro.profile.ProfileEvent
The name of this event
Named - interface org.webmacro.util.Named.
 
NativeAsciiReader - class org.webmacro.util.NativeAsciiReader.
Reads a file that has been encoded with Java's unicode escape syntax, typically converted with native2ascii.
NativeAsciiReader(Reader) - Constructor for class org.webmacro.util.NativeAsciiReader
 
NativeAsciiReader(Reader, int) - Constructor for class org.webmacro.util.NativeAsciiReader
 
newContext(HttpServletRequest, HttpServletResponse) - Method in class org.webmacro.servlet.WMServlet
This method is called at the beginning of a request and is responsible for providing a Context for the request.
newInstance(HttpServletRequest, HttpServletResponse) - Method in class org.webmacro.servlet.WebContext
Create a new WebContext like this one, only with new values for request and response
NEWLINE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
newProfile() - Method in class org.webmacro.Broker
Get a profile instance that can be used to instrument code.
newProfile() - Method in class org.webmacro.profile.ProfileCategory
Instantiate a new Profile.
newProfileCategory(String, int, int) - Method in class org.webmacro.profile.ProfileSystem
Return a ProfileCategory for the category 'name'.
newSubdirective(int) - Method in class org.webmacro.directive.DirectiveBuilder
Create a new subdirective of the specified id and create an ArgsHolder for its arguments.
newToken(int) - Static method in class org.webmacro.parser.Token
Returns a new Token object, by default.
next - Variable in class org.webmacro.parser.Token
A reference to the next regular (non-special) token from the input stream.
next() - Method in class org.webmacro.engine.BlockBuilder.BBIterator
 
next() - Method in class org.webmacro.util.SparseArrayIterator
 
next() - Method in class org.webmacro.util.ArrayIterator
Advance the iterator and return the next value.
next() - Method in class org.webmacro.util.PrimitiveArrayIterator
Advance the iterator and return the next value.
next() - Method in class org.webmacro.util.EnumIterator
Advance the iterator and return the next value.
nextArg - Variable in class org.webmacro.directive.Directive.ArgDescriptor
 
nextElement() - Method in class org.webmacro.util.SelectList
 
NONE - Static variable in class org.webmacro.util.LogSystem
 
NotFoundException - exception org.webmacro.NotFoundException.
You asked for something that is not currently available.
NotFoundException(String) - Constructor for class org.webmacro.NotFoundException
 
NotFoundException(String, Exception) - Constructor for class org.webmacro.NotFoundException
 
NOTICE - Static variable in class org.webmacro.util.LogSystem
 
notice(String) - Method in interface org.webmacro.Log
Notices are important information about routine processing within the system.
notice(String) - Method in class org.webmacro.util.LogSource
Notices are important information about routine processing within the system.
NULL - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
NullBuilder - class org.webmacro.engine.NullBuilder.
 
NullBuilder() - Constructor for class org.webmacro.engine.NullBuilder
 
NullParser - class org.webmacro.engine.NullParser.
This parser eats all of the input and returns nothing.
NullParser(Broker) - Constructor for class org.webmacro.engine.NullParser
 
NUMBER - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
numberObject(long, Object, Object) - Static method in class org.webmacro.engine.Expression
 
numberValue(Object) - Static method in class org.webmacro.engine.Expression
 

O

observable - Variable in class org.opendoors.cache.immutable.ChangeControl
The thread delegate for managing changes.
OP_AND - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_DIV - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_EQ - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_GE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_GT - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_LE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_LT - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_MINUS - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_MULT - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_NE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_NOT - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_OR - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_PLUS - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
OP_SET - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
operate(Object) - Method in class org.webmacro.engine.Expression.UnaryOperation
 
operate(Object) - Method in class org.webmacro.engine.Expression.NotOperation
 
operate(Object, Object) - Method in class org.webmacro.engine.Expression.BinaryOperation
 
operate(Object, Object) - Method in class org.webmacro.engine.Expression.AddOperation
 
operate(Object, Object) - Method in class org.webmacro.engine.Expression.SubtractOperation
 
operate(Object, Object) - Method in class org.webmacro.engine.Expression.MultiplyOperation
 
operate(Object, Object) - Method in class org.webmacro.engine.Expression.DivideOperation
 
operate(Object, Object) - Method in class org.webmacro.engine.Expression.Compare
 
optional - Variable in class org.webmacro.directive.Directive.ArgDescriptor
 
OptionalWs() - Method in class org.webmacro.parser.WMParser_impl
 
OptionalWsNl() - Method in class org.webmacro.parser.WMParser_impl
 
OrExpression() - Method in class org.webmacro.parser.WMParser_impl
 
org.opendoors.cache - package org.opendoors.cache
 
org.opendoors.cache.immutable - package org.opendoors.cache.immutable
 
org.opendoors.util - package org.opendoors.util
 
org.webmacro - package org.webmacro
 
org.webmacro.directive - package org.webmacro.directive
 
org.webmacro.engine - package org.webmacro.engine
 
org.webmacro.parser - package org.webmacro.parser
 
org.webmacro.profile - package org.webmacro.profile
 
org.webmacro.resource - package org.webmacro.resource
 
org.webmacro.servlet - package org.webmacro.servlet
 
org.webmacro.tools - package org.webmacro.tools
 
org.webmacro.util - package org.webmacro.util
 
OTHER - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
outputContextKey - Static variable in class org.webmacro.util.WMEval
If an output file is not specified as an argument, it must be found in the context under this key.

P

ParamBuilder - class org.webmacro.engine.ParamBuilder.
 
ParamBuilder(Object[]) - Constructor for class org.webmacro.engine.ParamBuilder
 
ParamDirective - class org.webmacro.directive.ParamDirective.
The #param directive is provided for backward compatibility.
ParamDirective() - Constructor for class org.webmacro.directive.ParamDirective
 
parse() - Method in interface org.webmacro.Template
Force the template to parse now.
parse() - Method in class org.webmacro.engine.WMTemplate
Template API
parse() - Method in class org.webmacro.resource.URLTemplate
 
parseBlock(String, Reader) - Method in interface org.webmacro.engine.Parser
Parse the input in ParseTool as far as the grammar for this parser allows, but no farther.
parseBlock(String, Reader) - Method in class org.webmacro.engine.TextParser
 
parseBlock(String, Reader) - Method in class org.webmacro.engine.NullParser
 
parseBlock(String, Reader) - Method in class org.webmacro.parser.WMParser
Parse a block that appears on the supplied input Reader.
ParseException - exception org.webmacro.engine.ParseException.
Exception raised on discovery of a parsing error.
ParseException - exception org.webmacro.parser.ParseException.
This exception is thrown when parse errors are encountered.
ParseException() - Constructor for class org.webmacro.engine.ParseException
 
ParseException() - Constructor for class org.webmacro.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class org.webmacro.engine.ParseException
Create a new exception
ParseException(String) - Constructor for class org.webmacro.parser.ParseException
 
ParseException(String, Exception) - Constructor for class org.webmacro.engine.ParseException
Create a new exception, wrapping another exception
ParseException(String, Exception) - Constructor for class org.webmacro.parser.ParseException
 
ParseException(Token, int[][], String[]) - Constructor for class org.webmacro.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
parseLocalTemplate(String) - Method in class org.webmacro.util.WMEval
A convenience method to find and parse a template in the local template path.
Parser - interface org.webmacro.engine.Parser.
A parser turns an input stream into a BlockBuilder, using any parsing mechanism that it chooses.
ParserBlockBuilder - class org.webmacro.parser.ParserBlockBuilder.
ParserBlockBuilder extends BlockBuilder, and should only be used by the WMParser_impl parser.
ParserBlockBuilder() - Constructor for class org.webmacro.parser.ParserBlockBuilder
 
ParserBlockBuilder(String) - Constructor for class org.webmacro.parser.ParserBlockBuilder
 
ParserProvider - class org.webmacro.engine.ParserProvider.
Utility class to assist in the creation of directives.
ParserProvider() - Constructor for class org.webmacro.engine.ParserProvider
 
ParserRuntimeException - exception org.webmacro.parser.ParserRuntimeException.
Runtime exception for passing exceptions through the parser.
ParserRuntimeException() - Constructor for class org.webmacro.parser.ParserRuntimeException
 
ParserRuntimeException(String) - Constructor for class org.webmacro.parser.ParserRuntimeException
 
ParserRuntimeException(String, Throwable) - Constructor for class org.webmacro.parser.ParserRuntimeException
 
parseTemplate(String, Reader) - Static method in class org.webmacro.tools.CheckTemplates
 
PI - Static variable in class org.webmacro.servlet.MathTool
the value of PI, as defined by java.lang.Math.PI
Pool - interface org.webmacro.util.Pool.
A pool is a stack-like container which you can add and remove objects from.
pop() - Method in class org.webmacro.util.SimpleStack
 
pop() - Method in class org.webmacro.util.IntStack
 
Populate - class org.opendoors.cache.immutable.Populate.
Populates a shared cache from integer n up to m with Integer(n <= i < m).
Populate(Cache, int, int) - Constructor for class org.opendoors.cache.immutable.Populate
Construct the populator with test parameters.
postponeInterval - Variable in class org.opendoors.util.PostponeObservable
On property change, postpone event notification this number of millis.
PostponeObservable - class org.opendoors.util.PostponeObservable.
PostponeObservable is the delegated instance for an observable with the following characteristic: notification of the change arrives after the observable has not changed for a period of n milliseconds.
PostponeObservable() - Constructor for class org.opendoors.util.PostponeObservable
Constructs a default observable.
PostponeObservable(int, boolean) - Constructor for class org.opendoors.util.PostponeObservable
Constructs a default observable with the following settings.
POUND - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
POUNDPOUND - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
pow(int, int) - Static method in class org.webmacro.servlet.MathTool
 
pow(long, long) - Static method in class org.webmacro.servlet.MathTool
 
PrimitiveArrayIterator - class org.webmacro.util.PrimitiveArrayIterator.
This provides an iterator interface to an array of primitives
PrimitiveArrayIterator(Object) - Constructor for class org.webmacro.util.PrimitiveArrayIterator
Construct an iterator given an enumeration
printStackTrace() - Method in class org.webmacro.RethrowableException
 
printStackTrace() - Method in class org.webmacro.RethrowableRuntimeException
 
printStackTrace(PrintStream) - Method in class org.webmacro.RethrowableException
 
printStackTrace(PrintStream) - Method in class org.webmacro.RethrowableRuntimeException
 
printStackTrace(PrintWriter) - Method in class org.webmacro.RethrowableException
 
printStackTrace(PrintWriter) - Method in class org.webmacro.RethrowableRuntimeException
 
processListSetting(String, Settings.ListSettingHandler) - Method in class org.webmacro.util.Settings
Iterate through a list of settings.
processSetting(String, String) - Method in class org.webmacro.util.Settings.ListSettingHandler
 
Profile - class org.webmacro.profile.Profile.
 
PROFILE - Static variable in class org.webmacro.Flags
Use in profiling statements in performance critical code?
Profile(ProfileCategory) - Constructor for class org.webmacro.profile.Profile
only our ProfileCategory should create new instances
ProfileCategory - class org.webmacro.profile.ProfileCategory.
A ProfileCategory manages Profile objects for a category.
ProfileCategory(String, int, int) - Constructor for class org.webmacro.profile.ProfileCategory
Record time is how long we are to record profiles.
ProfileDirective - class org.webmacro.directive.ProfileDirective.
 
ProfileDirective() - Constructor for class org.webmacro.directive.ProfileDirective
 
ProfileEvent - class org.webmacro.profile.ProfileEvent.
The ProfileEvent interface describes an event that took place in the system.
ProfileEvent() - Constructor for class org.webmacro.profile.ProfileEvent
Create a new profile event with null and 0 values
ProfileEvent(String, int, int, int) - Constructor for class org.webmacro.profile.ProfileEvent
Create a new profile event with the supplied values
ProfileSystem - class org.webmacro.profile.ProfileSystem.
 
ProfileSystem() - Constructor for class org.webmacro.profile.ProfileSystem
 
PROPERTY_TYPE - Static variable in class org.webmacro.engine.Variable
 
propertyChange(PropertyChangeEvent) - Method in class org.opendoors.util.PostponeObservable
Using the property event model propagate a change event to the observable.
PropertyDirective - class org.webmacro.directive.PropertyDirective.
 
PropertyDirective() - Constructor for class org.webmacro.directive.PropertyDirective
 
PropertyException - exception org.webmacro.PropertyException.
A PropertyException indicates some failure to evaluate a property in a context or against some other object.
PropertyException.InvalidTypeException - exception org.webmacro.PropertyException.InvalidTypeException.
Exception thrown when a Variable isn't of the specified class type.
PropertyException.InvalidTypeException(String, Class) - Constructor for class org.webmacro.PropertyException.InvalidTypeException
 
PropertyException.NoSuchMethodException - exception org.webmacro.PropertyException.NoSuchMethodException.
NoSuchMethodException indicates that the variable did not have the requested method.
PropertyException.NoSuchMethodException(String, String, String) - Constructor for class org.webmacro.PropertyException.NoSuchMethodException
 
PropertyException.NoSuchMethodWithArgumentsException - exception org.webmacro.PropertyException.NoSuchMethodWithArgumentsException.
NoSuchMethodWithArgumentsException indicates that the variable did not have the a method with the request name and argument list
PropertyException.NoSuchMethodWithArgumentsException(String, String, String) - Constructor for class org.webmacro.PropertyException.NoSuchMethodWithArgumentsException
 
PropertyException.NoSuchPropertyException - exception org.webmacro.PropertyException.NoSuchPropertyException.
NoSuchPropertyException indicates that the variable did not have the requested property.
PropertyException.NoSuchPropertyException(String, String, String) - Constructor for class org.webmacro.PropertyException.NoSuchPropertyException
 
PropertyException.NoSuchVariableException - exception org.webmacro.PropertyException.NoSuchVariableException.
NoSuchVariableException indicates that a variable did not exist in the context against which it was being evaluated.
PropertyException.NoSuchVariableException(String) - Constructor for class org.webmacro.PropertyException.NoSuchVariableException
 
PropertyException.NullToStringException - exception org.webmacro.PropertyException.NullToStringException.
NullStringException indicates that a variable exists but its .toString() method returns null
PropertyException.NullToStringException(String) - Constructor for class org.webmacro.PropertyException.NullToStringException
 
PropertyException.NullValueException - exception org.webmacro.PropertyException.NullValueException.
NullValueException indicates that a variable or property exists, but evaluated to null in the context against which it was being evaluated.
PropertyException.NullValueException(String) - Constructor for class org.webmacro.PropertyException.NullValueException
 
PropertyException.RestrictedMethodException - exception org.webmacro.PropertyException.RestrictedMethodException.
RestrictedMethodException indicates that the requested method may not be invoked from a template due to security constraints
PropertyException.RestrictedMethodException(String, String, String) - Constructor for class org.webmacro.PropertyException.RestrictedMethodException
 
PropertyException.RestrictedPropertyException - exception org.webmacro.PropertyException.RestrictedPropertyException.
RestrictedPropertyException indicates that the requested property may not be invoked from a template due to security constraints
PropertyException.RestrictedPropertyException(String, String, String) - Constructor for class org.webmacro.PropertyException.RestrictedPropertyException
 
PropertyException.VoidValueException - exception org.webmacro.PropertyException.VoidValueException.
VoidValueException indicates that someone tried to use the return value of a void method
PropertyException.VoidValueException() - Constructor for class org.webmacro.PropertyException.VoidValueException
 
PropertyException.VoidValueException(String) - Constructor for class org.webmacro.PropertyException.VoidValueException
 
PropertyException(String) - Constructor for class org.webmacro.PropertyException
 
PropertyException(String, Throwable) - Constructor for class org.webmacro.PropertyException
 
PropertyMethod - class org.webmacro.util.PropertyMethod.
A property method can function as part of a name in a property, and represents a method call that should be used to resolve that portion of the name.
PropertyMethod(String, Macro) - Constructor for class org.webmacro.util.PropertyMethod
Create a new PropertyMethod
PropertyMethod(String, Object[]) - Constructor for class org.webmacro.util.PropertyMethod
Create a new PropertyMethod
PropertyMethodBuilder - class org.webmacro.engine.PropertyMethodBuilder.
 
PropertyMethodBuilder(String, ListBuilder) - Constructor for class org.webmacro.engine.PropertyMethodBuilder
 
PropertyOperatorCache - class org.webmacro.engine.PropertyOperatorCache.
 
PropertyOperatorCache() - Constructor for class org.webmacro.engine.PropertyOperatorCache
 
Provider - interface org.webmacro.Provider.
A Provider is an object responsible or loading and managing instances of a given type.
Punct_COMMA() - Method in class org.webmacro.parser.WMParser_impl
 
Punct_EQ() - Method in class org.webmacro.parser.WMParser_impl
 
Punct_LPAREN() - Method in class org.webmacro.parser.WMParser_impl
 
Punct_RPAREN() - Method in class org.webmacro.parser.WMParser_impl
 
push(int) - Method in class org.webmacro.util.IntStack
 
push(Object) - Method in class org.webmacro.util.SimpleStack
 
put(int, Object) - Method in class org.webmacro.util.IntMap
 
put(Object) - Method in interface org.webmacro.util.Pool
Add an item to the pool for later re-use
put(Object) - Method in class org.webmacro.util.UPool
Add an item to the pool for later re-use
put(Object) - Method in class org.webmacro.util.ScalablePool
Add an item to the pool for later re-use
put(Object, boolean) - Method in class org.webmacro.Context
 
put(Object, byte) - Method in class org.webmacro.Context
 
put(Object, char) - Method in class org.webmacro.Context
 
put(Object, Class) - Method in class org.webmacro.Context
Convenience method for putting static classes into the context, wraps the class instance in a wrapper
put(Object, double) - Method in class org.webmacro.Context
 
put(Object, float) - Method in class org.webmacro.Context
 
put(Object, int) - Method in class org.webmacro.Context
 
put(Object, long) - Method in class org.webmacro.Context
 
put(Object, Object) - Method in interface org.opendoors.cache.Cache
Put an object in the cache possibly updating and replacing an existing value.
put(Object, Object) - Method in class org.opendoors.cache.immutable.CacheImpl
Puts an object into the cache by enqueueing it on the immutable cache using the change control delegate.
put(Object, Object) - Method in class org.webmacro.Context
Add an object to the context returning the object that was there previously under the same name, if any.
put(Object, Object) - Method in class org.webmacro.resource.TrivialCacheManager
 
put(Object, Object) - Method in interface org.webmacro.resource.CacheManager
Called to put a resource into the cache.
put(Object, Object) - Method in class org.webmacro.resource.StaticSMapCacheManager
Put an object in the cache
put(Object, Object) - Method in class org.webmacro.resource.StaticIdentityCacheManager
 
put(Object, Object) - Method in class org.webmacro.resource.HMapCacheManager
Put an object in the cache
put(Object, Object) - Method in class org.webmacro.resource.SMapCacheManager
Put an object in the cache
put(Object, Object) - Method in class org.webmacro.resource.GenerationalCacheManager
Put an object in the cache
put(Object, Object) - Method in class org.webmacro.util.DictionaryTool
Forward call to Dictionary
put(Object, Object) - Method in class org.webmacro.util.AbstractScalableMap
 
put(Object, Object) - Method in interface org.webmacro.util.SimpleMap
 
put(Object, Object) - Method in class org.webmacro.util.SimpleHashMap
Add a key to the SimpleMap.
put(Object, Object) - Method in class org.webmacro.util.SimpleIdentityMap
Add a key to the SimpleMap.
put(Object, short) - Method in class org.webmacro.Context
 
put(String, Object) - Method in class org.webmacro.servlet.FormList
Unsupported
put(String, Object) - Method in class org.webmacro.servlet.Form
Unsupported
put(String, Object) - Method in class org.webmacro.servlet.LocaleTool
Unsupported
put(String, Object) - Method in interface org.webmacro.util.Bag
Add an item to the bag
put(String, String) - Method in class org.webmacro.servlet.CookieJar
Create a new cookie with the supplied name and value and set it in the response header.
putAll(Map) - Method in class org.webmacro.Context
Method from Map interface, operates on underlying Map

Q

QCHAR - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
QS - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
QS_TEXT - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
QueueWriter - class org.webmacro.util.QueueWriter.
This writer buffers characters into a char array.
QueueWriter() - Constructor for class org.webmacro.util.QueueWriter
Create a new Writer
QueueWriter(int) - Constructor for class org.webmacro.util.QueueWriter
Create a new buffer.
QUOTE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
QuotedString() - Method in class org.webmacro.parser.WMParser_impl
 
QuotedStringBuilder - class org.webmacro.engine.QuotedStringBuilder.
 
QuotedStringBuilder() - Constructor for class org.webmacro.engine.QuotedStringBuilder
 

R

random(int, int) - Static method in class org.webmacro.servlet.MathTool
Creates a pseudo-random Integer between start and end, inclusive
RBRACE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
RBRACKET - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
RCS - Static variable in class org.webmacro.resource.URLTemplate
CVS revision
RCS - Static variable in class org.webmacro.resource.URLTemplateProvider
CVS Revision tag
RCS - Static variable in class org.webmacro.servlet.LocaleTool
 
RCS - Static variable in class org.webmacro.util.NativeAsciiReader
 
read(char[], int, int) - Method in class org.webmacro.util.NativeAsciiReader
Read a sequence of characters into the given buffer.
readChar() - Method in interface org.webmacro.parser.CharStream
Returns the next character from the selected input.
readChar() - Method in class org.webmacro.parser.ASCII_CharStream
 
readChar() - Method in class org.webmacro.parser.BackupCharStream
 
record(Profile) - Method in class org.webmacro.profile.ProfileCategory
Add the profiler to the record queue, and clean out any profilers that have been hanging around for too long.
recycle() - Method in class org.webmacro.Context
Return the context to the object pool assigned via setPool(), if any.
register(Object, Broker) - Static method in class org.webmacro.Broker
Used to maintain a weak map mapping the partition key to the Broker.
register(String, String) - Method in class org.webmacro.directive.DirectiveProvider
Register a new directive class, so that a builder of this type can be retrieved later.
register(String, String) - Method in class org.webmacro.engine.ParserProvider
Register a new parser class,
ReInit(CharStream) - Method in class org.webmacro.parser.WMParser_implTokenManager
 
ReInit(CharStream) - Method in class org.webmacro.parser.WMParser_impl
 
ReInit(CharStream, int) - Method in class org.webmacro.parser.WMParser_implTokenManager
 
ReInit(InputStream, int, int) - Method in class org.webmacro.parser.ASCII_CharStream
 
ReInit(InputStream, int, int) - Method in class org.webmacro.parser.BackupCharStream
 
ReInit(InputStream, int, int, int) - Method in class org.webmacro.parser.ASCII_CharStream
 
ReInit(InputStream, int, int, int) - Method in class org.webmacro.parser.BackupCharStream
 
ReInit(Reader) - Method in class org.webmacro.parser.BackupCharStream
 
ReInit(Reader, int, int) - Method in class org.webmacro.parser.ASCII_CharStream
 
ReInit(Reader, int, int) - Method in class org.webmacro.parser.BackupCharStream
 
ReInit(Reader, int, int, int) - Method in class org.webmacro.parser.ASCII_CharStream
 
ReInit(Reader, int, int, int) - Method in class org.webmacro.parser.BackupCharStream
 
ReInit(String, Reader) - Method in class org.webmacro.parser.WMParser_impl
 
ReInit(WMParser_implTokenManager) - Method in class org.webmacro.parser.WMParser_impl
 
reinitialize(HttpServletRequest, HttpServletResponse) - Method in class org.webmacro.servlet.WebContext
Reinitalized a WebContext for a new request
ReloadDelayDecorator - class org.webmacro.resource.ReloadDelayDecorator.
Utility class to handle creation of TimedReloadContext.
TimedReloadContext objects are used to prevent a cached resource of being checked for modification all the time, but only checks for in given intervals.
ReloadDelayDecorator() - Constructor for class org.webmacro.resource.ReloadDelayDecorator
 
RelOp() - Method in class org.webmacro.parser.WMParser_impl
 
remove() - Method in class org.webmacro.engine.BlockBuilder.BBIterator
 
remove() - Method in class org.webmacro.util.SparseArrayIterator
 
remove() - Method in class org.webmacro.util.ArrayIterator
Unsupported
remove() - Method in class org.webmacro.util.PrimitiveArrayIterator
Unsupported
remove() - Method in class org.webmacro.util.EnumIterator
Unsupported
remove(int) - Method in class org.webmacro.engine.BlockBuilder
 
remove(int) - Method in class org.webmacro.util.Atomizer
Remove an entry by atomic number, returning its former value.
remove(int) - Method in class org.webmacro.util.IntMap
 
remove(Object) - Method in class org.webmacro.Context
Method from Map interface, operates on underlying Map
remove(Object) - Method in class org.webmacro.util.DictionaryTool
Forward call to Dictionary
remove(Object) - Method in class org.webmacro.util.AbstractScalableMap
 
remove(Object) - Method in class org.webmacro.util.Atomizer
Remove an entry by value
remove(Object) - Method in interface org.webmacro.util.SimpleMap
Ensure that the key does not appear in the map
remove(Object) - Method in class org.webmacro.util.SimpleHashMap
Ensure that the key does not appear in the map
remove(Object) - Method in class org.webmacro.util.SimpleIdentityMap
Ensure that the key does not appear in the map Remember that you have to use the identical object (same reference) as the key, that was used when you placed the object into the map.
remove(String) - Method in class org.webmacro.servlet.FormList
Unsupported
remove(String) - Method in class org.webmacro.servlet.Form
Unsupported
remove(String) - Method in class org.webmacro.servlet.LocaleTool
Unsupported
remove(String) - Method in interface org.webmacro.util.Bag
Remove an item from the bag
removeObserver(LogSystem) - Method in class org.webmacro.util.AbstractLogFile
 
removeObserver(LogSystem) - Method in interface org.webmacro.util.LogTarget
A LogSystem may remove itself through this method if it de-registeres the LogTarget.
removeTarget(LogTarget) - Method in class org.webmacro.util.LogSystem
Remove a LogTarget from the LogSystem.
repeating - Variable in class org.webmacro.directive.Directive.OptionChoice
 
repeating - Variable in class org.webmacro.directive.Directive.Subdirective
 
replace(String, String, String) - Static method in class org.webmacro.servlet.TextTool
replace all occurrences of from to to in src.
RequestTool - class org.webmacro.servlet.RequestTool.
Provide Template with access to form data.
RequestTool() - Constructor for class org.webmacro.servlet.RequestTool
 
reset() - Method in class org.webmacro.profile.Profile
This method resets the data structures for this Profile so it can be re-used.
reset() - Method in class org.webmacro.util.QueueWriter
Reset the buffer so it can be used again
reset() - Method in class org.webmacro.util.ByteBufferOutputStream
Clear the contents of the byte buffer.
reset(OutputStream) - Method in class org.webmacro.FastWriter
Reset the fastwriter, clearing any contents that have been generated so far.
resetClockOnUpdate - Variable in class org.opendoors.util.PostponeObservable
While waiting to fire a notification, reset the interval if another change comes in.
ResourceException - exception org.webmacro.ResourceException.
Resource could not be loaded for some reason
ResourceException(String) - Constructor for class org.webmacro.ResourceException
 
ResourceException(String, Exception) - Constructor for class org.webmacro.ResourceException
 
ResourceLoader - interface org.webmacro.resource.ResourceLoader.
Methods to be implemented by a resource loader, which will work with a cache manager.
ResponseTool - class org.webmacro.servlet.ResponseTool.
Provide Template with access to form data.
ResponseTool() - Constructor for class org.webmacro.servlet.ResponseTool
 
RESTOFLINE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
RethrowableException - exception org.webmacro.RethrowableException.
RethrowableException A standard exception, inherited from Exception, which also includes a constructor of the form Exception(String, Exception) which allows one exception to wrap another without throwing away useful debugging information.
RethrowableException() - Constructor for class org.webmacro.RethrowableException
 
RethrowableException(String) - Constructor for class org.webmacro.RethrowableException
 
RethrowableException(String, Throwable) - Constructor for class org.webmacro.RethrowableException
 
RethrowableRuntimeException - exception org.webmacro.RethrowableRuntimeException.
RethrowableRuntimeException A standard exception, inherited from RuntimeException, which also includes a constructor of the form Exception(String, Exception) which allows one exception to wrap another without throwing away useful debugging information.
RethrowableRuntimeException() - Constructor for class org.webmacro.RethrowableRuntimeException
 
RethrowableRuntimeException(String) - Constructor for class org.webmacro.RethrowableRuntimeException
 
RethrowableRuntimeException(String, Throwable) - Constructor for class org.webmacro.RethrowableRuntimeException
 
RPAREN - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
rtrim(String) - Static method in class org.webmacro.servlet.TextTool
remove the trailing whitespace from a string
rtrimBlock(String) - Static method in class org.webmacro.servlet.TextTool
remove the trailing whitespace from each line in a block of text
run() - Method in class org.opendoors.cache.immutable.Depopulate
Depopulates the cache according to the instance parameters.
run() - Method in class org.opendoors.cache.immutable.Populate
Populates the cache according to the instance parameters.
run() - Method in class org.opendoors.util.Timer
Run the timer.
run() - Method in class org.webmacro.util.TimeLoop
Do not call this method.
run(String) - Method in class org.webmacro.tools.EvalTemplates
Evaluates a single template file argument.
RValue() - Method in class org.webmacro.parser.WMParser_impl
 

S

SAFE_UNICODE_ENCODING - Static variable in class org.webmacro.FastWriter
This encoding is either UTF16-BE or, if the platform does not support it, UTF8.
ScalableIdentityMap - class org.webmacro.util.ScalableIdentityMap.
Reduce locking overhead for a map with few writers and many readers.
ScalableIdentityMap() - Constructor for class org.webmacro.util.ScalableIdentityMap
 
ScalableIdentityMap(int) - Constructor for class org.webmacro.util.ScalableIdentityMap
 
ScalableIdentityMap(int, int) - Constructor for class org.webmacro.util.ScalableIdentityMap
 
ScalableMap - class org.webmacro.util.ScalableMap.
Reduce locking overhead for a map with few writers and many readers.
ScalableMap() - Constructor for class org.webmacro.util.ScalableMap
 
ScalableMap(int) - Constructor for class org.webmacro.util.ScalableMap
 
ScalableMap(int, int) - Constructor for class org.webmacro.util.ScalableMap
 
ScalablePool - class org.webmacro.util.ScalablePool.
This is a scalable pool.
ScalablePool() - Constructor for class org.webmacro.util.ScalablePool
Create a new Pool.
schedule(Runnable, int) - Method in class org.webmacro.util.TimeLoop
Schedule a job to run in the specified number of waitPeriods.
scheduleRepeat(Runnable, int) - Method in class org.webmacro.util.TimeLoop
Schedule a task to run repeatedly, once every waitPeriods.
scheduleRepeatTime(Runnable, long) - Method in class org.webmacro.util.TimeLoop
A convenience method which translates your milliseconds into wait periods.
scheduleTime(Runnable, long) - Method in class org.webmacro.util.TimeLoop
A convenience method which translates your milliseconds into wait periods.
SelectList - class org.webmacro.util.SelectList.
 
SelectList(Object[], int) - Constructor for class org.webmacro.util.SelectList
 
SEMI - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
Servlet20Broker - class org.webmacro.servlet.Servlet20Broker.
An implementation of Broker tailored for Servlet 2.0/2.1 environments.
Servlet20Broker(ServletContext, ClassLoader) - Constructor for class org.webmacro.servlet.Servlet20Broker
 
Servlet22Broker - class org.webmacro.servlet.Servlet22Broker.
An implementation of Broker tailored for Servlet 2.2 environments.
Servlet22Broker(ServletContext, ClassLoader) - Constructor for class org.webmacro.servlet.Servlet22Broker
Creates the broker looking in WEB-INF first for WebMacro.properties before looking in the application root.
ServletBroker - class org.webmacro.servlet.ServletBroker.
 
ServletBroker(ServletContext) - Constructor for class org.webmacro.servlet.ServletBroker
 
ServletLog - class org.webmacro.servlet.ServletLog.
 
ServletLog(ServletContext, Settings) - Constructor for class org.webmacro.servlet.ServletLog
 
SessionTool - class org.webmacro.servlet.SessionTool.
Provide Template with access to form data.
SessionTool() - Constructor for class org.webmacro.servlet.SessionTool
 
set(Object) - Method in class org.webmacro.util.SharedObject
This method must be called by only a single thread.
set(Object) - Method in class org.webmacro.util.SharedReference
This method must be called by only a single thread.
set(Object[], Object) - Method in class org.webmacro.Context
Set the named property in the Context.
set(String, Object) - Method in class org.webmacro.servlet.CookieJar
Calls put
setArg(int, Object) - Method in class org.webmacro.directive.DirectiveBuilder
Set the argument whose id is the specified id.
setArg(int, Object) - Method in class org.webmacro.directive.ArgsHolder
Set the argument whose id is the specified id.
setArg(int, Object) - Method in interface org.webmacro.directive.DirectiveArgs
 
setAsciiHack(boolean) - Method in class org.webmacro.FastWriter
Ordinarily an expensive char-to-byte routine is used to convert strings and char[]'s to byte format.
SetblockDirective - class org.webmacro.directive.SetblockDirective.
 
SetblockDirective() - Constructor for class org.webmacro.directive.SetblockDirective
 
setBrokerLocal(Object, Object) - Method in class org.webmacro.Broker
Store a key/value in this Broker.
setCacheImpl(CacheImpl, int) - Method in class org.opendoors.cache.immutable.ChangeControl
Sets up the cache for change control: the cache, the refresh rate and returns the mutex.
setChanged() - Method in class org.opendoors.util.PostponeObservable
Signals that the observable has changed.
setClasspath(Path) - Method in class org.webmacro.tools.WMTemplateAntTask
 
setClasspathRef(Reference) - Method in class org.webmacro.tools.WMTemplateAntTask
 
setCookie(String, String) - Method in class org.webmacro.servlet.WebContext
send a cookie in the response
setDebugStream(PrintStream) - Method in class org.webmacro.parser.WMParser_implTokenManager
 
SetDirective - class org.webmacro.directive.SetDirective.
 
SetDirective() - Constructor for class org.webmacro.directive.SetDirective
 
SetDirective(Variable, Object) - Constructor for class org.webmacro.directive.SetDirective
 
setElementAt(Object, int) - Method in class org.webmacro.engine.BlockBuilder
 
setEvaluationExceptionHandler(EvaluationExceptionHandler) - Method in class org.webmacro.Broker
Set a new EvaluationExceptionHandler
setEvaluationExceptionHandler(EvaluationExceptionHandler) - Method in class org.webmacro.Context
Set a new EvaluationExceptionHandler
setLogLevel(int) - Method in class org.webmacro.util.AbstractLogFile
Set the log level for this Logfile.
setLogLevel(String, int) - Method in class org.webmacro.util.AbstractLogFile
Set the log level for a specific category name.
setMap(Map) - Method in class org.webmacro.Context
Set the underlying Map object.
setName(String) - Method in class org.opendoors.util.Timer
Sets the name of the timer.
setName(String) - Method in interface org.webmacro.Template
 
setName(String) - Method in class org.webmacro.engine.TestObject
 
setName(String) - Method in class org.webmacro.engine.WMTemplate
Set the name for this template.
setName(String) - Method in class org.webmacro.engine.StreamTemplate
 
setOneShot(boolean) - Method in class org.opendoors.util.Timer
Set this object to be one-shot or not.
setOptional() - Method in class org.webmacro.directive.Directive.ArgDescriptor
 
setOptional(int) - Method in class org.webmacro.directive.Directive.ArgDescriptor
 
setOutputStream(OutputStream) - Method in class org.webmacro.util.WMEval
Sets the output stream to be different than the default, System.out.
setParam(String, Object) - Method in interface org.webmacro.Template
set a parameter.
setParam(String, Object) - Method in class org.webmacro.engine.WMTemplate
 
setParsedTemplate(Template) - Method in class org.webmacro.util.WMEval
Supplies the parsed rule directly.
setPeriod(int) - Method in class org.opendoors.util.Timer
Sets the period in milliseconds.
setPool(Pool) - Method in class org.webmacro.Context
Assign the object pool that this context should return to when its recycle() method is called.
setPostponePeriod(int) - Method in class org.opendoors.util.PostponeObservable
Sets the observable period.
setProperty(Context, Object, Object[], int, Object) - Method in class org.webmacro.engine.PropertyOperatorCache
Given a property description name, attempt to set the property value to the supplied object.
setProperty(Context, Object, Object[], Object) - Method in class org.webmacro.engine.PropertyOperatorCache
Calls setProperty(context, names, 0, value)
setProperty(Object[], Object) - Method in class org.webmacro.Context
Same as set(Object names[], Object value) but can be overridden by subclasses to behave differently
setProperty(Object, Object) - Method in class org.webmacro.Context
Same as put(name,value) but can be overridden by subclasses to do something different
setReload(boolean) - Method in class org.webmacro.resource.BrokerTemplateProviderHelper
 
setReloadContext(CacheReloadContext) - Method in class org.webmacro.resource.CacheElement
 
setTickInterval(int) - Static method in class org.webmacro.util.Clock
The clock will tick at least this often.
Settings - class org.webmacro.util.Settings.
 
SETTINGS_PREFIX - Static variable in class org.webmacro.Broker
 
Settings.ListSettingHandler - class org.webmacro.util.Settings.ListSettingHandler.
 
Settings.ListSettingHandler() - Constructor for class org.webmacro.util.Settings.ListSettingHandler
 
Settings() - Constructor for class org.webmacro.util.Settings
Create an empty Settings object
Settings(Properties) - Constructor for class org.webmacro.util.Settings
Instantiate a new Settings object using the properties supplied as the settings values.
Settings(Settings) - Constructor for class org.webmacro.util.Settings
Instantaite a new Settings object using the supplied Settings as the defaults
Settings(String) - Constructor for class org.webmacro.util.Settings
Search for the named settingsFile on the classpath and instantiate a Settings object based on its values
Settings(URL) - Constructor for class org.webmacro.util.Settings
Search for the named settingsFile from the supplied URL and instantiate a Settings object based on its values
setTraceExceptions(boolean) - Method in class org.webmacro.util.AbstractLogFile
Set whether this LogFile traces exceptions.
setValue(Context, Object) - Method in class org.webmacro.engine.Variable
The code to set the value represented by the variable in the supplied context.
setVariableType(String, Object) - Method in class org.webmacro.engine.BuildContext
Declare whether the named variable is to be treated as a tool, local variable, or property variable type.
SharedObject - class org.webmacro.util.SharedObject.
Share an object with minimal synchronization
SharedObject(Object) - Constructor for class org.webmacro.util.SharedObject
 
SharedReference - class org.webmacro.util.SharedReference.
Share an object with minimal synchronization
SharedReference(Object) - Constructor for class org.webmacro.util.SharedReference
Create a new SoftReference to o and wrap it in a SharedReference
SHORT - Static variable in class org.webmacro.util.CastUtil
 
shouldReload() - Method in class org.webmacro.resource.CacheReloadContext
The CacheManager calls shouldReload to ask the reference whether it has changed since we loaded it.
shouldReload() - Method in class org.webmacro.resource.URLTemplate
URL based templates are difficult to detect as changed in general, but the two special cases for "file:[path]" and "jar:file:[jarpath]![path]" mean we have reference to the actual file
shouldReload() - Method in class org.webmacro.resource.TimedReloadContext
Check, whether the underlying resource should be reloaded.
shouldReload(String) - Method in class org.webmacro.resource.URLTemplateProvider
 
show(int) - Method in class org.webmacro.engine.TestObject
 
show(long) - Method in class org.webmacro.engine.TestObject
 
show(Object) - Method in class org.webmacro.engine.TestObject
 
show(String) - Method in class org.webmacro.engine.TestObject
 
shutdown() - Method in class org.webmacro.Broker
Shut down the broker
SilenceDirective - class org.webmacro.directive.SilenceDirective.
 
SilenceDirective() - Constructor for class org.webmacro.directive.SilenceDirective
 
SilenceFilter - class org.webmacro.engine.SilenceFilter.
 
SilenceFilter() - Constructor for class org.webmacro.engine.SilenceFilter
 
SimpleHashMap - class org.webmacro.util.SimpleHashMap.
This map has a fixed number of buckets.
SimpleHashMap() - Constructor for class org.webmacro.util.SimpleHashMap
Create a new SimpleMap with 1001 LRU buckets
SimpleHashMap(int) - Constructor for class org.webmacro.util.SimpleHashMap
Create a new SimpleMap with 'size' LRU buckets
SimpleIdentityMap - class org.webmacro.util.SimpleIdentityMap.
Identity map, that is especially suited to canonical mappings.
SimpleIdentityMap() - Constructor for class org.webmacro.util.SimpleIdentityMap
Create a new SimpleMap with 1001 LRU buckets
SimpleIdentityMap(int) - Constructor for class org.webmacro.util.SimpleIdentityMap
Create a new SimpleMap with 'size' LRU buckets
SimpleMap - interface org.webmacro.util.SimpleMap.
Interface for a simple map, that does not have all the features of java.util.Map.
SimpleMapFactory - interface org.webmacro.util.SimpleMapFactory.
Interface for classes, that can create SimpleMap instances
SimpleStack - class org.webmacro.util.SimpleStack.
This is a simple stack.
SimpleStack() - Constructor for class org.webmacro.util.SimpleStack
 
size() - Method in class org.webmacro.Context
Method from Map interface, operates on underlying Map
size() - Method in class org.webmacro.FastWriter
Return the number of bytes that would be written out if flush() is called.
size() - Method in class org.webmacro.engine.BlockBuilder
 
size() - Method in class org.webmacro.util.DictionaryTool
Forward call to Dictionary
size() - Method in class org.webmacro.util.SimpleStack
 
size() - Method in class org.webmacro.util.QueueWriter
Return the total number of characters stored in the buffer
size() - Method in class org.webmacro.util.IntStack
 
size() - Method in class org.webmacro.util.ByteBufferOutputStream
How many bytes currently in the buffer
size(List) - Static method in class org.webmacro.servlet.ListUtil
 
size(Object) - Static method in class org.webmacro.servlet.ListUtil
 
size(Object[]) - Static method in class org.webmacro.servlet.ListUtil
 
SLASH - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
SMapCacheManager - class org.webmacro.resource.SMapCacheManager.
 
SMapCacheManager() - Constructor for class org.webmacro.resource.SMapCacheManager
 
SparseArrayIterator - class org.webmacro.util.SparseArrayIterator.
 
specialConstructor - Variable in class org.webmacro.parser.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class org.webmacro.parser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
split(List, int) - Static method in class org.webmacro.servlet.ListUtil
Splits list into multiple lists of equal size.
split(List, int, boolean) - Static method in class org.webmacro.servlet.ListUtil
Splits list into multiple lists of equal size.
split(List, int, boolean, Object) - Static method in class org.webmacro.servlet.ListUtil
Splits list into multiple lists of equal size.
split(List, int, Object) - Static method in class org.webmacro.servlet.ListUtil
Splits list into multiple lists of equal size.
split(Object[], int) - Static method in class org.webmacro.servlet.ListUtil
Splits array into multiple arrays of equal size.
split(Object[], int, boolean) - Static method in class org.webmacro.servlet.ListUtil
Splits array into multiple arrays of equal size.
split(Object[], int, boolean, Object) - Static method in class org.webmacro.servlet.ListUtil
Splits array into multiple arrays of equal size.
split(Object[], int, Object) - Static method in class org.webmacro.servlet.ListUtil
Splits array into multiple arrays of equal size.
split(String, String) - Static method in class org.webmacro.servlet.TextTool
Split the input String into a String[] at each instance of delimiter.
SQS - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
SQS_TEXT - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
SQUOTE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
start - Variable in class org.webmacro.profile.ProfileEvent
Milliseconds since Jan 1, 1970 that this event started
start() - Method in class org.webmacro.servlet.WMServlet
Override this method to implement any startup/init code you require.
start(long) - Static method in class org.webmacro.util.ThreadScheduler
Start scheduling thread events
startEvent(String) - Method in class org.webmacro.profile.Profile
Start timing an event called 'name'.
startTiming(String) - Method in class org.webmacro.Context
Mark the start of an event for profiling.
startTiming(String, boolean) - Method in class org.webmacro.Context
Same as startTiming(name1 + "(" + arg + ")") but the concatenation of strings and the call to toString() occurs only if profiling is enabled.
startTiming(String, int) - Method in class org.webmacro.Context
Same as startTiming(name1 + "(" + arg + ")") but the concatenation of strings and the call to toString() occurs only if profiling is enabled.
startTiming(String, Object) - Method in class org.webmacro.Context
Same as startTiming(name1 + "(" + arg + ")") but the concatenation of strings and the call to arg.toString() occurs only if profiling is enabled.
startTiming(String, Object, Object) - Method in class org.webmacro.Context
Same as startTiming(name1 + "(" + arg1 + "," + arg2 + ")") but the concatenation of strings and the call to arg.toString() occurs only if profiling * is enabled.
StaticClassWrapper - class org.webmacro.engine.StaticClassWrapper.
Simple class for wrapping a Class instance of a static class.
StaticClassWrapper(Class) - Constructor for class org.webmacro.engine.StaticClassWrapper
Creates new StaticClassWrapper
staticFlag - Static variable in class org.webmacro.parser.ASCII_CharStream
 
staticFlag - Static variable in class org.webmacro.parser.BackupCharStream
 
StaticIdentityCacheManager - class org.webmacro.resource.StaticIdentityCacheManager.
 
StaticIdentityCacheManager() - Constructor for class org.webmacro.resource.StaticIdentityCacheManager
 
StaticSMapCacheManager - class org.webmacro.resource.StaticSMapCacheManager.
 
StaticSMapCacheManager() - Constructor for class org.webmacro.resource.StaticSMapCacheManager
 
stop() - Method in class org.opendoors.util.Timer
Stop the timer
stop() - Method in class org.webmacro.servlet.WMServlet
Override this method to implement any shutdown code you require.
stop() - Static method in class org.webmacro.util.ThreadScheduler
Stop scheduling thread events
stopEvent() - Method in class org.webmacro.profile.Profile
Stop timing the last event started.
stopTiming() - Method in class org.webmacro.Context
Mark the end of an event for profiling.
StreamTemplate - class org.webmacro.engine.StreamTemplate.
StreamTempaltes are constructed with a stream from which they read their data.
StreamTemplate(Broker, InputStream) - Constructor for class org.webmacro.engine.StreamTemplate
Instantiate a template based on the specified stream Will use webmacro's default encoding.
StreamTemplate(Broker, InputStream, String) - Constructor for class org.webmacro.engine.StreamTemplate
Instantiate a template based on the specified stream If encoding is null, webmacro's default encoding will be used.
StreamTemplate(Broker, Reader) - Constructor for class org.webmacro.engine.StreamTemplate
Instantiate a template based on the specified stream
streamToString(InputStream) - Static method in class org.webmacro.servlet.TextTool
Write the bytes of the specified InputStream into a String using the default character encoding of your platform.
streamToString(InputStream, String) - Static method in class org.webmacro.servlet.TextTool
Write the bytes of the specified InputStream into a String using the specified character encoding.
StringArg() - Method in class org.webmacro.parser.WMParser_impl
 
stringArray - Static variable in class org.webmacro.util.Settings
 
StringArray - class org.webmacro.util.StringArray.
This wraps a string array such that it can be used as the index of a hashtable, etc.
StringArray(int) - Constructor for class org.webmacro.util.StringArray
Create an empty StringArray
StringArray(String[]) - Constructor for class org.webmacro.util.StringArray
Create a new StringArray
StringArray(Vector) - Constructor for class org.webmacro.util.StringArray
Create a StringArray from a Vector, if the elements of the vector are not strings you will get a ClassCastException
StringMacroAdapter - class org.webmacro.engine.StringMacroAdapter.
Looks like a Macro, but really it's a String.
StringMacroAdapter(String) - Constructor for class org.webmacro.engine.StringMacroAdapter
 
StringTemplate - class org.webmacro.engine.StringTemplate.
StringTemplate objects read their template data from a string.
StringTemplate(Broker, String) - Constructor for class org.webmacro.engine.StringTemplate
Instantiate a template.
StringTemplate(Broker, String, String) - Constructor for class org.webmacro.engine.StringTemplate
Instantiate a template.
STUFF - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
subdirectiveOk(int) - Method in class org.webmacro.directive.DirectiveBuilder
Check to see if the specified subdirective is OK at this point.
subdirectives - Variable in class org.webmacro.directive.DirectiveDescriptor
 
SubdirectiveStart() - Method in class org.webmacro.parser.WMParser_impl
 
subordinateArgs - Variable in class org.webmacro.directive.Directive.ArgDescriptor
 
subscribe(String, String, int) - Method in class org.webmacro.util.AbstractLogFile
 
subscribe(String, String, int) - Method in interface org.webmacro.util.LogTarget
Return true or false if this log target would like to receive log messages for the named category, type, and logLevel.
SubSettings - class org.webmacro.util.SubSettings.
 
SubSettings(Settings, String) - Constructor for class org.webmacro.util.SubSettings
Get a subset of the settings in this Settings.
supportsReload() - Method in class org.webmacro.resource.TrivialCacheManager
 
supportsReload() - Method in interface org.webmacro.resource.CacheManager
Does this cache manager support reloading of resources if the underlying resource has changed?
supportsReload() - Method in class org.webmacro.resource.StaticSMapCacheManager
 
supportsReload() - Method in class org.webmacro.resource.StaticIdentityCacheManager
 
supportsReload() - Method in class org.webmacro.resource.HMapCacheManager
 
supportsReload() - Method in class org.webmacro.resource.SMapCacheManager
 
supportsReload() - Method in class org.webmacro.resource.GenerationalCacheManager
This manager supports reloading and so this returns true.
SwitchTo(int) - Method in class org.webmacro.parser.WMParser_implTokenManager
 

T

Template - interface org.webmacro.Template.
 
TEMPLATE_INPUT_ENCODING - Static variable in class org.webmacro.WMConstants
 
TEMPLATE_LOCALE - Static variable in class org.webmacro.WMConstants
 
TEMPLATE_OUTPUT_ENCODING - Static variable in class org.webmacro.WMConstants
 
TemplateDumper - class org.webmacro.engine.TemplateDumper.
 
TemplateDumper() - Constructor for class org.webmacro.engine.TemplateDumper
 
TemplateEvalAntTask - class org.webmacro.tools.TemplateEvalAntTask.
 
TemplateEvalAntTask() - Constructor for class org.webmacro.tools.TemplateEvalAntTask
 
TemplateException - exception org.webmacro.TemplateException.
Exception raised on discovery of a parsing error.
TemplateException() - Constructor for class org.webmacro.TemplateException
 
TemplateException(String) - Constructor for class org.webmacro.TemplateException
Create a new exception
TemplateException(String, Throwable) - Constructor for class org.webmacro.TemplateException
Create a new exception, wrapping another exception
TemplateProvider - class org.webmacro.resource.TemplateProvider.
The TemplateProvider is the WebMacro class responsible for loading templates.
TemplateProvider() - Constructor for class org.webmacro.resource.TemplateProvider
 
TemplateTool - class org.webmacro.servlet.TemplateTool.
This is an experimental context tool that allows templates to be used as macros.
TemplateTool.MacroTemplate - class org.webmacro.servlet.TemplateTool.MacroTemplate.
Encapsulates a template and a context, allowing a template to be used like a function or "macro".
TemplateTool.MacroTemplate(TemplateTool, Context, String) - Constructor for class org.webmacro.servlet.TemplateTool.MacroTemplate
Construct a MacroTemplate with a StringTemplate
TemplateTool.MacroTemplate(TemplateTool, Context, Template) - Constructor for class org.webmacro.servlet.TemplateTool.MacroTemplate
Constructor
TemplateTool.MacroTemplateFactory - class org.webmacro.servlet.TemplateTool.MacroTemplateFactory.
A factory class for creating MacroTemplate objects.
TemplateTool.MacroTemplateFactory(TemplateTool, Context) - Constructor for class org.webmacro.servlet.TemplateTool.MacroTemplateFactory
Constructor
TemplateTool() - Constructor for class org.webmacro.servlet.TemplateTool
Creates new TemplateTool
TemplateVisitor - class org.webmacro.TemplateVisitor.
 
TemplateVisitor() - Constructor for class org.webmacro.TemplateVisitor
 
Term() - Method in class org.webmacro.parser.WMParser_impl
 
TestObject - class org.webmacro.engine.TestObject.
This class exists for testing purposes only
TestObject(String) - Constructor for class org.webmacro.engine.TestObject
 
TestObject(String, boolean) - Constructor for class org.webmacro.engine.TestObject
 
tet - Variable in class org.opendoors.cache.immutable.Populate
 
text - Variable in class org.webmacro.util.Encoder.Block
 
TextDirective - class org.webmacro.directive.TextDirective.
 
TextDirective() - Constructor for class org.webmacro.directive.TextDirective
 
TextParser - class org.webmacro.engine.TextParser.
This parser returns all the input as is
TextParser(Broker) - Constructor for class org.webmacro.engine.TextParser
 
TextTool - class org.webmacro.servlet.TextTool.
A ContextTool for String manipulation.
TextTool() - Constructor for class org.webmacro.servlet.TextTool
default contsructor.
TextTool(Context) - Constructor for class org.webmacro.servlet.TextTool
public constructor.
ThreadScheduler - class org.webmacro.util.ThreadScheduler.
Creates scheduling events at regular intervals by running a high priority thread which sleeps in a loop.
ThreadScheduler() - Constructor for class org.webmacro.util.ThreadScheduler
 
TIME - Static variable in class org.webmacro.util.Clock
Every tick interval the following variable is updated with the current system time
TimedReloadContext - class org.webmacro.resource.TimedReloadContext.
TimedReloadContext acts as an Decorator for Reload context to support cache resources that are expensive to check for change.
TimedReloadContext(CacheReloadContext, long) - Constructor for class org.webmacro.resource.TimedReloadContext
Construct a new TimedReloadContext decorator.
TimeLoop - class org.webmacro.util.TimeLoop.
TimeLoop is a scheduler which can schedule Runnable objects for execution or repeate execution.
TimeLoop(long, int) - Constructor for class org.webmacro.util.TimeLoop
Create a new TimeLoop.
Timer - class org.opendoors.util.Timer.
This class provides timer and supporting events to client objects by extending the Observable base class.
Timer() - Constructor for class org.opendoors.util.Timer
Public constructor to create a timer event source using factory defaults which are 1 second timer, recurring.
Timer(String, int, boolean) - Constructor for class org.opendoors.util.Timer
Construct a timer with the certain properties set.
timerAction() - Method in class org.opendoors.util.PostponeObservable
Call back from the timer when the observation period has expired.
timestamp - Variable in class org.webmacro.profile.Profile
ProfileCategory uses this to manage us
toBoolean(Object) - Static method in class org.webmacro.util.CastUtil
 
toByte(Object) - Static method in class org.webmacro.util.CastUtil
 
toByteArray() - Method in class org.webmacro.FastWriter
Copy the contents written so far into a byte array.
toChar(Object) - Static method in class org.webmacro.util.CastUtil
 
toDouble(Object) - Static method in class org.webmacro.util.CastUtil
 
toFloat(Object) - Static method in class org.webmacro.util.CastUtil
 
toInt(Object) - Static method in class org.webmacro.util.CastUtil
 
token - Variable in class org.webmacro.parser.WMParser_impl
 
Token - class org.webmacro.parser.Token.
Describes the input token stream.
token_source - Variable in class org.webmacro.parser.WMParser_impl
 
Token() - Constructor for class org.webmacro.parser.Token
 
tokenImage - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
tokenImage - Variable in class org.webmacro.parser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - error org.webmacro.parser.TokenMgrError.
 
TokenMgrError() - Constructor for class org.webmacro.parser.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class org.webmacro.parser.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class org.webmacro.parser.TokenMgrError
 
toList(Object) - Static method in class org.webmacro.servlet.ListUtil
Returns a List for any Object.
toLong(Object) - Static method in class org.webmacro.util.CastUtil
 
toShort(Object) - Static method in class org.webmacro.util.CastUtil
 
toString() - Method in class org.webmacro.Broker
Explain myself
toString() - Method in class org.webmacro.WM
 
toString() - Method in class org.webmacro.FastWriter
Copy the contents written so far into a String.
toString() - Method in class org.webmacro.engine.ParamBuilder
 
toString() - Method in class org.webmacro.engine.StringMacroAdapter
 
toString() - Method in class org.webmacro.engine.Variable
Return the String name of the variable prefixed with a string representing its type.
toString() - Method in class org.webmacro.engine.WMTemplate
Return a name for this template.
toString() - Method in class org.webmacro.engine.FileTemplate
Return a name for this template.
toString() - Method in class org.webmacro.engine.StreamTemplate
Return a name for this template.
toString() - Method in class org.webmacro.engine.MacroAdapter
 
toString() - Method in class org.webmacro.engine.StringTemplate
Return a name for this template.
toString() - Method in class org.webmacro.parser.Token
Returns the image.
toString() - Method in class org.webmacro.profile.CallGraph
 
toString() - Method in class org.webmacro.profile.ProfileCategory
 
toString() - Method in class org.webmacro.resource.StaticSMapCacheManager
 
toString() - Method in class org.webmacro.resource.StaticIdentityCacheManager
 
toString() - Method in class org.webmacro.resource.URLTemplate
Return a name for this template.
toString() - Method in class org.webmacro.resource.CachingProvider
 
toString() - Method in class org.webmacro.resource.HMapCacheManager
 
toString() - Method in class org.webmacro.resource.SMapCacheManager
 
toString() - Method in interface org.webmacro.servlet.Handler
You SHOULD override this method and provide a short name by which your handler is known.
toString() - Method in class org.webmacro.util.AbstractLogFile
 
toString() - Method in class org.webmacro.util.PropertyMethod
Return a signature of this method
toString() - Method in class org.webmacro.util.SharedObject
 
toString() - Method in class org.webmacro.util.QueueWriter
 
toString() - Method in class org.webmacro.util.LogSource
Explain myself
toString() - Method in class org.webmacro.util.SharedReference
 
toString() - Method in class org.webmacro.util.StringArray
Return a string representation listing all of the children
toString() - Method in class org.webmacro.util.ByteBufferOutputStream
Convert the bytes to a String using the default encoding
toString() - Method in class org.webmacro.util.SelectList
 
toString() - Method in class org.webmacro.util.TimeLoop
 
toString(String) - Method in class org.webmacro.util.ByteBufferOutputStream
Convert the bytes to a String using the specified encodign
transposeSplit(List, int) - Static method in class org.webmacro.servlet.ListUtil
Transposes and splits list into multiple lists of equal size.
transposeSplit(List, int, boolean) - Static method in class org.webmacro.servlet.ListUtil
Transposes and splits list into multiple lists of equal size.
transposeSplit(List, int, boolean, Object) - Static method in class org.webmacro.servlet.ListUtil
Transposes and splits list into multiple lists of equal size.
transposeSplit(List, int, Object) - Static method in class org.webmacro.servlet.ListUtil
Transposes and splits list into multiple lists of equal size.
transposeSplit(Object[], int) - Static method in class org.webmacro.servlet.ListUtil
Transposes and splits array into multiple arrays of equal size.
transposeSplit(Object[], int, boolean) - Static method in class org.webmacro.servlet.ListUtil
Transposes and splits array into multiple arrays of equal size.
transposeSplit(Object[], int, boolean, Object) - Static method in class org.webmacro.servlet.ListUtil
Transposes and splits array into multiple arrays of equal size.
transposeSplit(Object[], int, Object) - Static method in class org.webmacro.servlet.ListUtil
Transposes and splits array into multiple arrays of equal size.
trim(String) - Static method in class org.webmacro.servlet.TextTool
remove any leading and trailing whitespace from a string
trimBlock(String) - Static method in class org.webmacro.servlet.TextTool
remove the leading and trailing whitespace from each line in a block of text
TrivialCacheManager - class org.webmacro.resource.TrivialCacheManager.
 
TrivialCacheManager() - Constructor for class org.webmacro.resource.TrivialCacheManager
 
TRUE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
type - Variable in class org.webmacro.directive.Directive.ArgDescriptor
 
TYPE - Static variable in class org.webmacro.util.EncoderProvider
The provider type for this provider.
TYPE_CLASSNAME - Static variable in class org.webmacro.directive.TypeDirective
 
TYPE_DYNAMIC - Static variable in class org.webmacro.directive.IncludeDirective
the file to include is unknown, so we'll need to figure it out based on filename
TYPE_OBJECT - Static variable in class org.webmacro.directive.TypeDirective
 
TYPE_REQUIRED - Static variable in class org.webmacro.directive.TypeDirective
 
TYPE_TEMPLATE - Static variable in class org.webmacro.directive.IncludeDirective
the file to include is a Template
TYPE_TEXT - Static variable in class org.webmacro.directive.IncludeDirective
the file to include is a static file
TypeDirective - class org.webmacro.directive.TypeDirective.
TypeDirective allows the programmer (or template designer) to ensure objects placed into the Context are of the required class type.
TypeDirective() - Constructor for class org.webmacro.directive.TypeDirective
 
TypeTool - class org.webmacro.servlet.TypeTool.
Provide templates a way to cast objects to primitive type wrappers
TypeTool() - Constructor for class org.webmacro.servlet.TypeTool
 

U

UnsettableException - exception org.webmacro.UnsettableException.
This exception is thrown on attempt to set something that is not settable.
UnsettableException(String) - Constructor for class org.webmacro.UnsettableException
Constructor only requires a reason
update() - Method in interface org.opendoors.cache.UpdateableCache
Updates the cache.
update() - Method in class org.opendoors.cache.immutable.CacheImpl
Allows for the cache to be explicitly updated.
update(LogTarget, String) - Method in class org.webmacro.util.LogSystem
LogTarget should call this method to notify LogSystem that conditions have changed and that the subscribe() method on LogTarget may now return a different value.
update(Observable, Object) - Method in class org.opendoors.cache.immutable.ChangeControl
Call back for changes pending to be implemented.
UpdateableCache - interface org.opendoors.cache.UpdateableCache.
Some cache implementations will expose an explicit udpate method allowing clients to perform pending updates to the cache which brings the cache up-to-date with recent mutations to the cache.
UPool - class org.webmacro.util.UPool.
This is an unsynchronized object pool.
UPool(int) - Constructor for class org.webmacro.util.UPool
Create a new Pool.
URLDecode(String) - Static method in class org.webmacro.servlet.TextTool
Decode a URLEncoded input String.
URLEncode(String) - Static method in class org.webmacro.servlet.TextTool
URLEncode the specified input String.
UrlProvider - class org.webmacro.resource.UrlProvider.
This is the canonical provider for mapping URLs to Handlers.
UrlProvider() - Constructor for class org.webmacro.resource.UrlProvider
 
URLTemplate - class org.webmacro.resource.URLTemplate.
FileTemplate objects read their template data from a text file.
URLTemplate(Broker, URL) - Constructor for class org.webmacro.resource.URLTemplate
Instantiate a template based on the specified file We use can use the special case or URLs like file:xxxxxx or jar:xxxxxx!yyyyyy extracting the xxxxxx.
URLTemplateProvider - class org.webmacro.resource.URLTemplateProvider.
This is a "drop-in" replacement for the standard TemplateProvider in the WebMacro distribution.
URLTemplateProvider() - Constructor for class org.webmacro.resource.URLTemplateProvider
 

V

valid - Variable in class org.webmacro.directive.DirectiveDescriptor
 
values() - Method in interface org.opendoors.cache.Cache
Returns all the values in the cache.
values() - Method in class org.opendoors.cache.immutable.CacheImpl
Returns the elements in the cache as an array using the current image.
values() - Method in class org.webmacro.Context
Method from Map interface, operates on underlying Map
values() - Method in class org.webmacro.util.ComponentMap
Get an iterator that walkst hrough the values installed into this ComponentMap
Variable - class org.webmacro.engine.Variable.
A Variable is a reference into a Propertymap.
VariableBuilder - class org.webmacro.engine.VariableBuilder.
 
VariableBuilder(Object[], boolean) - Constructor for class org.webmacro.engine.VariableBuilder
 
variableName - Variable in class org.webmacro.PropertyException.NoSuchVariableException
 
variableName - Variable in class org.webmacro.PropertyException.NullToStringException
 
variableName - Variable in class org.webmacro.PropertyException.NullValueException
 
variableName - Variable in class org.webmacro.PropertyException.NoSuchMethodException
 
VariableReference() - Method in class org.webmacro.parser.WMParser_impl
 
VariableReferenceGuts(ArrayList) - Method in class org.webmacro.parser.WMParser_impl
 
VariableTool - class org.webmacro.servlet.VariableTool.
A ContextTool which allows one to snoop information about an object in the active Context.
VariableTool() - Constructor for class org.webmacro.servlet.VariableTool
 
VariableTool(Context) - Constructor for class org.webmacro.servlet.VariableTool
 
VERSION - Static variable in interface org.webmacro.WebMacro
The current version of WebMacro.
Visitable - interface org.webmacro.Visitable.
Visitable Interface implemented by Macros so that Visitors can traverse them.
visitBinaryOperation(String, Object, Object) - Method in class org.webmacro.TemplateVisitor
 
visitBinaryOperation(String, Object, Object) - Method in class org.webmacro.engine.TemplateDumper
 
visitDirectiveArg(String, Object) - Method in class org.webmacro.TemplateVisitor
 
visitDirectiveArg(String, Object) - Method in class org.webmacro.engine.TemplateDumper
 
visitMacro(Macro) - Method in class org.webmacro.TemplateVisitor
 
visitString(String) - Method in class org.webmacro.TemplateVisitor
 
visitString(String) - Method in class org.webmacro.engine.TemplateDumper
 
visitUnaryOperation(String, Object) - Method in class org.webmacro.TemplateVisitor
 
visitUnaryOperation(String, Object) - Method in class org.webmacro.engine.TemplateDumper
 
visitUnknownMacro(String, Macro) - Method in class org.webmacro.TemplateVisitor
 
visitUnknownMacro(String, Macro) - Method in class org.webmacro.engine.TemplateDumper
 
visitVariable(Variable, Object[]) - Method in class org.webmacro.TemplateVisitor
 
visitVariable(Variable, Object[]) - Method in class org.webmacro.engine.TemplateDumper
 
VoidMacro - class org.webmacro.engine.VoidMacro.
VoidMacro doesn't output data to the output stream, but will log a debug message (if debugging is turned on) when either of it's methods are called.
VoidMacro() - Constructor for class org.webmacro.engine.VoidMacro
 

W

WARNING - Static variable in class org.webmacro.util.LogSystem
 
warning(String) - Method in interface org.webmacro.Log
A shortform for debug(msg,null)
warning(String) - Method in class org.webmacro.util.LogSource
A shortform for warning(msg,null)
warning(String, Exception) - Method in interface org.webmacro.Log
Warnings are messages outlining unexpected non-routine events within the system.
warning(String, Exception) - Method in class org.webmacro.util.LogSource
Warnings are messages outlining unexpected non-routine events within the system.
warningString(String) - Method in class org.webmacro.engine.CrankyEvaluationExceptionHandler
 
warningString(String) - Method in class org.webmacro.engine.DefaultEvaluationExceptionHandler
 
warningString(String) - Method in interface org.webmacro.engine.EvaluationExceptionHandler
 
WebContext - class org.webmacro.servlet.WebContext.
This is an implementation of the WebContext interface.
WebContext(Broker) - Constructor for class org.webmacro.servlet.WebContext
Construct a new WebContext.
WebMacro - interface org.webmacro.WebMacro.
WebMacro Manager Interface This interface provies root access into the WebMacro system.
WEBMACRO_DEFAULTS - Static variable in class org.webmacro.Broker
 
WEBMACRO_DEFAULTS_FILE - Static variable in class org.webmacro.WMConstants
name of the default properties file
WEBMACRO_LOCAL_FILE - Static variable in class org.webmacro.WMConstants
name of the local properties file.
WEBMACRO_PROPERTIES - Static variable in class org.webmacro.Broker
 
WEBMACRO_PROPERTIES_FILE - Static variable in class org.webmacro.WMConstants
name of the properties file
WebMacroException - exception org.webmacro.WebMacroException.
This is the base class of all WebMacro exceptions.
WebMacroException() - Constructor for class org.webmacro.WebMacroException
 
WebMacroException(String) - Constructor for class org.webmacro.WebMacroException
 
WebMacroException(String, Throwable) - Constructor for class org.webmacro.WebMacroException
 
WebMacroRuntimeException - exception org.webmacro.WebMacroRuntimeException.
This is the base class of all WebMacro runtime exceptions.
WebMacroRuntimeException() - Constructor for class org.webmacro.WebMacroRuntimeException
 
WebMacroRuntimeException(String) - Constructor for class org.webmacro.WebMacroRuntimeException
 
WebMacroRuntimeException(String, Throwable) - Constructor for class org.webmacro.WebMacroRuntimeException
 
WM - class org.webmacro.WM.
This class implements the WebMacro Manager interface.
WM - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
WM() - Constructor for class org.webmacro.WM
Constructs a WM which gets its properties (optionally) from the file WebMacro.properties, as found on the class path.
WM(Broker) - Constructor for class org.webmacro.WM
Constructs a WM from an arbitrary Broker.
WM(Servlet) - Constructor for class org.webmacro.WM
Constructs a WM is tied to a Servlet broker.
WM(String) - Constructor for class org.webmacro.WM
Constructs a WM which gets its properties from the file specified, which must exist on the class path or be an absolute path.
WMConstants - class org.webmacro.WMConstants.
 
WMConstants() - Constructor for class org.webmacro.WMConstants
 
WMContent(ParserBlockBuilder) - Method in class org.webmacro.parser.WMParser_impl
 
WMContentNoDirective(ParserBlockBuilder) - Method in class org.webmacro.parser.WMParser_impl
 
WMDocument() - Method in class org.webmacro.parser.WMParser_impl
 
WMEval - class org.webmacro.util.WMEval.
WMEval encapsulates an instance of WebMacro for reuse in any java application.
WMEval() - Constructor for class org.webmacro.util.WMEval
The constructor which creates the environment for evaluating a rule.
WMParser - class org.webmacro.parser.WMParser.
 
WMParser_impl - class org.webmacro.parser.WMParser_impl.
WMParser_impl JavaCC parser class for parsing WebMacro templates.
WMParser_impl(Broker, String, BackupCharStream) - Constructor for class org.webmacro.parser.WMParser_impl
 
WMParser_impl(Broker, String, Reader) - Constructor for class org.webmacro.parser.WMParser_impl
 
WMParser_impl(CharStream) - Constructor for class org.webmacro.parser.WMParser_impl
 
WMParser_impl(WMParser_implTokenManager) - Constructor for class org.webmacro.parser.WMParser_impl
 
WMParser_implConstants - interface org.webmacro.parser.WMParser_implConstants.
 
WMParser_implTokenManager - class org.webmacro.parser.WMParser_implTokenManager.
 
WMParser_implTokenManager(CharStream) - Constructor for class org.webmacro.parser.WMParser_implTokenManager
 
WMParser_implTokenManager(CharStream, int) - Constructor for class org.webmacro.parser.WMParser_implTokenManager
 
WMParser(Broker) - Constructor for class org.webmacro.parser.WMParser
 
WMServlet - class org.webmacro.servlet.WMServlet.
This is the abstract base class used by all WebMacro servlets.
WMServlet() - Constructor for class org.webmacro.servlet.WMServlet
 
WMTemplate - class org.webmacro.engine.WMTemplate.
Template objects represent the user defined layout into which the webmacro package will substitute values.
WMTemplate(Broker) - Constructor for class org.webmacro.engine.WMTemplate
Create a new Template.
WMTemplate(String, Broker) - Constructor for class org.webmacro.engine.WMTemplate
Create a new Template specifying both the broker and the parsing language.
WMTemplateAntTask - class org.webmacro.tools.WMTemplateAntTask.
Taskdef for validating WM templates
WMTemplateAntTask() - Constructor for class org.webmacro.tools.WMTemplateAntTask
 
WORD - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
write(byte) - Method in class org.webmacro.util.ByteBufferOutputStream
Append a single byte
write(byte[]) - Method in class org.webmacro.FastWriter
Write raw bytes to the underlying stream.
write(byte[]) - Method in class org.webmacro.util.ByteBufferOutputStream
Copy an array of bytes on to the end of the buffer
write(byte[], int, int) - Method in class org.webmacro.FastWriter
Write raw bytes to the underlying stream.
write(byte[], int, int) - Method in class org.webmacro.util.ByteBufferOutputStream
Copy an array of bytes on to the end of the buffer
write(char[]) - Method in class org.webmacro.FastWriter
Write characters to the output stream performing slow unicode conversion unless AsciiHack is on.
write(char[], int, int) - Method in class org.webmacro.FastWriter
Write characters to to the output stream performing slow unicode conversion unless the AsciiHack is on.
write(char[], int, int) - Method in class org.webmacro.util.QueueWriter
Write the c[] array to the local buffer for later writing out.
write(FastWriter, Context) - Method in interface org.webmacro.Macro
Interpret the directive and write it out, using the values in the supplied context as appropriate.
write(FastWriter, Context) - Method in class org.webmacro.directive.ForeachDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.PropertyDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.EscapeDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.SetblockDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.ParamDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.AttributeDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.SilenceDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.TextDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.IncludeDirective
Write out the included file to the specified FastWriter.
write(FastWriter, Context) - Method in class org.webmacro.directive.DefaultDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.SetDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.BeanDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.EncodeDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.ProfileDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.CommentDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.AlternateDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.DummyDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.GlobalDirective
 
write(FastWriter, Context) - Method in class org.webmacro.directive.TypeDirective
The #type directive does not produce output
write(FastWriter, Context) - Method in class org.webmacro.engine.Expression.ExpressionBase
 
write(FastWriter, Context) - Method in class org.webmacro.engine.StringMacroAdapter
Just calls toString() and writes that, context is ignored.
write(FastWriter, Context) - Method in class org.webmacro.engine.Variable
Look in the hashtable (context) for a value keyed to this variables name and write its value to the stream.
write(FastWriter, Context) - Method in class org.webmacro.engine.WMTemplate
A macro has a write method which takes a context and applies it to the macro to create a resulting String value, which is then written to the supplied stream.
write(FastWriter, Context) - Method in class org.webmacro.engine.VoidMacro
 
write(FastWriter, Context) - Method in class org.webmacro.engine.MacroAdapter
Just calls toString() and writes that, context is ignored.
write(FastWriter, Context) - Method in class org.webmacro.engine.Block
Interpret the directive and write it out, using the values in the supplied context as appropriate.
write(int) - Method in class org.webmacro.FastWriter
Write a single character, performing slow unicode conversion unless AsciiHack is on.
write(int) - Method in class org.webmacro.util.QueueWriter
Write a character to the buffer
write(int) - Method in class org.webmacro.util.ByteBufferOutputStream
 
write(String) - Method in class org.webmacro.FastWriter
Write a string to the underlying output stream, performing unicode conversion.
write(String, int, int) - Method in class org.webmacro.FastWriter
 
write(String, int, int) - Method in class org.webmacro.util.QueueWriter
 
writeStatic(String) - Method in class org.webmacro.FastWriter
Write a string to the underlying output stream, performing unicode conversion if necessary--try and read the encoding from an encoding cache if possible.
writeTemplate(String, OutputStream, Context) - Method in class org.webmacro.WM
Convenience method for writing a template to an OutputStream.
writeTemplate(String, OutputStream, Context) - Method in interface org.webmacro.WebMacro
Convienence method for writing a template to an OutputStream.
writeTemplate(String, OutputStream, Context) - Method in class org.webmacro.servlet.WMServlet
Convenience method for writing a template to an OutputStream.
writeTemplate(String, OutputStream, String, Context) - Method in class org.webmacro.WM
Convienence method for writing a template to an OutputStream.
writeTemplate(String, OutputStream, String, Context) - Method in interface org.webmacro.WebMacro
Convienence method for writing a template to an OutputStream.
writeTemplate(String, OutputStream, String, Context) - Method in class org.webmacro.servlet.WMServlet
Convienence method for writing a template to an OutputStream.
writeTo(OutputStream) - Method in class org.webmacro.FastWriter
Copy the contents written so far to the suppiled output stream
writeTo(OutputStream) - Method in class org.webmacro.util.ByteBufferOutputStream
Write the bytes to the specified output stream
writeTo(Writer) - Method in class org.webmacro.util.QueueWriter
 
writeWarning(String, Context, FastWriter) - Static method in class org.webmacro.directive.Directive
Convenience method for directives to write HTML warnings into the output stream.
WS - Static variable in interface org.webmacro.parser.WMParser_implConstants
 

_

_ALPHA_CHAR - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
_ALPHANUM_CHAR - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
_args - Static variable in class org.webmacro.directive.TypeDirective
 
_broker - Variable in class org.webmacro.engine.WMTemplate
The resource broker used to resolve things in this template
_cacheSupportsReload - Variable in class org.webmacro.resource.CachingProvider
 
_COMMENT - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
_config - Variable in class org.webmacro.Broker
 
_curBlock - Variable in class org.webmacro.Context.TemplateEvaluationContext
 
_curIndex - Variable in class org.webmacro.Context.TemplateEvaluationContext
 
_dd - Static variable in class org.webmacro.directive.TypeDirective
 
_defaultFormatString - Variable in class org.webmacro.util.AbstractLogFile
 
_defaultLevel - Variable in class org.webmacro.util.AbstractLogFile
 
_directiveName - Variable in class org.webmacro.directive.IncludeDirective
 
_formatString - Variable in class org.webmacro.util.AbstractLogFile
 
_hashCode - Variable in class org.webmacro.util.Encoder.Block
 
_IDENTIFIER - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
_IDENTIFIER_CHAR - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
_last - Variable in class org.webmacro.util.SparseArrayIterator
 
_levels - Variable in class org.webmacro.util.AbstractLogFile
 
_log - Variable in class org.webmacro.Broker
 
_log - Variable in class org.webmacro.engine.WMTemplate
Where we log our errors
_ls - Variable in class org.webmacro.Broker
 
_macFilename - Variable in class org.webmacro.directive.IncludeDirective
the filename as a Macro, if the filename arg is a Macro
_mf - Variable in class org.webmacro.util.AbstractLogFile
 
_myClassLoader - Static variable in class org.webmacro.Broker
 
_name - Variable in class org.webmacro.Broker
 
_name - Variable in class org.webmacro.util.AbstractLogFile
 
_names - Variable in class org.webmacro.engine.Variable
The name as an array
_NEWLINE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
_NUM_CHAR - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
_observers - Variable in class org.webmacro.util.AbstractLogFile
 
_pos - Variable in class org.webmacro.util.SparseArrayIterator
 
_prof - Variable in class org.webmacro.Broker
 
_propertyOperators - Variable in class org.webmacro.Broker
 
_providers - Variable in class org.webmacro.Broker
 
_QCHAR - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
_RESTOFLINE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 
_servletClassLoader - Variable in class org.webmacro.servlet.Servlet20Broker
 
_servletClassLoader - Variable in class org.webmacro.servlet.Servlet22Broker
 
_servletContext - Variable in class org.webmacro.servlet.ServletBroker
 
_strFilename - Variable in class org.webmacro.directive.IncludeDirective
the filename as a String, if it is something we can determine during build()
_systemClassLoader - Static variable in class org.webmacro.Broker
 
_trace - Variable in class org.webmacro.util.AbstractLogFile
 
_type - Variable in class org.webmacro.directive.IncludeDirective
the included file type.
_values - Variable in class org.webmacro.util.SparseArrayIterator
 
_vname - Variable in class org.webmacro.engine.Variable
The name of this variable.
_WHITESPACE - Static variable in interface org.webmacro.parser.WMParser_implConstants
 

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