Interface ViewSelector

All Known Implementing Classes:
DefaultViewSelector, WebViewSelector

public interface ViewSelector
Provides an overridable mechanism for selecting a view (a XSL file in most cases).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The avalon role.
  • Method Summary

    Modifier and Type
    Method
    Description
    getSource(String pluginName, String location)
    Get the file source for the requested location.
  • Field Details

    • ROLE

      static final String ROLE
      The avalon role.
  • Method Details

    • getSource

      Source getSource(String pluginName, String location) throws IOException
      Get the file source for the requested location.
      Parameters:
      pluginName - The current plugin name. Can be null.
      location - the requested location.
      Returns:
      the file source.
      Throws:
      IOException - if the Source cannot be resolved.