- CharArray - Class in com.opensymphony.module.sitemesh.util
-
A leaner, meaner version of StringBuffer.
- CharArray(int) - Constructor for class com.opensymphony.module.sitemesh.util.CharArray
-
Constructs a CharArray that is initialized to the specified size.
- CharArrayReader - Class in com.opensymphony.module.sitemesh.util
-
This class implements a character buffer that can be used as a
character-input stream.
- CharArrayReader(char[]) - Constructor for class com.opensymphony.module.sitemesh.util.CharArrayReader
-
Create an CharArrayReader from the specified array of chars.
- CharArrayReader(char[], int, int) - Constructor for class com.opensymphony.module.sitemesh.util.CharArrayReader
-
Create an CharArrayReader from the specified array of chars.
- charAt(int) - Method in class com.opensymphony.module.sitemesh.util.CharArray
-
Returns the character that is at the specified position in the array.
- checkError() - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- checkError() - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- classMappings - Static variable in class com.opensymphony.module.sitemesh.util.Container
-
A map containing classes that can be searched for,
and which container they are typically found in.
- clearDecoratorMappers() - Method in class com.opensymphony.module.sitemesh.factory.BaseFactory
-
Clear all current DecoratorMappers.
- clearExcludeUrls() - Method in class com.opensymphony.module.sitemesh.factory.BaseFactory
-
Clears all exclude URLs.
- clearParserMappings() - Method in class com.opensymphony.module.sitemesh.factory.BaseFactory
-
Clear all PageParser mappings.
- close() - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- close() - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- close() - Method in class com.opensymphony.module.sitemesh.util.CharArrayReader
-
Close the stream.
- close() - Method in class com.opensymphony.module.sitemesh.util.FastByteArrayOutputStream
-
- close() - Method in class com.opensymphony.module.sitemesh.util.OutputConverter.ResinWriter
-
- closeWriter() - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
Flush and close output stream of wrapped response.
- com.opensymphony.module.sitemesh - package com.opensymphony.module.sitemesh
-
- com.opensymphony.module.sitemesh.factory - package com.opensymphony.module.sitemesh.factory
-
- com.opensymphony.module.sitemesh.filter - package com.opensymphony.module.sitemesh.filter
-
- com.opensymphony.module.sitemesh.mapper - package com.opensymphony.module.sitemesh.mapper
-
- com.opensymphony.module.sitemesh.parser - package com.opensymphony.module.sitemesh.parser
-
- com.opensymphony.module.sitemesh.taglib - package com.opensymphony.module.sitemesh.taglib
-
- com.opensymphony.module.sitemesh.taglib.decorator - package com.opensymphony.module.sitemesh.taglib.decorator
-
- com.opensymphony.module.sitemesh.taglib.page - package com.opensymphony.module.sitemesh.taglib.page
-
- com.opensymphony.module.sitemesh.util - package com.opensymphony.module.sitemesh.util
-
- com.opensymphony.module.sitemesh.velocity - package com.opensymphony.module.sitemesh.velocity
-
- compareLower(String, int) - Method in class com.opensymphony.module.sitemesh.util.CharArray
-
Compares the supplied uppercase string with the contents of
the character array, starting at the offset specified.
- compareLowerSubstr(String) - Method in class com.opensymphony.module.sitemesh.util.CharArray
-
- Config - Class in com.opensymphony.module.sitemesh
-
Common interface to ServletConfig and FilterConfig
(since javax.servlet.Config was removed from 2.3 spec).
- Config(ServletConfig) - Constructor for class com.opensymphony.module.sitemesh.Config
-
- Config(FilterConfig) - Constructor for class com.opensymphony.module.sitemesh.Config
-
- config - Variable in class com.opensymphony.module.sitemesh.factory.BaseFactory
-
ServletConfig or FilterConfig.
- config - Variable in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- config - Variable in class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-
- config - Variable in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
- config - Variable in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
- ConfigDecoratorMapper - Class in com.opensymphony.module.sitemesh.mapper
-
Default implementation of DecoratorMapper.
- ConfigDecoratorMapper() - Constructor for class com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper
-
- configFile - Variable in class com.opensymphony.module.sitemesh.factory.DefaultFactory
-
- configFile - Variable in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
- configFileName - Variable in class com.opensymphony.module.sitemesh.factory.DefaultFactory
-
- configFileName - Variable in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
- configLastModified - Variable in class com.opensymphony.module.sitemesh.factory.DefaultFactory
-
- configLastModified - Variable in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
- configLoader - Variable in class com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper
-
- ConfigLoader - Class in com.opensymphony.module.sitemesh.mapper
-
The ConfigLoader reads a configuration XML file that contains Decorator definitions
(name, url, init-params) and path-mappings (pattern, name).
- ConfigLoader(File) - Constructor for class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
Create new ConfigLoader using supplied File.
- ConfigLoader(String, Config) - Constructor for class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
Create new ConfigLoader using supplied filename and config.
- configProps - Variable in class com.opensymphony.module.sitemesh.factory.DefaultFactory
-
- Container - Class in com.opensymphony.module.sitemesh.util
-
Utility for determining the Servlet Container the application is running in.
- Container() - Constructor for class com.opensymphony.module.sitemesh.util.Container
-
- containsHeader(String) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- CONTENT_HASH - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- contentType - Variable in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- contentType - Variable in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
- convert(String) - Static method in class com.opensymphony.module.sitemesh.util.OutputConverter
-
- CookieDecoratorMapper - Class in com.opensymphony.module.sitemesh.mapper
-
The CookieDecoratorMapper will map a suitable decorator based on a cookie value.
- CookieDecoratorMapper() - Constructor for class com.opensymphony.module.sitemesh.mapper.CookieDecoratorMapper
-
- cookieName - Variable in class com.opensymphony.module.sitemesh.mapper.CookieDecoratorMapper
-
- count - Variable in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- count - Variable in class com.opensymphony.module.sitemesh.util.CharArrayReader
-
The index of the end of this buffer.
- get(String) - Method in class com.opensymphony.module.sitemesh.mapper.PathMapper
-
Retrieve appropriate key by matching patterns with supplied path.
- get() - Static method in class com.opensymphony.module.sitemesh.util.Container
-
Get the current container.
- get14Buffer(String) - Method in class com.opensymphony.module.sitemesh.filter.PageOutputStream
-
- getAttribute(Element, String) - Static method in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
Override default behavior of element.getAttribute (returns the empty string) to return null.
- getBody() - Method in class com.opensymphony.module.sitemesh.parser.FastPage
-
- getBooleanProperty(String) - Method in interface com.opensymphony.module.sitemesh.Page
-
Get a property embedded into the Page as a boolean.
- getBooleanProperty(String) - Method in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
- getBuffer(String) - Method in class com.opensymphony.module.sitemesh.filter.NullOutputBuffer
-
- getBuffer(String) - Method in interface com.opensymphony.module.sitemesh.filter.OutputBuffer
-
- getBuffer(String) - Method in class com.opensymphony.module.sitemesh.filter.PageOutputStream
-
- getBuffer(String) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
Return all data that has been written to this Writer.
- getBufferSize() - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- getBufferStream() - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- getByProperty(HttpServletRequest, Page, String) - Method in class com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper
-
- getCharacterEncoding() - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- getContainedText(Node, String) - Static method in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
With a given parent XML Element, find the text contents of the child element with
supplied name.
- getContentLength() - Method in interface com.opensymphony.module.sitemesh.Page
-
Length of the Page, in the format before
it was parsed.
- getContentLength() - Method in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
- getDecorator(HttpServletRequest, Page) - Method in interface com.opensymphony.module.sitemesh.DecoratorMapper
-
Return appropriate
Decorator for a certain Page.
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-
Delegate to parent.
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.AgentDecoratorMapper
-
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper
-
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.CookieDecoratorMapper
-
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.FrameSetDecoratorMapper
-
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper
-
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.LanguageDecoratorMapper
-
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.NullDecoratorMapper
-
Returns null.
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.OSDecoratorMapper
-
Attempts to find the correct decorator for Page page based on
the UA-OS HTTP header in the request.
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper
-
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper
-
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper
-
- getDecorator(HttpServletRequest, Page) - Method in class com.opensymphony.module.sitemesh.mapper.RobotDecoratorMapper
-
- getDecoratorByName(String) - Method in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
Retrieve Decorator based on name specified in configuration file.
- getDecoratorMapper() - Method in class com.opensymphony.module.sitemesh.factory.BaseFactory
-
Return instance of DecoratorMapper.
- getDecoratorMapper() - Method in class com.opensymphony.module.sitemesh.factory.DefaultFactory
-
Refresh config before delegating to superclass.
- getDecoratorMapper() - Method in class com.opensymphony.module.sitemesh.Factory
-
Return instance of DecoratorMapper.
- getEnvEntry(String, String) - Static method in class com.opensymphony.module.sitemesh.Factory
-
Find String environment entry, or return default if not found.
- getExt(String) - Method in class com.opensymphony.module.sitemesh.mapper.AgentDecoratorMapper
-
Get extention for user-agent.
- getExt(String) - Method in class com.opensymphony.module.sitemesh.mapper.LanguageDecoratorMapper
-
Get extention for the language.
- getFilterConfig() - Method in class com.opensymphony.module.sitemesh.filter.PageFilter
-
Deprecated.
Not needed in final version of Servlet 2.3 API - replaced by init().
- getHead() - Method in class com.opensymphony.module.sitemesh.parser.FastPage
-
- getInitParameter(String) - Method in interface com.opensymphony.module.sitemesh.Decorator
-
Returns a String containing the value of the named initialization parameter,
or null if the parameter does not exist.
- getInitParameter(String) - Method in class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
-
Returns a String containing the value of the named initialization parameter,
or null if the parameter does not exist.
- getInitParameterNames() - Method in interface com.opensymphony.module.sitemesh.Decorator
-
Returns the names of the Decorator's initialization parameters as an Iterator
of String objects, or an empty Iterator if the Decorator has no initialization parameters.
- getInitParameterNames() - Method in class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
-
Returns the names of the Decorator's initialization parameters as an Iterator
of String objects, or an empty Iterator if the Decorator has no initialization parameters.
- getInstance(Config) - Static method in class com.opensymphony.module.sitemesh.Factory
-
Entry-point for obtaining singleton instance of Factory.
- getInstance() - Static method in class com.opensymphony.module.sitemesh.filter.NullOutputBuffer
-
- getIntProperty(String) - Method in interface com.opensymphony.module.sitemesh.Page
-
Get a property embedded into the Page as an int.
- getIntProperty(String) - Method in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
- getLocale() - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- getLongProperty(String) - Method in interface com.opensymphony.module.sitemesh.Page
-
Get a property embedded into the Page as a long.
- getLongProperty(String) - Method in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
- getLowerSubstr() - Method in class com.opensymphony.module.sitemesh.util.CharArray
-
- getMappedName(String) - Method in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
Get name of Decorator mapped to given path.
- getMethod() - Method in class com.opensymphony.module.sitemesh.parser.PageRequest
-
- getName() - Method in interface com.opensymphony.module.sitemesh.Decorator
-
Name of the Decorator.
- getName() - Method in class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
-
Name of Decorator.
- getNamedDecorator(HttpServletRequest, String) - Method in interface com.opensymphony.module.sitemesh.DecoratorMapper
-
- getNamedDecorator(HttpServletRequest, String) - Method in class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-
Delegate to parent.
- getNamedDecorator(HttpServletRequest, String) - Method in class com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper
-
Retrieve Decorator named in 'name' attribute.
- getNamedDecorator(HttpServletRequest, String) - Method in class com.opensymphony.module.sitemesh.mapper.EnvEntryDecoratorMapper
-
Retrieves the
Decorator
specified by the decorator name.
- getNamedDecorator(HttpServletRequest, String) - Method in class com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper
-
- getNamedDecorator(HttpServletRequest, String) - Method in class com.opensymphony.module.sitemesh.mapper.NullDecoratorMapper
-
Returns null.
- getOut() - Method in class com.opensymphony.module.sitemesh.taglib.AbstractTag
-
Get the outputWriter.
- getOutputStream() - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- getOutputStream() - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
If the page is parseable, return a wrapped ServletOutputStream, else return the
default ServletOutputStream.
- getPage() - Method in interface com.opensymphony.module.sitemesh.Decorator
-
URI of the Servlet/JSP to dispatch the request to (relative to the
web-app context).
- getPage() - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- getPage() - Method in class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
-
URI of the Servlet/JSP to dispatch the request to (relative to the
web-app context).
- getPage() - Method in class com.opensymphony.module.sitemesh.taglib.AbstractTag
-
Return the Page object from the PAGE scope.
- getPageOutputStream() - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- getPageParser(String) - Method in class com.opensymphony.module.sitemesh.factory.BaseFactory
-
Create a PageParser suitable for the given content-type.
- getPageParser(String) - Method in class com.opensymphony.module.sitemesh.factory.DefaultFactory
-
Refresh config before delegating to superclass.
- getPageParser(String) - Method in class com.opensymphony.module.sitemesh.Factory
-
Create a PageParser suitable for the given content-type.
- getPageWriter() - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
Return instance of
PageWriter
allowing all data written to stream to be stored in temporary buffer.
- getParent() - Method in class com.opensymphony.module.sitemesh.taglib.AbstractTag
-
- getPathInfo() - Method in class com.opensymphony.module.sitemesh.parser.PageRequest
-
- getPathTranslated() - Method in class com.opensymphony.module.sitemesh.parser.PageRequest
-
- getProperties() - Method in interface com.opensymphony.module.sitemesh.Page
-
Get a Map representing all the properties in the Page.
- getProperties() - Method in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
- getProperty(String) - Method in interface com.opensymphony.module.sitemesh.Page
-
Get a property embedded into the Page as a String.
- getProperty(String) - Method in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
- getPropertyKeys() - Method in interface com.opensymphony.module.sitemesh.Page
-
Get all available property keys for the Page.
- getPropertyKeys() - Method in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
- getQueryString() - Method in class com.opensymphony.module.sitemesh.parser.PageRequest
-
- getRequest() - Method in interface com.opensymphony.module.sitemesh.Page
-
Return the request of the original page.
- getRequest() - Method in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
- getRequestDispatcher(String) - Method in class com.opensymphony.module.sitemesh.filter.PageRequestWrapper
-
- getRequestURI() - Method in class com.opensymphony.module.sitemesh.parser.PageRequest
-
- getRole() - Method in interface com.opensymphony.module.sitemesh.Decorator
-
Role the user has to be in to get this decorator applied.
- getRole() - Method in class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
-
Role the user has to be in to get this decorator applied.
- getRootCause() - Method in exception com.opensymphony.module.sitemesh.factory.FactoryException
-
Get the original cause of the Exception.
- getServletContext() - Method in class com.opensymphony.module.sitemesh.Config
-
- getServletPath() - Method in class com.opensymphony.module.sitemesh.parser.PageRequest
-
- getStringResource(String) - Static method in class com.opensymphony.module.sitemesh.mapper.EnvEntryDecoratorMapper
-
This pulls a value out of the web-app environment.
- getTitle() - Method in interface com.opensymphony.module.sitemesh.Page
-
Get the Title of the document
- getTitle() - Method in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
Return title of from "title" property.
- getType() - Method in class com.opensymphony.module.sitemesh.taglib.decorator.UseHTMLPageTEI
-
- getType() - Method in class com.opensymphony.module.sitemesh.taglib.decorator.UsePageTEI
-
- getURIPath() - Method in interface com.opensymphony.module.sitemesh.Decorator
-
URI path of the Decorator.
- getURIPath() - Method in class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
-
URI path of the Decorator.
- getVariableInfo(TagData) - Method in class com.opensymphony.module.sitemesh.taglib.decorator.UsePageTEI
-
- getWriter() - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- getWriter() - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
If the page is parseable we return an instance of
PageWriter allowing all
data written to stream to be stored in temporary buffer.
- getWriter(Writer) - Static method in class com.opensymphony.module.sitemesh.util.OutputConverter
-
- grow(int) - Method in class com.opensymphony.module.sitemesh.util.CharArray
-
Grows the internal array by either ~100% or minSize (whichever is larger),
up to a maximum size of Integer.MAX_VALUE.
- page - Variable in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- page - Variable in class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
-
- Page - Interface in com.opensymphony.module.sitemesh
-
The Page object wraps the contents of the original (undecorated) page.
- PAGE - Static variable in interface com.opensymphony.module.sitemesh.RequestConstants
-
Stores
Page instance for parsed page to be
passed across to
Decorator.
- page - Variable in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
- pageContext - Variable in class com.opensymphony.module.sitemesh.taglib.AbstractTag
-
- pageData - Variable in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
Date of page contents.
- PageDecoratorMapper - Class in com.opensymphony.module.sitemesh.mapper
-
The PageDecoratorMapper allows the actual Page to determine the Decorator to be
used.
- PageDecoratorMapper() - Constructor for class com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper
-
- PageFilter - Class in com.opensymphony.module.sitemesh.filter
-
Main SiteMesh filter for applying Decorators to entire Pages.
- PageFilter() - Constructor for class com.opensymphony.module.sitemesh.filter.PageFilter
-
- PageOutputStream - Class in com.opensymphony.module.sitemesh.filter
-
- PageOutputStream(ServletResponse) - Constructor for class com.opensymphony.module.sitemesh.filter.PageOutputStream
-
Construct an OutputStream that will buffer the content written to it.
- pageOutputStream - Variable in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- PageParser - Interface in com.opensymphony.module.sitemesh
-
The PageParser is responsible for parsing the page data into an appropriate
Page object.
- pageParsers - Variable in class com.opensymphony.module.sitemesh.factory.BaseFactory
-
Map that associates content-types with PageParser instances.
- pageProps - Variable in class com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper
-
- PageRequest - Class in com.opensymphony.module.sitemesh.parser
-
- PageRequest(HttpServletRequest) - Constructor for class com.opensymphony.module.sitemesh.parser.PageRequest
-
- PageRequestWrapper - Class in com.opensymphony.module.sitemesh.filter
-
- PageRequestWrapper(HttpServletRequest) - Constructor for class com.opensymphony.module.sitemesh.filter.PageRequestWrapper
-
- PageRequestWrapper(HttpServletRequest, boolean) - Constructor for class com.opensymphony.module.sitemesh.filter.PageRequestWrapper
-
- PageResponseWrapper - Class in com.opensymphony.module.sitemesh.filter
-
Implementation of HttpServletResponseWrapper that captures page data instead of
sending to the writer.
- PageResponseWrapper(HttpServletResponse, Config) - Constructor for class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
Create PageResponse wrapped around an existing HttpServletResponse.
- PageResponseWrapper(HttpServletResponse, Config, boolean) - Constructor for class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
Create PageResponse wrapped around an existing HttpServletResponse.
- pageWriter - Variable in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- PageWriter - Class in com.opensymphony.module.sitemesh.filter
-
- PageWriter(PrintWriter) - Constructor for class com.opensymphony.module.sitemesh.filter.PageWriter
-
- PARAMETER_HASH - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- ParameterDecoratorMapper - Class in com.opensymphony.module.sitemesh.mapper
-
The ParameterDecoratorMapper will map a suitable decorator based on request
parameters.
- ParameterDecoratorMapper() - Constructor for class com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper
-
- parameters - Variable in class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
-
- paramName - Variable in class com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper
-
- paramName - Variable in class com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper
-
- params - Variable in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
- ParamTag - Class in com.opensymphony.module.sitemesh.taglib.page
-
Add a parameter to the inline Decorator, as if specified in the Page.
- ParamTag() - Constructor for class com.opensymphony.module.sitemesh.taglib.page.ParamTag
-
- paramValue - Variable in class com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper
-
- paramValue - Variable in class com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper
-
- parent - Variable in class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-
Parent DecoratorMapper.
- parent - Variable in class com.opensymphony.module.sitemesh.taglib.AbstractTag
-
- parse(char[]) - Method in interface com.opensymphony.module.sitemesh.PageParser
-
This builds a Page.
- parse(char[]) - Method in class com.opensymphony.module.sitemesh.parser.DefaultPageParser
-
- parse(char[]) - Method in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- parse(Reader) - Method in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- parseablePage - Variable in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- parseConfig(Document) - Method in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
Parse configuration from XML document.
- parsePage(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.opensymphony.module.sitemesh.filter.PageFilter
-
Continue in filter-chain, writing all content to buffer and parsing
into returned
Page object.
- parseProperties(FastPageParser.Tag, CharArray) - Static method in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
This is called when we need to extract the properties for the tag from the tag's HTML.
- parseTag(FastPageParser.Tag, CharArray) - Method in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- pathInfo - Variable in class com.opensymphony.module.sitemesh.parser.PageRequest
-
- pathMapper - Variable in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
- PathMapper - Class in com.opensymphony.module.sitemesh.mapper
-
The PathMapper is used to map file patterns to keys, and find an approriate
key for a given file path.
- PathMapper() - Constructor for class com.opensymphony.module.sitemesh.mapper.PathMapper
-
- pathNotAvailable - Static variable in class com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper
-
- pathTranslated - Variable in class com.opensymphony.module.sitemesh.parser.PageRequest
-
- populatePathMapper(NodeList, String, String) - Method in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
Extracts each URL pattern and adds it to the pathMapper map.
- pos - Variable in class com.opensymphony.module.sitemesh.util.CharArrayReader
-
The current buffer position.
- print(boolean) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- print(char) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- print(int) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- print(long) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- print(float) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- print(double) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- print(char[]) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- print(String) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- print(Object) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- print(char) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- print(double) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- print(float) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- print(int) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- print(long) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- print(boolean) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- print(char[]) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- print(Object) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- print(String) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- PrintableDecoratorMapper - Class in com.opensymphony.module.sitemesh.mapper
-
The PrintableDecoratorMapper is a sample DecoratorMapper that will
check to see whether 'printable=true' is supplied as a request parameter
and if so, use the specified decorator instead.
- PrintableDecoratorMapper() - Constructor for class com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper
-
- println() - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- println(boolean) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- println(char) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- println(int) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- println(long) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- println(float) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- println(double) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- println(char[]) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- println(String) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- println(Object) - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- println() - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- println(char) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- println(double) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- println(float) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- println(int) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- println(long) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- println(boolean) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- println(char[]) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- println(Object) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- println(String) - Method in class com.opensymphony.module.sitemesh.filter.PageWriter
-
- printStackTrace() - Method in exception com.opensymphony.module.sitemesh.factory.FactoryException
-
- printStackTrace(PrintStream) - Method in exception com.opensymphony.module.sitemesh.factory.FactoryException
-
- printStackTrace(PrintWriter) - Method in exception com.opensymphony.module.sitemesh.factory.FactoryException
-
- properties - Variable in class com.opensymphony.module.sitemesh.mapper.OSDecoratorMapper
-
Properties holds the parameters that the object was initialized with.
- properties - Variable in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
Map of all properties.
- properties - Variable in class com.opensymphony.module.sitemesh.parser.FastPageParser.Tag
-
- propertyName - Variable in class com.opensymphony.module.sitemesh.taglib.decorator.PropertyTag
-
- PropertyTag - Class in com.opensymphony.module.sitemesh.taglib.decorator
-
Write property of Page to out.
- PropertyTag() - Constructor for class com.opensymphony.module.sitemesh.taglib.decorator.PropertyTag
-
- pushDecoratorMapper(String, Properties) - Method in class com.opensymphony.module.sitemesh.factory.BaseFactory
-
Push new DecoratorMapper onto end of chain.
- put(String, String) - Method in class com.opensymphony.module.sitemesh.mapper.PathMapper
-
Add a key and appropriate matching pattern.
- rd - Variable in class com.opensymphony.module.sitemesh.filter.RequestDispatcherWrapper
-
- read() - Method in class com.opensymphony.module.sitemesh.util.CharArrayReader
-
Read a single character.
- read(char[], int, int) - Method in class com.opensymphony.module.sitemesh.util.CharArrayReader
-
Read characters into a portion of an array.
- ready() - Method in class com.opensymphony.module.sitemesh.util.CharArrayReader
-
Tell whether this stream is ready to be read.
- refresh() - Method in class com.opensymphony.module.sitemesh.factory.DefaultFactory
-
Check if configuration file has been modified, and if so reload it.
- refresh() - Method in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
Check if configuration file has been updated, and if so, reload.
- release() - Method in class com.opensymphony.module.sitemesh.taglib.AbstractTag
-
- release() - Method in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
Release all attributes
- replaceProperties(String) - Method in class com.opensymphony.module.sitemesh.factory.DefaultFactory
-
Replaces any properties that appear in the supplied string
with their actual values
- report(String, Exception) - Static method in class com.opensymphony.module.sitemesh.Factory
-
Report a problem.
- request - Variable in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
RequestURI of original Page.
- RequestConstants - Interface in com.opensymphony.module.sitemesh
-
A set of static constants of Strings to be used as ServletRequest attribute keys
to represent various objects passed between pages.
- RequestDispatcherWrapper - Class in com.opensymphony.module.sitemesh.filter
-
Special request dispatcher that will include when an inline decorator includes
a resource that uses an internal forward.
- RequestDispatcherWrapper(RequestDispatcher) - Constructor for class com.opensymphony.module.sitemesh.filter.RequestDispatcherWrapper
-
- requestURI - Variable in class com.opensymphony.module.sitemesh.parser.PageRequest
-
- reset() - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- reset() - Method in class com.opensymphony.module.sitemesh.util.CharArrayReader
-
Reset the stream to the most recent mark, or to the beginning if it has
never been marked.
- reset() - Method in class com.opensymphony.module.sitemesh.util.FastByteArrayOutputStream
-
- RESIN - Static variable in class com.opensymphony.module.sitemesh.util.Container
-
- resinConvert(String, Writer) - Static method in class com.opensymphony.module.sitemesh.util.OutputConverter
-
- response - Variable in class com.opensymphony.module.sitemesh.filter.PageOutputStream
-
The reason we use a response, rather than just getting the outputstream directly is that under Tomcat, when
serving static resources, we need to avoid calling getOutputStream() if we are going to use a decorator.
- response - Variable in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- result - Static variable in class com.opensymphony.module.sitemesh.util.Container
-
- ROBOT - Static variable in interface com.opensymphony.module.sitemesh.RequestConstants
-
Marker that stores a Boolean (under the session) to state whether the current
session is the session of a web search engine spider.
- RobotDecoratorMapper - Class in com.opensymphony.module.sitemesh.mapper
-
The RobotDecoratorMapper will use the specified decorator when the requester
is identified as a robot (also known as spider, crawler, ferret) of a search engine.
- RobotDecoratorMapper() - Constructor for class com.opensymphony.module.sitemesh.mapper.RobotDecoratorMapper
-
- role - Variable in class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
-
- searchForClosestClass(Map) - Static method in class com.opensymphony.module.sitemesh.util.Container
-
Walk up the classloader hierachy and attempt to find a class in the classMappings Map
that can be loaded.
- sendError(int) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- sendError(int, String) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- sendError(int) - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- sendError(int, String) - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- sendRedirect(String) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- sendRedirect(String) - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- servletConfig - Variable in class com.opensymphony.module.sitemesh.Config
-
- servletPath - Variable in class com.opensymphony.module.sitemesh.parser.PageRequest
-
- setBufferSize(int) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- setContentLength(int) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- setContentLength(int) - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
Prevent content-length being set if page is parseable.
- setContentType(String) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- setContentType(String) - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
Set the content-type of the request and store it so it can
be passed to the
PageParser.
- setContentType(String) - Method in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
- setContentTypeCalled - Variable in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
- setDateHeader(String, long) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- setDecorator(String) - Method in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
Deprecated.
Use setName() instead.
- setDefault(String) - Method in class com.opensymphony.module.sitemesh.taglib.decorator.PropertyTag
-
Value to write if no property matching key is found (optional).
- setDefault(String) - Method in class com.opensymphony.module.sitemesh.taglib.decorator.TitleTag
-
Value to write if no title is found (optional).
- setEncoding(String) - Method in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
- setError() - Method in class com.opensymphony.module.sitemesh.filter.DebugPageWriter
-
- setFilterConfig(FilterConfig) - Method in class com.opensymphony.module.sitemesh.filter.PageFilter
-
Deprecated.
Not needed in final version of Servlet 2.3 API - replaced by init().
- setHeader(String, String) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- setHeader(String, String) - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
Prevent content-length being set if page is parseable.
- setId(String) - Method in class com.opensymphony.module.sitemesh.taglib.decorator.UsePageTag
-
Set name of variable the Page will be set as.
- setId(String) - Method in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
Tag attribute: If set, this value will override the 'id'
property of the page.
- setIntHeader(String, int) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- setLength(int) - Method in class com.opensymphony.module.sitemesh.util.CharArray
-
Changes the size of the character array to the value specified.
- setLocale(Locale) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- setName(String) - Method in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
Tag attribute: Name of Decorator to apply to Page.
- setName(String) - Method in class com.opensymphony.module.sitemesh.taglib.page.ParamTag
-
- setPage(String) - Method in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
Tag attribute: URI of page to include.
- setPageContext(PageContext) - Method in class com.opensymphony.module.sitemesh.taglib.AbstractTag
-
- setParent(Tag) - Method in class com.opensymphony.module.sitemesh.taglib.AbstractTag
-
- setProperty(String) - Method in class com.opensymphony.module.sitemesh.taglib.decorator.PropertyTag
-
Key of property to write.
- setRequest(HttpServletRequest) - Method in interface com.opensymphony.module.sitemesh.Page
-
Create snapshot of Request.
- setRequest(HttpServletRequest) - Method in class com.opensymphony.module.sitemesh.parser.AbstractPage
-
Create snapshot of Request.
- setStatus(int) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- setStatus(int, String) - Method in class com.opensymphony.module.sitemesh.filter.DebugResponseWrapper
-
- setStatus(int) - Method in class com.opensymphony.module.sitemesh.filter.PageResponseWrapper
-
Prevent 'not modified' (304) HTTP status from being sent if page is parseable
(so web-server/browser doesn't cache contents).
- setSubstr(int, int) - Method in class com.opensymphony.module.sitemesh.util.CharArray
-
Allows an arbitrary substring of this character array to be specified.
- setTitle(String) - Method in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
-
Tag attribute: If set, this value will override the 'title'
property of the page.
- setVerbatimPage(char[]) - Method in class com.opensymphony.module.sitemesh.parser.FastPage
-
- setWriteEntireProperty(String) - Method in class com.opensymphony.module.sitemesh.taglib.decorator.PropertyTag
-
When begins with y, t or 1, the full attribute (name + value) is written.
- shouldParsePage(String) - Method in class com.opensymphony.module.sitemesh.factory.BaseFactory
-
Determine whether a Page of given content-type should be parsed or not.
- shouldParsePage(String) - Method in class com.opensymphony.module.sitemesh.factory.DefaultFactory
-
Refresh config before delegating to superclass.
- shouldParsePage(String) - Method in class com.opensymphony.module.sitemesh.Factory
-
Determine whether a Page of given content-type should be parsed or not.
- shouldWriteToHead(int, int) - Static method in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- SITEMESH_FACTORY - Static variable in class com.opensymphony.module.sitemesh.Factory
-
Web context lookup key
- size - Variable in class com.opensymphony.module.sitemesh.util.CharArray
-
- size - Variable in class com.opensymphony.module.sitemesh.util.FastByteArrayOutputStream
-
- size() - Method in class com.opensymphony.module.sitemesh.util.FastByteArrayOutputStream
-
- skip(long) - Method in class com.opensymphony.module.sitemesh.util.CharArrayReader
-
Skip characters.
- SLASH_BODY_HASH - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- SLASH_HEAD_HASH - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- SLASH_HTML_HASH - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- SLASH_TITLE_HASH - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- SLASH_XML_HASH - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- SLASH_XMP_HASH - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- STATE_CDATA - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- STATE_COMMENT - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- STATE_DOCTYPE - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- STATE_EOF - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- STATE_SCRIPT - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- STATE_TAG - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- STATE_TAG_QUOTE - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- STATE_TEXT - Static variable in class com.opensymphony.module.sitemesh.parser.FastPageParser
-
- storeDecorator(Decorator) - Method in class com.opensymphony.module.sitemesh.mapper.ConfigLoader
-
Store Decorator in Map
- substrHashCode() - Method in class com.opensymphony.module.sitemesh.util.CharArray
-
- substring(int, int) - Method in class com.opensymphony.module.sitemesh.util.CharArray
-
Returns a substring from within this character array.
- subStrLen - Variable in class com.opensymphony.module.sitemesh.util.CharArray
-
- subStrStart - Variable in class com.opensymphony.module.sitemesh.util.CharArray
-