protected class SectionBuilder.TocEntry extends Object implements TreeBuilder.IPos<SectionBuilder.TocEntry>, ISectionListener.IPos<T>
Modifier and Type | Field and Description |
---|---|
protected boolean |
fDoc |
protected boolean |
fHeader |
Constructor and Description |
---|
TocEntry(int docLevel,
int level,
T data,
boolean doc,
boolean header) |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsData(SectionBuilder.TocEntry pos) |
T |
getData() |
int |
getDocumentLevel() |
int |
getHeaderLevel() |
int |
getPos() |
public TocEntry(int docLevel, int level, T data, boolean doc, boolean header)
public boolean equalsData(SectionBuilder.TocEntry pos)
equalsData
in interface TreeBuilder.IPos<SectionBuilder.TocEntry>
true
if the underlying data in both positions
are the samepublic T getData()
getData
in interface ISectionListener.IPos<T>
public int getDocumentLevel()
getDocumentLevel
in interface ISectionListener.IPos<T>
public int getHeaderLevel()
getHeaderLevel
in interface ISectionListener.IPos<T>
public int getPos()
getPos
in interface TreeBuilder.IPos<SectionBuilder.TocEntry>
Copyright © 2004–2021 XWiki. All rights reserved.