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

A

AbstractTransformStep - class org.infohazard.maverick.transform.AbstractTransformStep.
Helper class for all transform steps.
AbstractTransformStep(TransformContext) - Constructor for class org.infohazard.maverick.transform.AbstractTransformStep
 
addCookie(Cookie) - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
addDateHeader(String, long) - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
addHeader(String, String) - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
addIntHeader(String, int) - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
addQueryParam(StringBuffer, String, Object) - Method in class org.infohazard.maverick.view.RedirectView
 
addQueryParams(String, Map) - Method in class org.infohazard.maverick.view.RedirectView
 
ATTR_BEAN - Static variable in class org.infohazard.maverick.transform.DocumentTransformFactory
 
ATTR_BEAN_NAME - Static variable in class org.infohazard.maverick.view.DocumentViewFactory
For the actual view nodes
ATTR_COMMAND_NAME - Static variable in class org.infohazard.maverick.flow.Loader
 
ATTR_DEFAULT_BEAN_NAME - Static variable in class org.infohazard.maverick.view.DocumentViewFactory
For the factory configuration
ATTR_DEFAULT_FINAL_CONTENT_TYPE - Static variable in class org.infohazard.maverick.transform.XSLTransformFactory
For the factory configuration
ATTR_DEFAULT_WRAPPED_NAME - Static variable in class org.infohazard.maverick.transform.DocumentTransformFactory
For the factory configuration
ATTR_FINAL_CONTENT_TYPE - Static variable in class org.infohazard.maverick.transform.XSLTransformFactory
 
ATTR_PARAM_NAME - Static variable in class org.infohazard.maverick.util.XML
The attribute for a parameter name
ATTR_PATH - Static variable in class org.infohazard.maverick.transform.XSLTransformFactory
For individual transform nodes
ATTR_PATH - Static variable in class org.infohazard.maverick.transform.DocumentTransformFactory
For transform nodes
ATTR_PROVIDER - Static variable in class org.infohazard.maverick.flow.Loader
 
ATTR_SCOPE - Static variable in class org.infohazard.maverick.view.DocumentViewFactory
 
ATTR_TEMPLATE_CACHING - Static variable in class org.infohazard.maverick.transform.XSLTransformFactory
 
ATTR_URI_RESOLVER - Static variable in class org.infohazard.maverick.transform.XSLTransformFactory
 
ATTR_VALUE - Static variable in class org.infohazard.maverick.util.XML
The attribute which represents the "value" of an element.

B

beanName - Variable in class org.infohazard.maverick.view.DocumentView
The name of the bean in the appropriate scope attributes.
buffer - Variable in class org.infohazard.maverick.util.FakeHttpServletResponse
Actually holds all the output data.
Buffer - interface org.infohazard.maverick.util.Buffer.
Simple interface to abstract out both ServletOutputStreams and PrintWriters.

C

charset - Variable in class org.infohazard.maverick.util.ServletOutputStreamBuffer
 
charset - Variable in class org.infohazard.maverick.util.FakeHttpServletResponse
We need to track the charset which is applied to the response using setContentType so that we can intelligently convert between streams and readers.
clear() - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
close() - Method in class org.infohazard.maverick.util.PrintWriterBuffer
 
Command - interface org.infohazard.maverick.flow.Command.
The Command is the highest entry point of workflow outside of the Dispatcher.
commandFact - Variable in class org.infohazard.maverick.flow.Loader
For creating commands
commands - Variable in class org.infohazard.maverick.Dispatcher
Maps command name -> Command objects.
commands - Variable in class org.infohazard.maverick.flow.Loader
Commands get built into this map.
configDocument - Variable in class org.infohazard.maverick.Dispatcher
The current configuration document.
ConfigException - exception org.infohazard.maverick.flow.ConfigException.
Exception which indicates a failure during configuration of Maverick.
ConfigException() - Constructor for class org.infohazard.maverick.flow.ConfigException
 
ConfigException(String) - Constructor for class org.infohazard.maverick.flow.ConfigException
 
ConfigException(String, Throwable) - Constructor for class org.infohazard.maverick.flow.ConfigException
 
ConfigException(Throwable) - Constructor for class org.infohazard.maverick.flow.ConfigException
 
containsKey(Object) - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
containsValue(Object) - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
Controller - interface org.infohazard.maverick.flow.Controller.
Controller is the interface that all command controllers must implement.
ControllerContext - interface org.infohazard.maverick.flow.ControllerContext.
ControllerContext defines the methods and data available to a controller for a single request.
ControllerSingleton - interface org.infohazard.maverick.flow.ControllerSingleton.
ControllerSingleton serves two purposes: First, the presence of this interface on a Controller class indicates to the framework that the controller should be defined as a singleton rather than instantiating a fresh instance for every request.
ControllerWithParams - class org.infohazard.maverick.flow.ControllerWithParams.
This is a Decorator pattern, adding params defined for a controller.
ControllerWithParams(Controller, Map) - Constructor for class org.infohazard.maverick.flow.ControllerWithParams
 
