Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
C D F G H I P R S W

C

com.sitemesh - package com.sitemesh
 
config - Variable in class com.sitemesh.Factory
ServletConfig or FilterConfig.

D

DECORATOR - Static variable in interface com.sitemesh.RequestConstants
The name (String) of the Decorator to suggest using.
Decorator - interface com.sitemesh.Decorator.
Representation of a Decorator.
DecoratorMapper - interface com.sitemesh.DecoratorMapper.
The DecoratorMapper is resposible for determining which Decorator should be used for a Page .
decoratorMapper - Variable in class com.sitemesh.Factory
Instance of DecoratorMapper.
defaultParser() - Method in class com.sitemesh.Factory
Default PageParser if no other can be determined.

F

FILTER_APPLIED - Static variable in interface com.sitemesh.RequestConstants
Marker that stores a Boolean to state whether the decorator filter has been applied yet in this request.
Factory - class com.sitemesh.Factory.
Factory responsible for creating appropriate instances of implementations.
Factory(Config) - Constructor for class com.sitemesh.Factory
Constructor for default implementation of Factory.

G

getBooleanProperty(String) - Method in interface com.sitemesh.Page
Get a property embedded into the Page as a boolean.
getContentLength() - Method in interface com.sitemesh.Page
Length of the Page, in the format before it was parsed.
getDecorator(HttpServletRequest, Page) - Method in interface com.sitemesh.DecoratorMapper
Return appropriate Decorator for a certain Page.
getDecoratorMapper() - Method in class com.sitemesh.Factory
Return instance of DecoratorMapper.
getDecoratorName() - Method in interface com.sitemesh.HTMLPage
Get the name of the template suitable for the HTMLPage.
getInitParam(String) - Method in interface com.sitemesh.Decorator
Return init parameter of Decorator.
getInstance(Config) - Static method in class com.sitemesh.Factory
Entry-point for obtaining singleton instance of Factory.
getIntProperty(String) - Method in interface com.sitemesh.Page
Get a property embedded into the Page as an int.
getLongProperty(String) - Method in interface com.sitemesh.Page
Get a property embedded into the Page as a long.
getName() - Method in interface com.sitemesh.Decorator
Name of Decorator.
getPage() - Method in interface com.sitemesh.Decorator
URI of Servlet/JSP to dispatch request to (relative to web-app context).
getPageParser(String) - Method in class com.sitemesh.Factory
Create a PageParser suitable for the given content-type.
getProperties(String) - Method in interface com.sitemesh.Page
Get properties embedded into the Page as a String[].
getProperty(String) - Method in interface com.sitemesh.Page
Get a property embedded into the Page as a String.
getPropertyKeys() - Method in interface com.sitemesh.Page
Get all available property keys for the Page.
getPropertySize(String) - Method in interface com.sitemesh.Page
Determine the number of properties embedded into the Page with a given name.
getRequest() - Method in interface com.sitemesh.Page
Return the request of the original page.
getTitle() - Method in interface com.sitemesh.HTMLPage
Get the Title of the document

H

HTMLPage - interface com.sitemesh.HTMLPage.
Extention of Page providing access to HTML data.

I

init(Config, Properties) - Method in interface com.sitemesh.DecoratorMapper
Initialize the mapper.
instance - Static variable in class com.sitemesh.Factory
 
isPropertySet(String) - Method in interface com.sitemesh.Page
Determine whether a property embedded into the Page has been set.

P

PAGE - Static variable in interface com.sitemesh.RequestConstants
Stores Page instance for parsed page to be passed across to Decorator .
Page - interface com.sitemesh.Page.
The Page object wraps the contents of the original (undecorated) page.
PageParser - interface com.sitemesh.PageParser.
The PageParser is responsible for parsing the page data into an appropriate Page object.
parse(InputStream) - Method in interface com.sitemesh.PageParser
 
parse(Reader) - Method in interface com.sitemesh.PageParser
 
parse(InputSource) - Method in interface com.sitemesh.PageParser
 
parse(char[]) - Method in interface com.sitemesh.PageParser
 
parse(byte[]) - Method in interface com.sitemesh.PageParser
 

R

RequestConstants - interface com.sitemesh.RequestConstants.
This is a set of static constants of Strings to be used as ServletRequest attribute keys to represent various objects passed between pages.

S

setRequest(HttpServletRequest) - Method in interface com.sitemesh.Page
Create snapshot of Request.
shouldCache() - Method in interface com.sitemesh.Page
Determine whether this Page can be cached or not.

W

writeBody(OutputStream) - Method in interface com.sitemesh.HTMLPage
Write the contents of the <body> tag.
writeBody(Writer) - Method in interface com.sitemesh.HTMLPage
Write the contents of the <body> tag.
writeHead(OutputStream) - Method in interface com.sitemesh.HTMLPage
Write the contents of the <head> tag.
writeHead(Writer) - Method in interface com.sitemesh.HTMLPage
Write the contents of the <head> tag.
writePage(OutputStream) - Method in interface com.sitemesh.Page
Write the entire contents of the Page, in the format before it was parsed, to the OutputStream.
writePage(Writer) - Method in interface com.sitemesh.Page
Write the entire contents of the Page, in the format before it was parsed, to the Writer.

C D F G H I P R S W