public class SiteMap
extends java.lang.Object
| Constructor and Description |
|---|
SiteMap(java.lang.String encoding,
org.codehaus.plexus.i18n.I18N i18n) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(org.apache.maven.doxia.site.decoration.DecorationModel model,
java.io.File targetDir,
java.util.Locale locale)
Generates a sitemap.xml in targetDir/xdoc/.
|
java.lang.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(java.lang.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.
|
public SiteMap(java.lang.String encoding,
org.codehaus.plexus.i18n.I18N i18n)
public org.codehaus.plexus.i18n.I18N getI18n()
public void setI18n(org.codehaus.plexus.i18n.I18N i18n)
i18n - new value of i18n.public java.lang.String getEncoding()
public void setEncoding(java.lang.String enc)
enc - new value of encoding.public void generate(org.apache.maven.doxia.site.decoration.DecorationModel model,
java.io.File targetDir,
java.util.Locale locale)
throws java.io.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.java.io.IOException - if the file cannot be ceated.Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.