createShunt() - Method in interface org.infohazard.maverick.flow.ShuntFactory
Creates an empty Shunt which will be populated.
createShunt() - Method in class org.infohazard.maverick.shunt.LanguageShuntFactory
Merely creates a shunt object.
createStep(TransformContext) - Method in interface org.infohazard.maverick.flow.Transform
Create a step for servicing a single transformation.
createTransform(Element) - Method in interface org.infohazard.maverick.flow.TransformFactory
Creates a transform from the element (and any children, if appropriate).
createTransform(Element) - Method in class org.infohazard.maverick.transform.XSLTransformFactory
 
createTransform(Element) - Method in class org.infohazard.maverick.transform.DocumentTransformFactory
 
createView(Element) - Method in interface org.infohazard.maverick.flow.ViewFactory
Creates a specific instance of the View from the XML element in the maverick configuration file.
createView(Element) - Method in class org.infohazard.maverick.view.TrivialViewFactory
 
createView(Element) - Method in class org.infohazard.maverick.view.RedirectViewFactory
 
createView(Element) - Method in class org.infohazard.maverick.view.NullViewFactory
 
createView(Element) - Method in class org.infohazard.maverick.view.DocumentViewFactory
 
createView(Element) - Method in class org.infohazard.maverick.view.DispatchedViewFactory
 

D

decorated - Variable in class org.infohazard.maverick.flow.ControllerWithParams
 
DEFAULT_CONFIG_FILE - Static variable in class org.infohazard.maverick.Dispatcher
Default location of the xml configuration file.
DEFAULT_DEFAULT_BEAN_NAME - Static variable in class org.infohazard.maverick.view.DocumentViewFactory
 
DEFAULT_DEFAULT_FINAL_CONTENT_TYPE - Static variable in class org.infohazard.maverick.transform.XSLTransformFactory
If the init param for default content type is not specified, this becomes the actual default final content type.
DEFAULT_DEFAULT_WRAPPED_NAME - Static variable in class org.infohazard.maverick.transform.DocumentTransformFactory
If not specified on the factory, the default name for wrapped beans.
defaultBeanName - Variable in class org.infohazard.maverick.view.DocumentViewFactory
 
defaultFinalContentType - Variable in class org.infohazard.maverick.transform.XSLTransformFactory
Unless specified in individual transform nodes, this is the content type for a successfully completed transformation.
defaultRequestCharset - Variable in class org.infohazard.maverick.Dispatcher
If set, this string is set as the character encoding for http requests.
defaultWrappedName - Variable in class org.infohazard.maverick.transform.DocumentTransformFactory
Unless overriden on path nodes, the bean name to use for wrapping content from previous stages.
defineMode(String, View) - Method in interface org.infohazard.maverick.flow.Shunt
As the Maverick config file is loaded, this method will be called to associate modes with particular views.
determineMaxTransforms() - Method in class org.infohazard.maverick.flow.MaverickContext
Convenient method for obtaining the maximum number of transformations to allow in the pipeline.
discard() - Method in interface org.infohazard.maverick.flow.ModelLifetime
Called when Maverick is completely finished with the model.
dispatchedViewFact - Variable in class org.infohazard.maverick.view.DocumentViewFactory
 
DispatchedViewFactory - class org.infohazard.maverick.view.DispatchedViewFactory.
This factory creates Views which use the RequestDispatcher to obtain content.
DispatchedViewFactory.DispatchedView - class org.infohazard.maverick.view.DispatchedViewFactory.DispatchedView.
The view is rendered as a RequestDispatcher.forward() or include().
DispatchedViewFactory.DispatchedView(String) - Constructor for class org.infohazard.maverick.view.DispatchedViewFactory.DispatchedView
 
DispatchedViewFactory() - Constructor for class org.infohazard.maverick.view.DispatchedViewFactory
 
dispatcher - Variable in class org.infohazard.maverick.flow.MaverickContext
 
Dispatcher - class org.infohazard.maverick.Dispatcher.
Dispatcher is the central command processor of the Maverick framework.
Dispatcher() - Constructor for class org.infohazard.maverick.Dispatcher
 
DocumentTransformFactory - class org.infohazard.maverick.transform.DocumentTransformFactory.
Factory for creating transformation pipelines based on executing successive documents which are aware of servlet attribute collections.
DocumentTransformFactory() - Constructor for class org.infohazard.maverick.transform.DocumentTransformFactory
 
DocumentView - class org.infohazard.maverick.view.DocumentView.
Sets up a bean in an attribute collection
DocumentView(String, View) - Constructor for class org.infohazard.maverick.view.DocumentView
 
DocumentViewFactory - class org.infohazard.maverick.view.DocumentViewFactory.
Factory for building JSP, Velocity, and other views which place the model bean in one of the servlet attribute collections and use the RequestDispatcher to forward to the actual content.
DocumentViewFactory() - Constructor for class org.infohazard.maverick.view.DocumentViewFactory
 
done() - Method in interface org.infohazard.maverick.flow.TransformStep
This should be called after writing is complete.
done() - Method in class org.infohazard.maverick.transform.XMLTransformStep
You implement this.
done() - Method in class org.infohazard.maverick.transform.StringTransformStep
Funnels output to go(String)

