org.codehaus.xsite.skins
Class FreemarkerSkin

java.lang.Object
  extended by org.codehaus.xsite.skins.FreemarkerSkin
All Implemented Interfaces:
Skin

public class FreemarkerSkin
extends Object
implements Skin

Provides HTML 'skin' around content, using a FreeMarker template.

Author:
Joe Walnes

Nested Class Summary
static class FreemarkerSkin.CannotApplySkinException
           
static class FreemarkerSkin.CannotCreateSkinException
           
 
Constructor Summary
FreemarkerSkin()
           
 
Method Summary
 void load(File skinFile)
           
 void skin(Page page, Sitemap sitemap, 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

FreemarkerSkin

public FreemarkerSkin()
Method Detail

load

public void load(File skinFile)
Specified by:
load in interface Skin

skin

public void skin(Page page,
                 Sitemap sitemap,
                 File outputDirectory,
                 Map<String,Object> customProperties)
Specified by:
skin in interface Skin


Copyright © 2011. All Rights Reserved.