public class RobotsSitemapGenerator extends AbstractRobotsGenerator
| Modifier and Type | Field and Description | 
|---|---|
private static String | 
LOC_TAG  | 
private static String | 
SITEMAPS_ORG_NAMESPACE  | 
private static String | 
URL_SET_TAG  | 
private static String | 
URL_TAG  | 
managerobjectModel, parameters, resolver, sourcecontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer| Constructor and Description | 
|---|
RobotsSitemapGenerator()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
_saxUrl(Page page,
       String siteUrl)
Serialize information about a page in sitemap.xml 
 | 
void | 
generate()  | 
getSite, servicedisposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprivate static final String LOC_TAG
private static final String URL_TAG
private static final String SITEMAPS_ORG_NAMESPACE
private static final String URL_SET_TAG
public RobotsSitemapGenerator()
public void generate() throws IOException, SAXException, ProcessingException
protected void _saxUrl(Page page, String siteUrl) throws SAXException
page - The page to serializesiteUrl - the site public URL (ending with a '/').SAXException - if an error occurs while saxing