E

entrySet() - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
equals(Object) - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
ERROR - Static variable in class org.infohazard.maverick.ctl.Throwaway2
Common name for the typical "error" view.
ERROR - Static variable in class org.infohazard.maverick.ctl.Throwaway
Common name for the typical "error" view.
ERROR - Static variable in class org.infohazard.maverick.ctl.FormBeanUser
Common name for the typical "error" view.
escape(String) - Static method in class org.infohazard.maverick.util.XML
Escapes any html characters in the input string.
extractCommandName(HttpServletRequest) - Method in class org.infohazard.maverick.Dispatcher
Extracts the command name from the request.

F

FakeHttpServletResponse - class org.infohazard.maverick.util.FakeHttpServletResponse.
Stores data written to the response and allows it to be obtained later.
FakeHttpServletResponse(HttpServletResponse) - Constructor for class org.infohazard.maverick.util.FakeHttpServletResponse
Creates a response wrapper which buffers the output.
fakeResponse - Variable in class org.infohazard.maverick.transform.AbstractTransformStep
 
FastByteArrayOutputStream - class org.infohazard.maverick.util.FastByteArrayOutputStream.
Allows us to convert this into a ByteArrayInputStream without copying the buffer.
FastByteArrayOutputStream() - Constructor for class org.infohazard.maverick.util.FastByteArrayOutputStream
 
flushBuffer() - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
FormBeanUser - class org.infohazard.maverick.ctl.FormBeanUser.
FormBeanUser is a base class for singleton controllers which use external FormBeans rather than populating themselves.
FormBeanUser() - Constructor for class org.infohazard.maverick.ctl.FormBeanUser
 
forward - Variable in class org.infohazard.maverick.view.DocumentView
Holds the aggregated view which renders the JSP (or whatever).

G

get(Object) - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
getAsReader() - Method in class org.infohazard.maverick.util.ServletOutputStreamBuffer
 
getAsReader() - Method in class org.infohazard.maverick.util.PrintWriterBuffer
 
getAsReader() - Method in interface org.infohazard.maverick.util.Buffer
Produces a reader of the buffered data.
getAsString() - Method in class org.infohazard.maverick.util.ServletOutputStreamBuffer
 
getAsString() - Method in class org.infohazard.maverick.util.PrintWriterBuffer
 
getAsString() - Method in interface org.infohazard.maverick.util.Buffer
Produces the buffered data in string form.
getCommand(String) - Method in class org.infohazard.maverick.Dispatcher
Returns the command object associated with the specified name.
getCommands() - Method in class org.infohazard.maverick.flow.Loader
 
getConfigDocument() - Method in class org.infohazard.maverick.Dispatcher
 
getCtx() - Method in class org.infohazard.maverick.ctl.Throwaway2
Obtain the controller context for this request.
getCtx() - Method in class org.infohazard.maverick.ctl.Throwaway
 
getDuplicateKey() - Method in class org.infohazard.maverick.util.NoOverwriteMap.OverwriteException
 
getForm() - Method in class org.infohazard.maverick.ctl.ThrowawayFormBeanUser
 
getHttpResponse() - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
getInputStream() - Method in class org.infohazard.maverick.util.FastByteArrayOutputStream
You should be done writing before you call this method.
getLimitTransformsParam() - Method in class org.infohazard.maverick.Dispatcher
The name of the parameter to use to limit transformation, or null if this should be disabled.
getModel() - Method in interface org.infohazard.maverick.flow.ViewContext
Obtain the model which is to be rendered.
getModel() - Method in class org.infohazard.maverick.flow.MaverickContext
 
getModel() - Method in interface org.infohazard.maverick.flow.ControllerContext
 
getNext() - Method in class org.infohazard.maverick.transform.AbstractTransformStep
Allow us to lazily create the next step, much more convenient.
getNextStep() - Method in interface org.infohazard.maverick.flow.ViewContext
This is where output should be sent.
getNextStep() - Method in interface org.infohazard.maverick.flow.TransformContext
 
getNextStep() - Method in class org.infohazard.maverick.flow.MaverickContext
 
getOutputAsReader() - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
Provides the buffered output as a Reader.
getOutputAsString() - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
Provides the buffered output as a String.
getOutputStream() - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
getParams() - Method in interface org.infohazard.maverick.flow.ViewContext
Obtain any params that were set.
getParams() - Method in interface org.infohazard.maverick.flow.TransformContext
Obtain any params that were set.
getParams() - Method in class org.infohazard.maverick.flow.MaverickContext
 
getParams() - Method in interface org.infohazard.maverick.flow.ControllerContext
 
getParams(Element) - Static method in class org.infohazard.maverick.util.XML
Extracts a set of param child nodes from the specified node.
getRealResponse() - Method in interface org.infohazard.maverick.flow.ViewContext
Returns the *real* response object.
getRealResponse() - Method in interface org.infohazard.maverick.flow.TransformContext
Returns the *real* response object.
getRealResponse() - Method in class org.infohazard.maverick.flow.MaverickContext
 
getRequest() - Method in class org.infohazard.maverick.ctl.Throwaway
 
