|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.index.IndexEntry
public class IndexEntry
IndexEntry class.
| Constructor Summary | |
|---|---|
IndexEntry(IndexEntry newParent,
String newId)
Constructor. |
|
IndexEntry(String newId)
Constructor. |
|
| Method Summary | |
|---|---|
List<IndexEntry> |
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<IndexEntry> entries)
Sets the child entries or creates a new ArrayList if entries == null. |
protected void |
setId(String id)
Set the id. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IndexEntry(String newId)
newId - The id. May be null.
public IndexEntry(IndexEntry newParent,
String newId)
newParent - The parent. May be null.newId - The id. May be null.| Method Detail |
|---|
public IndexEntry getParent()
public String getId()
protected void setId(String id)
public String getTitle()
public void setTitle(String newTitle)
newTitle - the title.public List<IndexEntry> getChildEntries()
public void setChildEntries(List<IndexEntry> entries)
entries - the entries.public IndexEntry getNextEntry()
public IndexEntry getPrevEntry()
public IndexEntry getFirstEntry()
public IndexEntry getLastEntry()
public IndexEntry getRootEntry()
public String toString()
toString in class Objectpublic String toString(int depth)
depth - The depth to descent to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||