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

A

addCssRule(CssRule) - Method in class com.mslinn.JBrowCaps.StyleSheet
Merge CssRule rule into a StyleSheet.  Should only be called during servlet initialization.  Declared as protected for debugging purposes; should actually be private.
addCssRule(String) - Method in class com.mslinn.JBrowCaps.StyleSheet
Merge CssRule into a StyleSheet.  Should only be called during servlet initialization.
attributes - Variable in class org.apache.jasper.runtime.PageContextImpl
 
autoFlush - Variable in class org.apache.jasper.runtime.PageContextImpl
 

B

BrowserDetector - class org.apache.turbine.util.BrowserDetector.
This class parses the user agent string and sets javasciptOK and cssOK following the rules described below.
BrowserDetector(HttpServletRequest) - Constructor for class org.apache.turbine.util.BrowserDetector
Constructor used to initialize this class.
BrowserDetector(String) - Constructor for class org.apache.turbine.util.BrowserDetector
Constructor used to initialize this class.
browserSupportsCss() - Method in class com.mslinn.JBrowCaps.StyleSheet
Detect browser capability.  Should only be called at the start of each user session.
bufferSize - Variable in class org.apache.jasper.runtime.PageContextImpl
 
buildTargetMaps() - Method in class com.mslinn.JBrowCaps.StyleSheet
Create cssTrue and cssFalse, which define all the formatting strings for JSP pages that want to use the stylesheet.  Should only be called during servlet initialization.

C

com.mslinn.JBrowCaps - package com.mslinn.JBrowCaps
This is a package that reads a CSS1 or CSS2 stylesheet, parses out the HTML tags, and builds a set of HashMaps containing equivalent HTML for browsers of different capbility.  This allows older browsers to render a page as closely as possible to the rendering performed by newer, more capable browers, without necessitating recoding all the HTML for different browsers.  This also provides for a single stylesheet being able to drive browsers by different manufacturers.  More detail can be found at the bottom of the package overview page, after this paragraph repeats.
config - Variable in class org.apache.jasper.runtime.PageContextImpl
 
context - Variable in class org.apache.jasper.runtime.PageContextImpl
 
cssFalse - Variable in class com.mslinn.JBrowCaps.StyleSheet
Contains map of format strings for browsers that don't support CSS.  Add more HashMaps for each targeted type of browser (such as i-mode or WML).
CssRule - class com.mslinn.JBrowCaps.CssRule.
This is a helper class for building a StyleSheet by adding rules to it.
CssRule() - Constructor for class com.mslinn.JBrowCaps.CssRule
Default constructor.
CssRule(CssRule) - Constructor for class com.mslinn.JBrowCaps.CssRule
Copy constructor.
cssTrue - Variable in class com.mslinn.JBrowCaps.StyleSheet
Contains map of css-compatible format strings.

D

debug - Variable in class com.mslinn.JBrowCaps.JBrowCaps
Controls debug output sent to System.out.
debug - Variable in class com.mslinn.JBrowCaps.StyleSheet
Controls debug output sent to System.out.
doStartTag() - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 

E

errorPageURL - Variable in class org.apache.jasper.runtime.PageContextImpl
 

F

factory - Variable in class org.apache.jasper.runtime.PageContextImpl
 
findAttribute(String) - Method in class org.apache.jasper.runtime.PageContextImpl
 
forward(String) - Method in class org.apache.jasper.runtime.PageContextImpl
 

G

getAttribute(String) - Method in class org.apache.jasper.runtime.PageContextImpl
 
getAttribute(String, int) - Method in class org.apache.jasper.runtime.PageContextImpl
 
getAttributeNamesInScope(int) - Method in class org.apache.jasper.runtime.PageContextImpl
 
getAttributesScope(String) - Method in class org.apache.jasper.runtime.PageContextImpl
 
getBrowserName() - Method in class org.apache.turbine.util.BrowserDetector
The browser name specified in the user agent string.
getBrowserPlatform() - Method in class org.apache.turbine.util.BrowserDetector
The browser platform specified in the user agent string.
getBrowserVersion() - Method in class org.apache.turbine.util.BrowserDetector
The browser version specified in the user agent string.
getCssFalse() - Method in class com.mslinn.JBrowCaps.JBrowCaps
 
getCssFile() - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 
getCssTrue() - Method in class com.mslinn.JBrowCaps.JBrowCaps
 
getDebug() - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 
getDeclare() - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 
getError() - Method in class com.mslinn.JBrowCaps.StyleSheet
Used to discover if there is an error condition in this class.
getErrorMsg() - Method in class com.mslinn.JBrowCaps.StyleSheet
Used to obtain the error message.
getException() - Method in class org.apache.jasper.runtime.PageContextImpl
 
getOut() - Method in class org.apache.jasper.runtime.PageContextImpl
 
getPage() - Method in class org.apache.jasper.runtime.PageContextImpl
 
getRequest() - Method in class org.apache.jasper.runtime.PageContextImpl
 