getRequest() - Method in interface org.infohazard.maverick.flow.ViewContext
 
getRequest() - Method in interface org.infohazard.maverick.flow.TransformContext
 
getRequest() - Method in class org.infohazard.maverick.flow.MaverickContext
 
getRequest() - Method in interface org.infohazard.maverick.flow.ControllerContext
Basic data
getResponse() - Method in class org.infohazard.maverick.ctl.Throwaway
 
getResponse() - Method in interface org.infohazard.maverick.flow.TransformStep
Must calle done() when finished.
getResponse() - Method in class org.infohazard.maverick.flow.MaverickContext
 
getResponse() - Method in interface org.infohazard.maverick.flow.ControllerContext
Basic data
getResponse() - Method in class org.infohazard.maverick.transform.AbstractTransformStep
 
getSAXHandler() - Method in interface org.infohazard.maverick.flow.TransformStep
Must calle done() when finished.
getSAXHandler() - Method in class org.infohazard.maverick.transform.XMLTransformStep
You implement this.
getSAXHandler() - Method in class org.infohazard.maverick.transform.StringTransformStep
 
getServletConfig() - Method in class org.infohazard.maverick.ctl.Throwaway
 
getServletConfig() - Method in class org.infohazard.maverick.flow.MaverickContext
 
getServletConfig() - Method in interface org.infohazard.maverick.flow.ControllerContext
Basic data
getServletContext() - Method in class org.infohazard.maverick.ctl.Throwaway
 
getServletContext() - Method in interface org.infohazard.maverick.flow.ViewContext
 
getServletContext() - Method in interface org.infohazard.maverick.flow.TransformContext
 
getServletContext() - Method in class org.infohazard.maverick.flow.MaverickContext
 
getServletContext() - Method in interface org.infohazard.maverick.flow.ControllerContext
Basic data
getSession() - Method in class org.infohazard.maverick.ctl.Throwaway
 
getTransformCtx() - Method in class org.infohazard.maverick.transform.AbstractTransformStep
 
getValue(Element, String) - Static method in class org.infohazard.maverick.util.XML
Extracts the named value from the element, by checking (in order):
getView(HttpServletRequest) - Method in interface org.infohazard.maverick.flow.Shunt
This is called during runtime to obtain a view based on some arbitrary characteristic of the request.
getWriter() - Method in interface org.infohazard.maverick.flow.TransformStep
Must calle done() when finished.
getWriter() - Method in class org.infohazard.maverick.transform.AbstractTransformStep
 
getWriter() - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
go() - Method in class org.infohazard.maverick.ctl.ThrowawayFormBeanUser
Executes this controller.
go() - Method in class org.infohazard.maverick.ctl.ThrowawayBean2
 
go() - Method in class org.infohazard.maverick.ctl.Throwaway2
This is the method you should override to implement application logic.
go(ControllerContext) - Method in class org.infohazard.maverick.ctl.Throwaway2
Sets up the servlet parameters and calls through to the parameterless rawPerform() method.
go(ControllerContext) - Method in class org.infohazard.maverick.ctl.Throwaway
Sets up the servlet parameters and calls through to the parameterless rawPerform() method.
go(ControllerContext) - Method in class org.infohazard.maverick.ctl.FormBeanUser
Executes this controller.
go(ControllerContext) - Method in class org.infohazard.maverick.flow.ControllerWithParams
 
go(ControllerContext) - Method in interface org.infohazard.maverick.flow.Controller
 
go(MaverickContext) - Method in interface org.infohazard.maverick.flow.Command
Execute the command and render the results!
go(Reader) - Method in interface org.infohazard.maverick.flow.TransformStep
This is available if it is more convenient.
go(Reader) - Method in class org.infohazard.maverick.transform.XMLTransformStep
Funnels output to go(Source)
go(Reader) - Method in class org.infohazard.maverick.transform.StringTransformStep
Funnels output to go(String)
go(Source) - Method in interface org.infohazard.maverick.flow.TransformStep
This is available if it is more convenient.
go(Source) - Method in class org.infohazard.maverick.transform.XMLTransformStep
You implement this.
go(Source) - Method in class org.infohazard.maverick.transform.StringTransformStep
Funnels output to go(String)
go(String) - Method in interface org.infohazard.maverick.flow.TransformStep
This is available if it is more convenient.
go(String) - Method in class org.infohazard.maverick.transform.XMLTransformStep
Funnels output to go(Source)
go(String) - Method in class org.infohazard.maverick.transform.StringTransformStep
You implement this.
go(ViewContext) - Method in interface org.infohazard.maverick.flow.View
Renders the specified model to the response.
go(ViewContext) - Method in class org.infohazard.maverick.view.TrivialViewFactory.TrivialView
 
go(ViewContext) - Method in class org.infohazard.maverick.view.RedirectView
Produces an http redirect.
go(ViewContext) - Method in class org.infohazard.maverick.view.NullViewFactory.NullView
Nothing!
go(ViewContext) - Method in class org.infohazard.maverick.view.DocumentView
 
