public class RobotsGenerator extends AbstractRobotsGenerator
Modifier and Type | Field and Description |
---|---|
private static String |
DISALLOW_LABEL |
private static String |
NEW_LINE |
private static String |
SITEMAP_LABEL |
private static String |
SPACE_CHAR |
private static String |
TEXT_TAG |
private static String |
USER_AGENT_LABEL |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
RobotsGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
_serializePageInformation(Page page,
StringBuilder builder) |
private void |
_serializeSitemapProperty(Site site,
StringBuilder builder) |
void |
generate() |
getSite, service
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private static final String DISALLOW_LABEL
private static final String SITEMAP_LABEL
private static final String SPACE_CHAR
private static final String TEXT_TAG
private static final String USER_AGENT_LABEL
public RobotsGenerator()
private void _serializePageInformation(Page page, StringBuilder builder)
private void _serializeSitemapProperty(Site site, StringBuilder builder)
public void generate() throws IOException, SAXException, ProcessingException