IIndexUpdatepublic class ElementIndex extends java.lang.Object implements IIndexUpdate
| Constructor | Description |
|---|---|
ElementIndex(ReportOutputFolder baseFolder) |
Creates a new empty index for a HTML report.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addClass(ILinkable link,
long classid) |
Adds a class to the index.
|
java.lang.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 java.lang.String getLinkToClass(long classid)
classid - class identifierpublic void addClass(ILinkable link, long classid)
IIndexUpdateaddClass in interface IIndexUpdatelink - link to the classclassid - identifier of the classCopyright © 2018. All rights reserved.