go(ViewContext) - Method in class org.infohazard.maverick.view.DispatchedViewFactory.DispatchedView
Renders the url associated with this view directly to the response.

H

halting() - Method in interface org.infohazard.maverick.flow.TransformContext
 
halting() - Method in class org.infohazard.maverick.flow.MaverickContext
 
hashCode() - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
holder - Variable in class org.infohazard.maverick.util.ServletOutputStreamBuffer
 

I

init() - Method in class org.infohazard.maverick.Dispatcher
Initializes the Dispatcher by loading the config file.
init(Element) - Method in class org.infohazard.maverick.ctl.FormBeanUser
If you want any custom behavior based on the content of the configuration file, this will be called once before the FormBeanUser is ever used.
init(Element) - Method in interface org.infohazard.maverick.flow.ControllerSingleton
Guaranteed to be called once with the XML configuration of the controller from the master config file.
init(Element, ServletConfig) - Method in interface org.infohazard.maverick.flow.ViewFactory
The factory will be initialized with the XML element from from the maverick configuration file.
init(Element, ServletConfig) - Method in interface org.infohazard.maverick.flow.TransformFactory
Factories will be initialized with the XML from the configuration file so that they can check for any options defined in child nodes, attributes, etc.
init(Element, ServletConfig) - Method in interface org.infohazard.maverick.flow.ShuntFactory
The factory is initialized with the XML element from the configuration file.
init(Element, ServletConfig) - Method in class org.infohazard.maverick.shunt.LanguageShuntFactory
Does nothing.
init(Element, ServletConfig) - Method in class org.infohazard.maverick.transform.XSLTransformFactory
 
init(Element, ServletConfig) - Method in class org.infohazard.maverick.transform.DocumentTransformFactory
 
init(Element, ServletConfig) - Method in class org.infohazard.maverick.view.TrivialViewFactory
 
init(Element, ServletConfig) - Method in class org.infohazard.maverick.view.RedirectViewFactory
 
init(Element, ServletConfig) - Method in class org.infohazard.maverick.view.NullViewFactory
 
init(Element, ServletConfig) - Method in class org.infohazard.maverick.view.DocumentViewFactory
 
init(Element, ServletConfig) - Method in class org.infohazard.maverick.view.DispatchedViewFactory
 
INITPARAM_CONFIG_FILE - Static variable in class org.infohazard.maverick.Dispatcher
Name of the servlet init parameter which defines the path to the Maverick configuration file.
INITPARAM_CONFIG_TRANSFORM - Static variable in class org.infohazard.maverick.Dispatcher
Name of the servlet init parameter which defines the path to a transform which will be applied to the config XML before loading.
INITPARAM_CURRENT_CONFIG_COMMAND - Static variable in class org.infohazard.maverick.Dispatcher
Name of the servlet init parameter which defines the name of the command which displays the current configuration.
INITPARAM_DEFAULT_REQUEST_CHARSET - Static variable in class org.infohazard.maverick.Dispatcher
Name of the servlet init parameter which defines the charset to use by default for request parameter decoding.
INITPARAM_LIMIT_TRANSFORMS_PARAM - Static variable in class org.infohazard.maverick.Dispatcher
The name of an http request parameter which, if specified, causes transformation to be halted after the specified number of transforms.
INITPARAM_RELOAD_COMMAND - Static variable in class org.infohazard.maverick.Dispatcher
Name of the servlet init parameter which defines the name of the reload command.
isEmpty() - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
isLast() - Method in interface org.infohazard.maverick.flow.TransformStep
Your steps should always return false.
isLast() - Method in class org.infohazard.maverick.transform.AbstractTransformStep
Always return false from pluggable transform steps.

K

key - Variable in class org.infohazard.maverick.util.NoOverwriteMap.OverwriteException
 
keySet() - Method in class org.infohazard.maverick.util.NoOverwriteMap
 

L

LanguageShuntFactory - class org.infohazard.maverick.shunt.LanguageShuntFactory.
LanguageShuntFactory produces Shunts which determine mode based on the Accept-Language header submitted by the user agent.
LanguageShuntFactory() - Constructor for class org.infohazard.maverick.shunt.LanguageShuntFactory
 
limitTransformsParam - Variable in class org.infohazard.maverick.Dispatcher
If set, the name of a http request parameter which determines the number of transforms to run before halting.
loadConfigDocument() - Method in class org.infohazard.maverick.Dispatcher
 
loadDocument(Document) - Method in class org.infohazard.maverick.flow.Loader
 
Loader - class org.infohazard.maverick.flow.Loader.
Builds the tree of flow objects which process Maverick commands.
Loader(Document, ServletConfig) - Constructor for class org.infohazard.maverick.flow.Loader
 
loadModules(Element) - Method in class org.infohazard.maverick.flow.Loader
 

M

