package net.pterodactylus.arachne.core;
/**
- * Container for a page. A page consists of a {@link Site} and a path within the
- * site.
+ * Container for a page. A page consists of an {@link Edition} and a path within
+ * the edition.
*
* @author David ‘Bombe’ Roden <bombe@pterodactylus.net>
*/
public class Page {
- /** The site of the page. */
- private final Site site;
+ /** The edition of the page. */
+ private final Edition edition;
/** The path of the page. */
private final String path;
/**
* Creates a new page.
*
- * @param site
- * The site of the page
+ * @param edition
+ * The edition of the page
* @param path
* The path of the page
*/
- public Page(Site site, String path) {
- this.site = site;
+ public Page(Edition edition, String path) {
+ this.edition = edition;
this.path = path;
}
/**
- * Returns the site of the page.
+ * Returns the edition of the page.
*
- * @return The page’s site
+ * @return The page’s edition
*/
- public Site getSite() {
- return site;
+ public Edition getSite() {
+ return edition;
}
/**