public class ContentEntryImpl extends java.lang.Object implements ContentEntry
Constructor and Description |
---|
ContentEntryImpl(java.lang.String sTitle,
int nLevel,
OutputFile file,
java.lang.String sTarget) |
Modifier and Type | Method and 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()
ContentEntry
getTitle
in interface ContentEntry
public int getLevel()
ContentEntry
ContentEntry
.
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 ContentEntry
public OutputFile getFile()
ContentEntry
getFile
in interface ContentEntry
public java.lang.String getTarget()
ContentEntry
getTarget
in interface ContentEntry