makeFormBean() - Method in class org.infohazard.maverick.ctl.ThrowawayFormBeanUser
This method will be called to produce a simple bean whose properties will be populated with the http request parameters.
makeFormBean(ControllerContext) - Method in class org.infohazard.maverick.ctl.FormBeanUser
This method will be called to produce a simple bean whose properties will be populated with the http request parameters.
masterFact - Variable in class org.infohazard.maverick.flow.Loader
Encapsulates view and transform factories and handles decoration
MAVERICK_APPLICATION_KEY - Static variable in class org.infohazard.maverick.Dispatcher
The key in the Application (ServletContext) attribute collection under which the Dispatcher will be made available.
MaverickContext - class org.infohazard.maverick.flow.MaverickContext.
MaverickContext is the concrete class which implements all the other contexts.
MaverickContext(Dispatcher, HttpServletRequest, HttpServletResponse) - Constructor for class org.infohazard.maverick.flow.MaverickContext
 
model - Variable in class org.infohazard.maverick.flow.MaverickContext
This gets set during processing of the Controller
model() - Method in class org.infohazard.maverick.ctl.ThrowawayBean
Default implementation returns "this".
model() - Method in class org.infohazard.maverick.ctl.Throwaway
This is the method you should override to return the data model after rawPerform() is executed.
ModelLifetime - interface org.infohazard.maverick.flow.ModelLifetime.
If a model implements this interface, method(s) will be called so that the model object can manage internal resources.

N

nextTransform - Variable in class org.infohazard.maverick.flow.MaverickContext
The index of the next transform to execute.
NoOverwriteMap - class org.infohazard.maverick.util.NoOverwriteMap.
Map wrapper which prevents overwriting existing keys.
NoOverwriteMap.OverwriteException - exception org.infohazard.maverick.util.NoOverwriteMap.OverwriteException.
 
NoOverwriteMap.OverwriteException(Object) - Constructor for class org.infohazard.maverick.util.NoOverwriteMap.OverwriteException
 
NoOverwriteMap(Map) - Constructor for class org.infohazard.maverick.util.NoOverwriteMap
 
NoSuitableModeException - exception org.infohazard.maverick.flow.NoSuitableModeException.
Exception which indicates that a Shunt was unable to pick a mode based on current request state.
NoSuitableModeException() - Constructor for class org.infohazard.maverick.flow.NoSuitableModeException
 
NoSuitableModeException(String) - Constructor for class org.infohazard.maverick.flow.NoSuitableModeException
 
NoSuitableModeException(String, Throwable) - Constructor for class org.infohazard.maverick.flow.NoSuitableModeException
 
NoSuitableModeException(Throwable) - Constructor for class org.infohazard.maverick.flow.NoSuitableModeException
 
NullViewFactory - class org.infohazard.maverick.view.NullViewFactory.
Creates a view which does absolutely nothing.
NullViewFactory.NullView - class org.infohazard.maverick.view.NullViewFactory.NullView.
Simple implementation does nothing.
NullViewFactory.NullView() - Constructor for class org.infohazard.maverick.view.NullViewFactory.NullView
 
NullViewFactory() - Constructor for class org.infohazard.maverick.view.NullViewFactory
 

O

org.infohazard.maverick - package org.infohazard.maverick
 
org.infohazard.maverick.ctl - package org.infohazard.maverick.ctl
 
org.infohazard.maverick.flow - package org.infohazard.maverick.flow
 
org.infohazard.maverick.shunt - package org.infohazard.maverick.shunt
 
org.infohazard.maverick.transform - package org.infohazard.maverick.transform
 
org.infohazard.maverick.util - package org.infohazard.maverick.util
 
org.infohazard.maverick.view - package org.infohazard.maverick.view
 
outputSize() - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
outputter - Static variable in class org.infohazard.maverick.util.XML
 

P

PARAM_DEFAULT_TRANSFORM_TYPE - Static variable in class org.infohazard.maverick.flow.Loader
 
PARAM_DEFAULT_VIEW_TYPE - Static variable in class org.infohazard.maverick.flow.Loader
 
params - Variable in class org.infohazard.maverick.flow.MaverickContext
This might get set during processing of the Controller
params - Variable in class org.infohazard.maverick.flow.ControllerWithParams
 
path - Variable in class org.infohazard.maverick.view.DispatchedViewFactory.DispatchedView
Source url of the document.
perform() - Method in class org.infohazard.maverick.ctl.ThrowawayFormBeanUser
This method can be overriden to perform application logic.
perform() - Method in class org.infohazard.maverick.ctl.ThrowawayBean2
This is the method you should override to implement application logic.
perform() - Method in class org.infohazard.maverick.ctl.ThrowawayBean
This is the method you should override to implement application logic.
perform(Object, ControllerContext) - Method in class org.infohazard.maverick.ctl.FormBeanUser
This method can be overriden to perform application logic.
prefersReader() - Method in class org.infohazard.maverick.util.ServletOutputStreamBuffer
It's always more efficient to use a reader because the buffer need not be copied.
prefersReader() - Method in class org.infohazard.maverick.util.PrintWriterBuffer
It's more efficient to simply go directly to String.
prefersReader() - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
prefersReader() - Method in interface org.infohazard.maverick.util.Buffer
True if it is more efficient to call toReader() than toString().
PrintWriterBuffer - class org.infohazard.maverick.util.PrintWriterBuffer.
 
PrintWriterBuffer() - Constructor for class org.infohazard.maverick.util.PrintWriterBuffer
 
