Interface ContentView

All Known Implementing Classes:
DefaultContentView, WebContentView

public interface ContentView
Component responsible to lookup a Source for a content view
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Avalon Role
  • Method Summary

    Modifier and Type
    Method
    Description
    getSource(String location, String contentType, String view, String format, String pluginName, String extension)
    Get the file source for rendering a content
  • Field Details

  • Method Details

    • getSource

      Source getSource(String location, String contentType, String view, String format, String pluginName, String extension) throws IOException
      Get the file source for rendering a content
      Parameters:
      location - the requested location
      contentType - the type of the current Content
      view - the content view
      format - the format of the output (html, pdf, ...)
      pluginName - the current plugin name
      extension - the extension (xsl, xml, ...)
      Returns:
      the file source
      Throws:
      IOException - if the Source cannot be resolved