Class PageParser2ContentProcessor
java.lang.Object
com.opensymphony.sitemesh.compatability.PageParser2ContentProcessor
- All Implemented Interfaces:
ContentProcessor
Adapts a SiteMesh 2
PageParser to a SiteMesh 3 ContentProcessor.- Since:
- SiteMesh 3
- Author:
- Joe Walnes
-
Constructor Summary
ConstructorsConstructorDescriptionPageParser2ContentProcessor(Factory factory) Instantiates a new page parser 2 content processor. -
Method Summary
Modifier and TypeMethodDescriptionbuild(SitemeshBuffer buffer, SiteMeshContext context) Builds the.booleanhandles(SiteMeshContext context) Handles.booleanHandles.
-
Constructor Details
-
PageParser2ContentProcessor
Instantiates a new page parser 2 content processor.- Parameters:
factory- the factory
-
-
Method Details
-
handles
Handles.- Specified by:
handlesin interfaceContentProcessor- Parameters:
context- the context- Returns:
- true, if successful
-
handles
Description copied from interface:ContentProcessorHandles.- Specified by:
handlesin interfaceContentProcessor- Parameters:
contentType- the content type- Returns:
- true, if successful
-
build
Builds the.- Specified by:
buildin interfaceContentProcessor- Parameters:
buffer- the buffercontext- the context- Returns:
- the content
- Throws:
IOException- Signals that an I/O exception has occurred.
-