org.apache.cocoon.sitemap
Class SitemapBuilder
java.lang.Object
org.apache.cocoon.sitemap.SitemapBuilder
public class SitemapBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SitemapBuilder
public SitemapBuilder()
build
public SitemapNode build(URL sitemap)
enableValidation
protected void enableValidation(URL sitemap,
SAXParserFactory saxParserFactory)
- Enable sitemap validation against the XSD schema.
Use
InMemoryLRUResourceCache
to validate once until sitemap file changes.
- Parameters:
sitemap
- An URL
with sitemap location.saxParserFactory
- SAXParserFactory
to configure the schema.
setSitemapNodeFactory
public void setSitemapNodeFactory(SitemapNodeFactory sitemapNodeFactory)
createSitemapNode
protected SitemapNode createSitemapNode(String localName,
Map<String,String> parameters)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.