org.codehaus.xsite.skins
Class FreemarkerSkin

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

public class FreemarkerSkin
extends java.lang.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(java.io.File skinFile)
           
 void skin(Page page, Sitemap sitemap, 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

FreemarkerSkin

public FreemarkerSkin()
Method Detail

load

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

skin

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


Copyright © 2009 null. All Rights Reserved.