org.apache.maven.doxia.index
public class IndexEntry extends Object
Version: $Id: IndexEntry.java 559578 2007-07-25 20:12:56Z ltheussl $
Constructor Summary | |
---|---|
IndexEntry(String newId)
Constructor.
| |
IndexEntry(IndexEntry newParent, String newId)
Constructor.
|
Method Summary | |
---|---|
List | getChildEntries()
Returns an unmodifiableList of the child entries.
|
IndexEntry | getFirstEntry()
Returns the first entry.
|
String | getId()
Returns the id.
|
IndexEntry | getLastEntry()
Returns the last entry.
|
IndexEntry | getNextEntry()
Returns the next entry.
|
IndexEntry | getParent()
Returns the parent entry.
|
IndexEntry | getPrevEntry()
Returns the previous entry.
|
IndexEntry | getRootEntry()
Returns the root entry.
|
String | getTitle()
Returns the title.
|
void | setChildEntries(List entries)
Sets the child entriesor creates a new ArrayList if entries == null.
|
void | setTitle(String newTitle)
Sets the title.
|
String | toString()
Returns a string representation of the object.
|
String | toString(int depth)
Returns a string representation of all objects to the given depth.
|
Parameters: newId The id.
Parameters: newParent The parent. Cannot be null. newId The id. Cannot be null.
Returns: child entries.
Returns: the first entry, or null if there is none.
Returns: the id.
Returns: the last entry, or null if there is none.
Returns: the next entry, or null if there is none.
Returns: the parent entry.
Returns: the previous entry, or null if there is none.
Returns: the root entry, or null if there is none.
Returns: the title.
Parameters: entries the entries.
Parameters: newTitle the title.
Returns: A string.
Parameters: depth The depth to descent to.
Returns: A string.