01 /*
02 * Copyright 2007 Roberto Fasciolo
03 *
04 * This file is part of vsitegen.
05 *
06 * vsitegen is free software; you can redistribute it and/or modify
07 * it under the terms of the GNU General Public License as published by
08 * the Free Software Foundation; either version 2 of the License, or
09 * (at your option) any later version.
10 *
11 * vsitegen is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with vsitegen; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20 package net.robyf.vsitegen.model;
21
22 public final class Page extends Element {
23
24 private String file;
25
26 public String getFile() {
27 return file;
28 }
29
30 public void setFile(final String file) {
31 this.file = file;
32 }
33
34 public boolean isLink() {
35 return false;
36 }
37
38 public boolean isPage() {
39 return true;
40 }
41
42 }
|