org.codehaus.xsite
Class XSite

java.lang.Object
  extended by org.codehaus.xsite.XSite

public class XSite
extends Object

Facade for building sites

Author:
Joe Walnes, Mauro Talevi

Constructor Summary
XSite(SitemapLoader loader, Skin skin, LinkValidator[] validators, FileSystem fileSystem, XSiteConfiguration configuration)
          Creates an XSite
 
Method Summary
 void build(File sitemapFile, File skinFile, File[] resourceDirs, File outputDirectory, Map<String,Object> customProperties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSite

public XSite(SitemapLoader loader,
             Skin skin,
             LinkValidator[] validators,
             FileSystem fileSystem,
             XSiteConfiguration configuration)
Creates an XSite

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
configuration - the XSite configuration
Method Detail

build

public void build(File sitemapFile,
                  File skinFile,
                  File[] resourceDirs,
                  File outputDirectory,
                  Map<String,Object> customProperties)
           throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.