All Known Implementing Classes:
Content2HTMLPage, TokenizedHTMLPage, AbstractPage, HTMLPage, AbstractHTMLPage, FastPage
The original data in its entirity can be written using the writePage() methods. It may also contain a set of properties - these vary among different com.opensymphony.module.sitemesh.PageParser implementations.
Typically a Page is no use to a com.opensymphony.module.sitemesh.Decorator as it needs specific details relevant to the content-type of that page (e.g. HTML pages). The appropriate com.opensymphony.module.sitemesh.PageParser is responsible for returning extended implementations of pages such as com.opensymphony.module.sitemesh.HTMLPage which are of more use to the Decorator. New media types (e.g. WML) could be added to the system by extending Page and implementing an appropriate PageParser.
< - a href="mailto:joe@truemesh.com">Joe Walnes$ - Revision: 1.3 $| Method from com.opensymphony.module.sitemesh.Page Summary: |
|---|
| addProperty, getBody, getBooleanProperty, getContentLength, getIntProperty, getLongProperty, getPage, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, setRequest, writeBody, writePage |
| Method from com.opensymphony.module.sitemesh.Page Detail: |
|---|
|
<body> tag. |
Page as a boolean.
Returns true if value starts with '1', 't' or 'y' (case-insensitive) -
otherwise returns false. |
Page, in the format before
it was parsed. |
Page as an int.
Returns 0 if property not specified or not valid number. |
Page as a long.
Returns 0L if property not specified or not valid number. |
Page in its original format. |
Map representing all the properties in the Page. |
Page as a String. |
Page. |
|
|
Page has been set. |
|
<body> tag. |
Page, in the format before
it was parsed, to the Writer. |