net.sundog.hoople
Class GoogleSiteMapParser
java.lang.Object
net.sundog.hoople.BaseParser
net.sundog.hoople.GoogleSiteMapParser
- public class GoogleSiteMapParser
- extends BaseParser
Checks for <search> tags to create site maps that Google understands.
|
Method Summary |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.String elementText,
java.io.File file,
java.io.File documentRoot)
Override this method with things to do when the URLConfigParser finds the end of an element and
isActive() returns true. |
protected java.util.Collection |
getReturnObjects(java.lang.Class generatorClass,
java.lang.String paramGeneratorMethod)
|
org.w3c.dom.Document |
getSiteMap()
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes,
java.io.File urlConfigFile,
java.io.File documentRoot)
Override this method with things to do when the URLConfigParser finds the start of an element and
isActive() returns true. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoogleSiteMapParser
public GoogleSiteMapParser(java.lang.String urlBase)
throws java.lang.Exception
startElement
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes,
java.io.File urlConfigFile,
java.io.File documentRoot)
throws org.xml.sax.SAXException,
java.io.IOException
- Description copied from class:
BaseParser
- Override this method with things to do when the URLConfigParser finds the start of an element and
isActive() returns true.
- Specified by:
startElement in class BaseParser
- Throws:
org.xml.sax.SAXException
java.io.IOException
getReturnObjects
protected java.util.Collection getReturnObjects(java.lang.Class generatorClass,
java.lang.String paramGeneratorMethod)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.String elementText,
java.io.File file,
java.io.File documentRoot)
throws org.xml.sax.SAXException
- Description copied from class:
BaseParser
- Override this method with things to do when the URLConfigParser finds the end of an element and
isActive() returns true.
- Specified by:
endElement in class BaseParser
- Throws:
org.xml.sax.SAXException
getSiteMap
public org.w3c.dom.Document getSiteMap()
Copyright © 2005 Sundog. All Rights Reserved.