|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sitemesh.builder.BaseSiteMeshBuilder<BUILDER,OfflineContext,SiteMeshOffline>
org.sitemesh.builder.BaseSiteMeshOfflineBuilder<BUILDER>
BUILDER - The type to return from the builder methods. Subclasses
should type this as their own class type.public abstract class BaseSiteMeshOfflineBuilder<BUILDER extends BaseSiteMeshOfflineBuilder>
Functionality for building a SiteMeshOffline.
Inherits common functionality from BaseSiteMeshBuilder.
Clients should use the concrete SiteMeshOfflineBuilder implementation.
BaseSiteMeshBuilder,
SiteMeshOffline| Constructor Summary | |
|---|---|
BaseSiteMeshOfflineBuilder()
|
|
| Method Summary | |
|---|---|
abstract SiteMeshOffline |
create()
Create the SiteMeshOfflineGenerator. |
Directory |
getDestinationDirectory()
Get the destination directory. |
Directory |
getSourceDirectory()
Get the source directory. |
BUILDER |
setDestinationDirectory(Directory destinationDirectory)
Set destination directory, were the processed files will be written to. |
BUILDER |
setDestinationDirectory(File destinationDirectory)
Set destination directory, were the processed files will be written to. |
BUILDER |
setDestinationDirectory(String destinationDirectoryPath)
Set destination directory, were the processed files will be written to. |
BUILDER |
setSourceDirectory(Directory sourceDirectory)
Set source directory, were the unprocessed files will be read from. |
BUILDER |
setSourceDirectory(File sourceDirectory)
Set source directory, were the processed files will be read from. |
BUILDER |
setSourceDirectory(String sourceDirectoryPath)
Set source directory, were the processed files will be read from. |
| Methods inherited from class org.sitemesh.builder.BaseSiteMeshBuilder |
|---|
addDecoratorPath, addDecoratorPaths, addDecoratorPaths, addTagRuleBundle, addTagRuleBundles, addTagRuleBundles, clearTagRuleBundles, getContentProcessor, getDecoratorSelector, self, setCustomContentProcessor, setCustomDecoratorSelector, setTagRuleBundles, setTagRuleBundles, setupDefaults |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseSiteMeshOfflineBuilder()
| Method Detail |
|---|
public abstract SiteMeshOffline create()
create in class BaseSiteMeshBuilder<BUILDER extends BaseSiteMeshOfflineBuilder,OfflineContext,SiteMeshOffline>public BUILDER setSourceDirectory(Directory sourceDirectory)
The Directory abstraction allows for plugging into other storage
mechanisms than a standard file system (e.g. in memory, database, etc).
public BUILDER setSourceDirectory(File sourceDirectory)
public BUILDER setSourceDirectory(String sourceDirectoryPath)
public Directory getSourceDirectory()
throws IllegalStateException
IllegalStateException - if directory has not been set.public BUILDER setDestinationDirectory(Directory destinationDirectory)
The Directory abstraction allows for plugging into other storage
mechanisms than a standard file system (e.g. in memory, database, etc).
public BUILDER setDestinationDirectory(File destinationDirectory)
public BUILDER setDestinationDirectory(String destinationDirectoryPath)
public Directory getDestinationDirectory()
throws IllegalStateException
IllegalStateException - if directory has not been set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||