org.codehaus.xsite.model
Class Page

java.lang.Object
  extended by org.codehaus.xsite.model.Entry
      extended by org.codehaus.xsite.model.Page

public class Page
extends Entry

Represents a single page entry in a sitemap, including filename, head and body.

Author:
Joe Walnes, Mauro Talevi

Constructor Summary
Page(String filename, String head, String body, Collection<Link> links, Properties properties)
          Creates a Page
 
Method Summary
 String getBody()
           
 String getFilename()
           
 String getHead()
           
 String getHref()
           
 String getId()
           
 Collection<Link> getLinks()
           
 String getTitle()
           
 boolean isIndex()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Page

public Page(String filename,
            String head,
            String body,
            Collection<Link> links,
            Properties properties)
Creates a Page

Parameters:
filename -
head -
body -
links -
properties -
Method Detail

getId

public String getId()

getTitle

public String getTitle()

getHead

public String getHead()

getBody

public String getBody()

getFilename

public String getFilename()

getHref

public String getHref()

getLinks

public Collection<Link> getLinks()

isIndex

public boolean isIndex()


Copyright © 2010. All Rights Reserved.