getResponse() - Method in class org.apache.jasper.runtime.PageContextImpl
 
getSelectorInline() - Method in class com.mslinn.JBrowCaps.HtmlFormat
Returns strings like bgcolor=white
getSelectorOff() - Method in class com.mslinn.JBrowCaps.HtmlFormat
Returns strings like </font></i></b>.
getSelectorOn() - Method in class com.mslinn.JBrowCaps.HtmlFormat
Returns strings like <b><i><font color="red">
getSelectors() - Method in class com.mslinn.JBrowCaps.StyleSheet
Used to discover the selectors defined in a stylesheet with a minimum of overhead.
getServlet() - Method in class org.apache.jasper.runtime.PageContextImpl
 
getServletConfig() - Method in class org.apache.jasper.runtime.PageContextImpl
 
getServletContext() - Method in class org.apache.jasper.runtime.PageContextImpl
 
getSession() - Method in class org.apache.jasper.runtime.PageContextImpl
 
getStrict() - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 
getStylesheet() - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 
getStylesheetMap() - Method in class com.mslinn.JBrowCaps.JBrowCaps
Return appropriate HashMap according to browser type.
getStylesheetMap() - Method in class com.mslinn.JBrowCaps.StyleSheet
Call after load(String) and buildTargetMaps() have executed.
getUserAgentString() - Method in class org.apache.turbine.util.BrowserDetector
The user agent string for this class.
getVariableInfo(TagData) - Method in class com.mslinn.JBrowCaps.JBrowCapsTagExtraInfo
Called at translation time by jasper.

H

handlePageException(Exception) - Method in class org.apache.jasper.runtime.PageContextImpl
 
htmlEncode(String) - Static method in class com.mslinn.JBrowCaps.JBrowCaps
Encode HTML so that metacharacters are escaped; allow HTML to be displayed in browser.
HtmlFormat - class com.mslinn.JBrowCaps.HtmlFormat.
This is a helper class for StyleSheet, and assists with HTML generation for web browsers that don't support CSS.
HtmlFormat() - Constructor for class com.mslinn.JBrowCaps.HtmlFormat
Default constructor
HtmlFormat(HashMap) - Constructor for class com.mslinn.JBrowCaps.HtmlFormat
If this constructor is not used, initialize(HashMap) must be called.

I

include(String) - Method in class org.apache.jasper.runtime.PageContextImpl
 
