2 * © 2009 David ‘Bombe’ Roden
4 package net.pterodactylus.arachne.core;
7 * Container for a page. A page consists of an {@link Edition} and a path within
10 * @author David ‘Bombe’ Roden <bombe@pterodactylus.net>
14 /** The edition of the page. */
15 private final Edition edition;
17 /** The path of the page. */
18 private final String path;
24 * The edition of the page
26 * The path of the page
28 public Page(Edition edition, String path) {
29 this.edition = edition;
34 * Returns the edition of the page.
36 * @return The page’s edition
38 public Edition getSite() {
43 * Returns the path of the page within the site.
45 * @return The page’s path
47 public String getPath() {
58 * @see java.lang.Object#toString()
61 public String toString() {
62 return getClass().getName() + "[edition=" + edition + ",path=" + path + "]";