put(Object, Object) - Method in class org.infohazard.maverick.util.NoOverwriteMap
Prevents overwriting existing keys.
putAll(Map) - Method in class org.infohazard.maverick.util.NoOverwriteMap
Prevents overwriting existing keys.
putAllParams(Map) - Method in class org.infohazard.maverick.flow.MaverickContext
Appends to existing parameters.

R

rawPerform() - Method in class org.infohazard.maverick.ctl.ThrowawayBean
 
rawPerform() - Method in class org.infohazard.maverick.ctl.Throwaway
This is the method you should override to implement application logic.
RedirectView - class org.infohazard.maverick.view.RedirectView.
This view causes a client redirect.
RedirectViewFactory - class org.infohazard.maverick.view.RedirectViewFactory.
Creates views which result in HTTP redirects.
RedirectViewFactory() - Constructor for class org.infohazard.maverick.view.RedirectViewFactory
 
reloadConfig() - Method in class org.infohazard.maverick.Dispatcher
Reloads the xml configuration data.
remove(Object) - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
request - Variable in class org.infohazard.maverick.flow.MaverickContext
 
response - Variable in class org.infohazard.maverick.flow.MaverickContext
 

S

SAVED_MAVCTX_KEY - Static variable in class org.infohazard.maverick.Dispatcher
The MaverickContext object is stored in the request attributes with this key so that it can be recovered for recursive maverick execution.
SCOPE_APP - Static variable in class org.infohazard.maverick.view.DocumentViewFactory
 
SCOPE_REQUEST - Static variable in class org.infohazard.maverick.view.DocumentViewFactory
 
SCOPE_SESSION - Static variable in class org.infohazard.maverick.view.DocumentViewFactory
 
service(HttpServletRequest, HttpServletResponse) - Method in class org.infohazard.maverick.Dispatcher
The main entry point of the servlet; this processes an HTTP request.
servletCfg - Variable in class org.infohazard.maverick.flow.Loader
 
servletCtx - Variable in class org.infohazard.maverick.transform.XSLTransformFactory
We need this to be able to look up real pathnames.
ServletOutputStreamBuffer - class org.infohazard.maverick.util.ServletOutputStreamBuffer.
 
ServletOutputStreamBuffer(String) - Constructor for class org.infohazard.maverick.util.ServletOutputStreamBuffer
 
setAttribute(ViewContext) - Method in class org.infohazard.maverick.view.DocumentView
Override this to place the value in whatever collection is appropriate.
setContentLength(int) - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
setContentType(String) - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
setDateHeader(String, long) - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
setHeader(String, String) - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
setIntHeader(String, int) - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
setLocale(Locale) - Method in class org.infohazard.maverick.util.FakeHttpServletResponse
 
setModel(Object) - Method in class org.infohazard.maverick.flow.MaverickContext
 
setModel(Object) - Method in interface org.infohazard.maverick.flow.ControllerContext
Set the model to be rendered.
setParam(String, Object) - Method in class org.infohazard.maverick.flow.MaverickContext
 
setParam(String, Object) - Method in interface org.infohazard.maverick.flow.ControllerContext
Sets a parameter to the view and transforms.
setTransforms(Transform[]) - Method in class org.infohazard.maverick.flow.MaverickContext
 
setupCoreModules() - Method in class org.infohazard.maverick.flow.Loader
 
Shunt - interface org.infohazard.maverick.flow.Shunt.
The Shunt interface allows Maverick to automagically determine which of a set of views should be executed based on some arbitrary characteristic of the request.
ShuntFactory - interface org.infohazard.maverick.flow.ShuntFactory.
Pluggable modules which build Shunts must implement this interface and then be defined in the <modules> section of the Maverick config file.
size() - Method in class org.infohazard.maverick.util.ServletOutputStreamBuffer
 
size() - Method in class org.infohazard.maverick.util.PrintWriterBuffer
 
size() - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
size() - Method in interface org.infohazard.maverick.util.Buffer
 
StringTransformStep - class org.infohazard.maverick.transform.StringTransformStep.
Helper class for transform steps that are basically text by nature.
StringTransformStep(TransformContext) - Constructor for class org.infohazard.maverick.transform.StringTransformStep
 
SUCCESS - Static variable in class org.infohazard.maverick.ctl.Throwaway2
Common name for the typical "success" view.
SUCCESS - Static variable in class org.infohazard.maverick.ctl.Throwaway
Common name for the typical "success" view.
SUCCESS - Static variable in class org.infohazard.maverick.ctl.FormBeanUser
Common name for the typical "success" view.

T

TAG_COMMAND - Static variable in class org.infohazard.maverick.flow.Loader
 
TAG_COMMANDS - Static variable in class org.infohazard.maverick.flow.Loader
 
TAG_MODULES - Static variable in class org.infohazard.maverick.flow.Loader
 
TAG_PARAM - Static variable in class org.infohazard.maverick.util.XML
The tag for a parameter node
TAG_SHUNTFACTORY - Static variable in class org.infohazard.maverick.flow.Loader
 
TAG_TRANSFORMFACTORY - Static variable in class org.infohazard.maverick.flow.Loader
 