initialize(HashMap) - Method in class com.mslinn.JBrowCaps.HtmlFormat
Reset all members After calling this routine, this class's variables are all set.
initialize(HttpServletRequest, HttpServletResponse, ServletContext) - Method in class com.mslinn.JBrowCaps.JBrowCaps
Call this method on the user's first hit of their session.  After verifying that the browser supports java, this method establishes the appropriate hashmap for rendering to the user's browser.
initialize(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - Method in class org.apache.jasper.runtime.PageContextImpl
 
isCssOK() - Method in class org.apache.turbine.util.BrowserDetector
Whether or not CSS works in this browser.
isFileUploadOK() - Method in class org.apache.turbine.util.BrowserDetector
Whether or not file upload works in this browser.
isJavascriptOK() - Method in class org.apache.turbine.util.BrowserDetector
Whether or not javascript works in this browser.

J

JBrowCaps - class com.mslinn.JBrowCaps.JBrowCaps.
This class wraps StyleSheet to adapt it to PrayerWell's environment.
JBrowCaps() - Constructor for class com.mslinn.JBrowCaps.JBrowCaps
Default constructor.  Because this is a bean (even though there is no requirement to be able to serialize it), the default constructor is necessary.
JBrowCapsTag - class com.mslinn.JBrowCaps.JBrowCapsTag.
Seriously in need of optimization!
JBrowCapsTag() - Constructor for class com.mslinn.JBrowCaps.JBrowCapsTag
 
JBrowCapsTagExtraInfo - class com.mslinn.JBrowCaps.JBrowCapsTagExtraInfo.
This class is only called at translation time and for page validation.  The translation time call is the important one.

Sample usage:
JBrowCapsTagExtraInfo() - Constructor for class com.mslinn.JBrowCaps.JBrowCapsTagExtraInfo
 

L

load(String) - Method in class com.mslinn.JBrowCaps.StyleSheet
Read style sheet file and return a StyleSheet.

M

MACINTOSH - Static variable in class org.apache.turbine.util.BrowserDetector
 
main(String[]) - Static method in class com.mslinn.JBrowCaps.HtmlFormat
Testing only.
main(String[]) - Static method in class com.mslinn.JBrowCaps.CssRule
For testing only.
main(String[]) - Static method in class com.mslinn.JBrowCaps.StyleSheet
For testing only, runs from command line.
map - Variable in class com.mslinn.JBrowCaps.HtmlFormat
result of class, ready for pickup after calling HtmlFormat(HashMap)
MOZILLA - Static variable in class org.apache.turbine.util.BrowserDetector
 
MSIE - Static variable in class org.apache.turbine.util.BrowserDetector
Constants used by this class.

N

needsSession - Variable in class org.apache.jasper.runtime.PageContextImpl
 

O

OPERA - Static variable in class org.apache.turbine.util.BrowserDetector
 
out - Variable in class org.apache.jasper.runtime.PageContextImpl
 

P

page - Variable in class org.apache.jasper.runtime.PageContextImpl
 
PageContextImpl - class org.apache.jasper.runtime.PageContextImpl.
Implementation of the PageContext class from the JSP spec.
parse(String) - Method in class com.mslinn.JBrowCaps.CssRule
Parse rule and return hashmap of selectors and declarations.
popBody() - Method in class org.apache.jasper.runtime.PageContextImpl
 
pushBody() - Method in class org.apache.jasper.runtime.PageContextImpl
 

R

read(String, boolean) - Method in class com.mslinn.JBrowCaps.StyleSheet
Read style sheet from file and return as String (including any error message).  Should only be called during servlet initialization.  Declared as protected for debugging purposes; should actually be private.
release() - Method in class org.apache.jasper.runtime.PageContextImpl
 
removeAttribute(String) - Method in class org.apache.jasper.runtime.PageContextImpl
 
removeAttribute(String, int) - Method in class org.apache.jasper.runtime.PageContextImpl
 
replaceAll(String, String, String) - Static method in class com.mslinn.JBrowCaps.JBrowCapsTagExtraInfo
Substitute newStr for oldStr in s.
request - Variable in class org.apache.jasper.runtime.PageContextImpl
 
response - Variable in class org.apache.jasper.runtime.PageContextImpl
 
rule - Variable in class com.mslinn.JBrowCaps.CssRule
Collection of property / value pairs.
ruleToString() - Method in class com.mslinn.JBrowCaps.CssRule
Print the rule Hashmap so it conforms to css formatting.
ruleToString(HashMap) - Method in class com.mslinn.JBrowCaps.StyleSheet
Print the rule Hashmap so it conforms to css formatting.  Duplicated in CssRule because I'm tired.

S

selectors - Variable in class com.mslinn.JBrowCaps.CssRule
Array of selectors associated with this rule.
servlet - Variable in class org.apache.jasper.runtime.PageContextImpl
 
session - Variable in class org.apache.jasper.runtime.PageContextImpl
 
setAttribute(String, Object) - Method in class org.apache.jasper.runtime.PageContextImpl
 
setAttribute(String, Object, int) - Method in class org.apache.jasper.runtime.PageContextImpl
 
setCssFile(String) - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 
setDebug(String) - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 
setDeclare(String) - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 
setStrict(boolean) - Method in class com.mslinn.JBrowCaps.JBrowCaps
Controls if error messages are generated when an attempt is made to reference a undefined tag.
setStrict(String) - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 
setStylesheet(String) - Method in class com.mslinn.JBrowCaps.JBrowCapsTag
 
storeHtml(String, HashMap, HashMap) - Method in class com.mslinn.JBrowCaps.StyleSheet
This method break down CSS formatting into equivalent HTML for older browsers.
StyleSheet - class com.mslinn.JBrowCaps.StyleSheet.
The StyleSheet class breaks down a CSS style sheet into equivalent HTML for older browsers and stores the style sheet rules as a HashMap of HashMaps.  For any given browser capability, this class builds a separate HashMap (e.g.
StyleSheet() - Constructor for class com.mslinn.JBrowCaps.StyleSheet
Default constructor, requires subsequent initialization by calls to load(String) and buildTargetMaps() before the HashMaps have useful values.  Should only be called during servlet initialization.
StyleSheet(String, HttpServletRequest) - Constructor for class com.mslinn.JBrowCaps.StyleSheet
One-step constructor, reads from default CSS style sheet in cssFileName.  Should only be called during servlet initialization.

T

test() - Method in class com.mslinn.JBrowCaps.CssRule
For testing only.
test() - Method in class com.mslinn.JBrowCaps.StyleSheet
Just for testing.
toString() - Method in class com.mslinn.JBrowCaps.CssRule
Format CssRule for printing
toString() - Method in class com.mslinn.JBrowCaps.JBrowCaps
Format StyleSheet for printing when debugging.  Definitions are printed in sorted order.
toString() - Method in class com.mslinn.JBrowCaps.StyleSheet
Format StyleSheet for printing, not useful for serializing.  Definitions are printed in sorted order.

U

UNIX - Static variable in class org.apache.turbine.util.BrowserDetector
 

W

WINDOWS - Static variable in class org.apache.turbine.util.BrowserDetector
 

_

_(String) - Method in class com.mslinn.JBrowCaps.JBrowCaps
Look up HTML markup from appropriate HashMap.
_createOut(int, boolean) - Method in class org.apache.jasper.runtime.PageContextImpl
 

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

Written 2001 by Mike Slinn.  All rights reserved.
4230 Wooster Ave, San Mateo, CA 94403.
Tel: 650-571-8436   www.mslinn.com