org.jpublish
Interface PageManager
- All Known Implementing Classes:
- AbstractPageManager
- public interface PageManager
The PageManager is a central access point for locating pages. Implementations of
the PageManager interface will provide the page loading behavior.
- Author:
- Anthony Eden
setSiteContext
public void setSiteContext(SiteContext siteContext)
- Set the SiteContext.
- Parameters:
siteContext
- The site context
getPage
public Page getPage(java.lang.String path)
throws java.lang.Exception
- Get a Page instance from the given path. If no page can be found
then this method will throw a FileNotFoundException.
- Parameters:
path
- The page path- Returns:
- The Page
- Throws:
java.lang.Exception
- Any Exception
Copyright (C) 2001 Anthony Eden. All Rights Reserved.