public class SiteRenderingContext extends Object
SiteRenderingContext class.
| Constructor and Description |
|---|
SiteRenderingContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addModuleDirectory(File file,
String moduleParserId)
addModuleDirectory.
|
void |
addSiteDirectory(File file)
addSiteDirectory.
|
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 |
getModuleExcludes()
Getter for the field
moduleExcludes. |
List |
getModules()
Getter for the field
modules. |
String |
getOutputEncoding()
Getter for the field
outputEncoding. |
List |
getSiteDirectories()
Getter for the field
siteDirectories. |
File |
getSkinJarFile()
Getter for the field
skinJarFile. |
ClassLoader |
getTemplateClassLoader()
Getter for the field
templateClassLoader. |
String |
getTemplateName()
Getter for the field
templateName. |
Map |
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 moduleExcludes)
Setter for the field
moduleExcludes. |
void |
setOutputEncoding(String outputEncoding)
Setter for the field
outputEncoding. |
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 templateProperties)
Setter for the field
templateProperties. |
void |
setUsingDefaultTemplate(boolean usingDefaultTemplate)
Setter for the field
usingDefaultTemplate. |
void |
setValidate(boolean validate)
Switch on/off validation.
|
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 getTemplateProperties()
Getter for the field templateProperties.
Map object.public void setTemplateProperties(Map templateProperties)
Setter for the field templateProperties.
templateProperties - a Map object.public void setLocale(Locale locale)
Setter for the field locale.
locale - a Locale object.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 file, String moduleParserId)
addModuleDirectory.
public List getSiteDirectories()
Getter for the field siteDirectories.
List object.public Map getModuleExcludes()
Getter for the field moduleExcludes.
Map object.public void setModuleExcludes(Map 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.Copyright © 2005–2016. All rights reserved.