org.codehaus.xsite
Class XSite

java.lang.Object
  extended byorg.codehaus.xsite.XSite

public class XSite
extends Object

Facade for building sites

Author:
Joe Walnes, Mauro Talevi

Constructor Summary
XSite()
          Creates an XSite with default dependencies
XSite(SitemapLoader loader, Skin skin, LinkValidator[] validators, FileSystem fileSystem)
          Creates an XSite with custom dependencies
 
Method Summary
 void build(File sitemapFile, File skinFile, File[] resourceDirs, File outputDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSite

public XSite()
Creates an XSite with default dependencies


XSite

public XSite(SitemapLoader loader,
             Skin skin,
             LinkValidator[] validators,
             FileSystem fileSystem)
Creates an XSite with custom dependencies

Parameters:
loader - the SitemapLoader used to load the Sitemap
skin - the Skin used to skin the pages
validators - the array with the LinkValidator instances
fileSystem - the FileSystem used for IO operations
Method Detail

build

public void build(File sitemapFile,
                  File skinFile,
                  File[] resourceDirs,
                  File outputDirectory)
           throws IOException
Throws:
IOException


Copyright © {inceptionYear}-2007 null. All Rights Reserved.