TAG_VIEWFACTORY - Static variable in class org.infohazard.maverick.flow.Loader
 
TAG_VIEWS - Static variable in class org.infohazard.maverick.flow.Loader
 
target - Variable in class org.infohazard.maverick.view.RedirectView
Redirect string.
templateCachingStyle - Variable in class org.infohazard.maverick.transform.XSLTransformFactory
Should templates be preloaded and cached
Throwaway - class org.infohazard.maverick.ctl.Throwaway.
Note: While not formally deprecated, use of this class is discouraged.
Throwaway() - Constructor for class org.infohazard.maverick.ctl.Throwaway
 
Throwaway2 - class org.infohazard.maverick.ctl.Throwaway2.
Throwaway2 is a base class for simple controllers which implements the single-use controller pattern (a fresh controller instance is created to service each request).
Throwaway2() - Constructor for class org.infohazard.maverick.ctl.Throwaway2
 
ThrowawayBean - class org.infohazard.maverick.ctl.ThrowawayBean.
Note: While not formally deprecated, use of this class is discouraged.
ThrowawayBean() - Constructor for class org.infohazard.maverick.ctl.ThrowawayBean
 
ThrowawayBean2 - class org.infohazard.maverick.ctl.ThrowawayBean2.
ThrowawayBean2 is a throwaway controller which populates its bean properties using the Apache BeanUtils.
ThrowawayBean2() - Constructor for class org.infohazard.maverick.ctl.ThrowawayBean2
 
ThrowawayFormBeanUser - class org.infohazard.maverick.ctl.ThrowawayFormBeanUser.
This is a hybrid between Throwaway and FormBeanUser - the controller is instantiated like a Throwaway, but allows a form bean to be populated instead.
ThrowawayFormBeanUser() - Constructor for class org.infohazard.maverick.ctl.ThrowawayFormBeanUser
 
toString(Element) - Static method in class org.infohazard.maverick.util.XML
Converts the specified node (and subnodes) to a nice, pretty, html escaped XML string.
Transform - interface org.infohazard.maverick.flow.Transform.
The Transform interface allows some sort of arbitrary transformation on a set of input data.
TransformContext - interface org.infohazard.maverick.flow.TransformContext.
TransformContext defines the methods and data available to a transform for a single request.
transformCount - Variable in class org.infohazard.maverick.flow.MaverickContext
The count of transforms to execute.
TransformFactory - interface org.infohazard.maverick.flow.TransformFactory.
 
transforms - Variable in class org.infohazard.maverick.flow.MaverickContext
This gets set before processing of the View
TransformStep - interface org.infohazard.maverick.flow.TransformStep.
The TransformStep defines a transformation step in a single request.
TrivialViewFactory - class org.infohazard.maverick.view.TrivialViewFactory.
Creates simple views which expect the model itself to be the source of content.
TrivialViewFactory.TrivialView - class org.infohazard.maverick.view.TrivialViewFactory.TrivialView.
 
TrivialViewFactory.TrivialView() - Constructor for class org.infohazard.maverick.view.TrivialViewFactory.TrivialView
 
TrivialViewFactory() - Constructor for class org.infohazard.maverick.view.TrivialViewFactory
 

U

uriResolver - Variable in class org.infohazard.maverick.transform.XSLTransformFactory
Allow the user to override the URI resolver.

V

VAL_TEMPLATE_CACHING_DISABLED - Static variable in class org.infohazard.maverick.transform.XSLTransformFactory
 
VAL_TEMPLATE_CACHING_LAZY - Static variable in class org.infohazard.maverick.transform.XSLTransformFactory
 
VAL_TEMPLATE_CACHING_PRELOAD - Static variable in class org.infohazard.maverick.transform.XSLTransformFactory
 
values() - Method in class org.infohazard.maverick.util.NoOverwriteMap
 
View - interface org.infohazard.maverick.flow.View.
Views do the work of actually rendering the model.
ViewContext - interface org.infohazard.maverick.flow.ViewContext.
ViewContext defines the methods and data available to a view for a single request.
ViewFactory - interface org.infohazard.maverick.flow.ViewFactory.
This interface allows user-defined view factories to be added to the system.
viewReg - Variable in class org.infohazard.maverick.flow.Loader
For tracking global views and managing view lists

W

wrapped - Variable in class org.infohazard.maverick.util.NoOverwriteMap
 
write(int) - Method in class org.infohazard.maverick.util.ServletOutputStreamBuffer
Overriden from ServletOutputStream

X

XML - class org.infohazard.maverick.util.XML.
 
XML() - Constructor for class org.infohazard.maverick.util.XML
 
XMLTransformStep - class org.infohazard.maverick.transform.XMLTransformStep.
Helper class for transform steps that are basically XML by nature.
XMLTransformStep(TransformContext) - Constructor for class org.infohazard.maverick.transform.XMLTransformStep
 
XSLTransformFactory - class org.infohazard.maverick.transform.XSLTransformFactory.
 
XSLTransformFactory() - Constructor for class org.infohazard.maverick.transform.XSLTransformFactory
 

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