ContentEntrypublic class ContentEntryImpl extends java.lang.Object implements ContentEntry
| Constructor | Description |
|---|---|
ContentEntryImpl(java.lang.String sTitle,
int nLevel,
OutputFile file,
java.lang.String sTarget) |
| Modifier and Type | Method | Description |
|---|---|---|
OutputFile |
getFile() |
Get the file associated with the entry
|
int |
getLevel() |
Get the outline level of this
ContentEntry. |
java.lang.String |
getTarget() |
Get the name of a target within the file, if any
|
java.lang.String |
getTitle() |
Get the title for this entry
|
public ContentEntryImpl(java.lang.String sTitle,
int nLevel,
OutputFile file,
java.lang.String sTarget)
public java.lang.String getTitle()
ContentEntrygetTitle in interface ContentEntrypublic int getLevel()
ContentEntryContentEntry.
The top level is 1 (entries corresponding to indexes are considered
top level).
Note that intermediate levels may be missing (e.g. a heading of
level 3 may follow immediately after a heading of level 1).getLevel in interface ContentEntrypublic OutputFile getFile()
ContentEntrygetFile in interface ContentEntrypublic java.lang.String getTarget()
ContentEntrygetTarget in interface ContentEntry