|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugins.site.SiteMap
public class SiteMap
Generate a sitemap.
Constructor Summary | |
---|---|
SiteMap(String encoding,
org.codehaus.plexus.i18n.I18N i18n)
Constructor sets default values. |
Method Summary | |
---|---|
void |
generate(org.apache.maven.doxia.site.decoration.DecorationModel model,
File targetDir,
Locale locale)
Generates a sitemap.xml in targetDir/xdoc/. |
String |
getEncoding()
Get the encoding to use when writing the output file. |
org.codehaus.plexus.i18n.I18N |
getI18n()
Get the value of i18n. |
void |
setEncoding(String enc)
Set the encoding to use when writing the output file. |
void |
setI18n(org.codehaus.plexus.i18n.I18N i18n)
Set the value of i18n. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SiteMap(String encoding, org.codehaus.plexus.i18n.I18N i18n)
encoding
- the default encoding to use when writing the output file.i18n
- the default I18N for translations.Method Detail |
---|
public org.codehaus.plexus.i18n.I18N getI18n()
public void setI18n(org.codehaus.plexus.i18n.I18N i18n)
i18n
- new value of i18n.public String getEncoding()
public void setEncoding(String enc)
enc
- new value of encoding.public void generate(org.apache.maven.doxia.site.decoration.DecorationModel model, File targetDir, Locale locale) throws IOException
model
- the DecorationModel to extract the menus from.targetDir
- the target output directory. The file will be created in targetDir/xdoc/.locale
- the Locale for the result.
IOException
- if the file cannot be ceated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |