public class ElementIndex extends Object implements IIndexUpdate
Constructor and Description |
---|
ElementIndex(ReportOutputFolder baseFolder)
Creates a new empty index for a HTML report.
|
Modifier and Type | Method and Description |
---|---|
void |
addClass(ILinkable link,
long classid)
Adds a class to the index.
|
String |
getLinkToClass(long classid)
Returns the link to the class with the given identifier if a
corresponding page exists.
|
public ElementIndex(ReportOutputFolder baseFolder)
baseFolder
- base folder where all links are calculated relative topublic String getLinkToClass(long classid)
classid
- class identifierpublic void addClass(ILinkable link, long classid)
IIndexUpdate
addClass
in interface IIndexUpdate
link
- link to the classclassid
- identifier of the classCopyright © 2009-2012 Mountainminds GmbH & Co. KG. All Rights Reserved.