Package writer2latex.base
Class ContentEntryImpl
- java.lang.Object
-
- writer2latex.base.ContentEntryImpl
-
- All Implemented Interfaces:
ContentEntry
public class ContentEntryImpl extends java.lang.Object implements ContentEntry
-
-
Constructor Summary
Constructors Constructor Description ContentEntryImpl(java.lang.String sTitle, int nLevel, OutputFile file, java.lang.String sTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputFilegetFile()Get the file associated with the entryintgetLevel()Get the outline level of thisContentEntry.java.lang.StringgetTarget()Get the name of a target within the file, if anyjava.lang.StringgetTitle()Get the title for this entry
-
-
-
Constructor Detail
-
ContentEntryImpl
public ContentEntryImpl(java.lang.String sTitle, int nLevel, OutputFile file, java.lang.String sTarget)
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Description copied from interface:ContentEntryGet the title for this entry- Specified by:
getTitlein interfaceContentEntry- Returns:
- the title
-
getLevel
public int getLevel()
Description copied from interface:ContentEntryGet the outline level of thisContentEntry. 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).- Specified by:
getLevelin interfaceContentEntry- Returns:
- the outline level
-
getFile
public OutputFile getFile()
Description copied from interface:ContentEntryGet the file associated with the entry- Specified by:
getFilein interfaceContentEntry- Returns:
- the output file
-
getTarget
public java.lang.String getTarget()
Description copied from interface:ContentEntryGet the name of a target within the file, if any- Specified by:
getTargetin interfaceContentEntry- Returns:
- the target name, or null if no target is needed
-
-