org.codehaus.xsite
Class XSite

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

public class XSite
extends java.lang.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(java.io.File sitemapFile, java.io.File skinFile, java.io.File[] resourceDirs, java.io.File outputDirectory, java.util.Map<java.lang.String,java.lang.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(java.io.File sitemapFile,
                  java.io.File skinFile,
                  java.io.File[] resourceDirs,
                  java.io.File outputDirectory,
                  java.util.Map<java.lang.String,java.lang.Object> customProperties)
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009 null. All Rights Reserved.