Interface ContentProcessor

All Known Implementing Classes:
PageParser2ContentProcessor

public interface ContentProcessor
The Interface ContentProcessor.
Since:
SiteMesh 3
Author:
Joe Walnes
  • Method Details

    • handles

      boolean handles(SiteMeshContext context)
      Handles.
      Parameters:
      context - the context
      Returns:
      true, if successful
    • handles

      boolean handles(String contentType)
      Handles.
      Parameters:
      contentType - the content type
      Returns:
      true, if successful
    • build

      Content build(SitemeshBuffer buffer, SiteMeshContext context) throws IOException
      Builds the.
      Parameters:
      buffer - the buffer
      context - the context
      Returns:
      the content
      Throws:
      IOException - Signals that an I/O exception has occurred.