public void setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters par) throws IOException, SAXException, ProcessingException {
this.links = (List)objectModel.get(Constants.LINK_COLLECTION_OBJECT);
}
Set the SourceResolver, objectModel Map,
the source and sitemap Parameters used to process the request. |
public void simpleLink(String href,
String role,
String arcrole,
String title,
String show,
String actuate,
String uri,
String name,
String raw,
Attributes attr) throws SAXException {
if (!this.links.contains(href)){
this.addLink(href);
}
super.simpleLink(href, role, arcrole, title, show, actuate, uri, name, raw, attr);
}
|
public void startLocator(String href,
String role,
String title,
String label,
String uri,
String name,
String raw,
Attributes attr) throws SAXException {
if (!this.links.contains(href)){
this.addLink(href);
}
super.startLocator(href, role, title, label, uri, name, raw, attr);
}
|