|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.doxia.siterenderer.SiteRenderingContext
public class SiteRenderingContext
Context for a site rendering.
Constructor Summary | |
---|---|
SiteRenderingContext()
|
Method Summary | |
---|---|
void |
addModuleDirectory(File moduleBasedir,
String moduleParserId)
Add a module source directory. |
void |
addSiteDirectory(File file)
addSiteDirectory. |
void |
addSiteLocales(List<Locale> locales)
Adds passed locales to the list of site locales. |
DecorationModel |
getDecoration()
Getter for the field decoration . |
String |
getDefaultWindowTitle()
Getter for the field defaultWindowTitle . |
String |
getInputEncoding()
Getter for the field inputEncoding . |
Locale |
getLocale()
Getter for the field locale . |
Map<String,String> |
getModuleExcludes()
Getter for the field moduleExcludes . |
List<org.apache.maven.doxia.siterenderer.ModuleReference> |
getModules()
Getter for the field modules . |
String |
getOutputEncoding()
Getter for the field outputEncoding . |
Date |
getPublishDate()
If you want to specify a specific publish date instead of the current date. |
List<File> |
getSiteDirectories()
Getter for the field siteDirectories . |
List<Locale> |
getSiteLocales()
Getter for the field siteLocales -
a list of locales available for this site context. |
File |
getSkinJarFile()
Getter for the field skinJarFile . |
ClassLoader |
getTemplateClassLoader()
Getter for the field templateClassLoader . |
String |
getTemplateName()
Getter for the field templateName . |
Map<String,?> |
getTemplateProperties()
Getter for the field templateProperties . |
boolean |
isUsingDefaultTemplate()
isUsingDefaultTemplate. |
boolean |
isValidate()
If input documents should be validated before parsing. |
void |
setDecoration(DecorationModel decoration)
Setter for the field decoration . |
void |
setDefaultWindowTitle(String defaultWindowTitle)
Setter for the field defaultWindowTitle . |
void |
setInputEncoding(String inputEncoding)
Setter for the field inputEncoding . |
void |
setLocale(Locale locale)
Setter for the field locale . |
void |
setModuleExcludes(Map<String,String> moduleExcludes)
Setter for the field moduleExcludes . |
void |
setOutputEncoding(String outputEncoding)
Setter for the field outputEncoding . |
void |
setPublishDate(Date publishDate)
Specify a specific publish date instead of the current date. |
void |
setSkinJarFile(File skinJarFile)
Setter for the field skinJarFile . |
void |
setTemplateClassLoader(ClassLoader templateClassLoader)
Setter for the field templateClassLoader . |
void |
setTemplateName(String templateName)
Setter for the field templateName . |
void |
setTemplateProperties(Map<String,?> templateProperties)
Setter for the field templateProperties . |
void |
setUsingDefaultTemplate(boolean usingDefaultTemplate)
Setter for the field usingDefaultTemplate . |
void |
setValidate(boolean validate)
Switch on/off validation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SiteRenderingContext()
Method Detail |
---|
public boolean isValidate()
public void setValidate(boolean validate)
validate
- true to switch on validation.public String getTemplateName()
Getter for the field templateName
.
String
object.public ClassLoader getTemplateClassLoader()
Getter for the field templateClassLoader
.
ClassLoader
object.public void setTemplateClassLoader(ClassLoader templateClassLoader)
Setter for the field templateClassLoader
.
templateClassLoader
- a ClassLoader
object.public Map<String,?> getTemplateProperties()
Getter for the field templateProperties
.
Map
object.public void setTemplateProperties(Map<String,?> templateProperties)
Setter for the field templateProperties
.
templateProperties
- a Map
object.public Locale getLocale()
Getter for the field locale
.
Locale
object.public void setLocale(Locale locale)
Setter for the field locale
.
locale
- a Locale
object.public List<Locale> getSiteLocales()
Getter for the field siteLocales
-
a list of locales available for this site context.
List
object with Locale
objects.public void addSiteLocales(List<Locale> locales)
Adds passed locales to the list of site locales.
locales
- List of Locale
objects to add to the site locales list.public DecorationModel getDecoration()
Getter for the field decoration
.
DecorationModel
object.public void setDecoration(DecorationModel decoration)
Setter for the field decoration
.
decoration
- a DecorationModel
object.public void setDefaultWindowTitle(String defaultWindowTitle)
Setter for the field defaultWindowTitle
.
defaultWindowTitle
- a String
object.public String getDefaultWindowTitle()
Getter for the field defaultWindowTitle
.
String
object.public File getSkinJarFile()
Getter for the field skinJarFile
.
File
object.public void setSkinJarFile(File skinJarFile)
Setter for the field skinJarFile
.
skinJarFile
- a File
object.public void setTemplateName(String templateName)
Setter for the field templateName
.
templateName
- a String
object.public void setUsingDefaultTemplate(boolean usingDefaultTemplate)
Setter for the field usingDefaultTemplate
.
usingDefaultTemplate
- a boolean.public boolean isUsingDefaultTemplate()
isUsingDefaultTemplate.
public void addSiteDirectory(File file)
addSiteDirectory.
file
- a File
object.public void addModuleDirectory(File moduleBasedir, String moduleParserId)
moduleBasedir
- The base directory for module's source files.moduleParserId
- a String
object.public List<File> getSiteDirectories()
Getter for the field siteDirectories
.
public List<org.apache.maven.doxia.siterenderer.ModuleReference> getModules()
Getter for the field modules
.
List
object.public Map<String,String> getModuleExcludes()
Getter for the field moduleExcludes
.
public void setModuleExcludes(Map<String,String> moduleExcludes)
Setter for the field moduleExcludes
.
moduleExcludes
- a Map
object.public String getInputEncoding()
Getter for the field inputEncoding
.
String
object.public void setInputEncoding(String inputEncoding)
Setter for the field inputEncoding
.
inputEncoding
- a String
object.public String getOutputEncoding()
Getter for the field outputEncoding
.
String
object.public void setOutputEncoding(String outputEncoding)
Setter for the field outputEncoding
.
outputEncoding
- a String
object.public Date getPublishDate()
If you want to specify a specific publish date instead of the current date.
null
public void setPublishDate(Date publishDate)
Specify a specific publish date instead of the current date.
publishDate
- the publish date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |