|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.admingui.plugin.TOCItem
public class TOCItem
This class is configured via XML (i.e. a console-config.xml file).
This is done via the HK2 ConfigParser.
| Constructor Summary | |
|---|---|
TOCItem()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
This method provides the "equals" functionality for TOCItem. |
String |
getTarget()
|
String |
getTargetPath()
This method returns the path to the target HTML page, starting with the moduleId. |
String |
getText()
|
List<TOCItem> |
getTOCItems()
Accessor for child TOCItems. |
int |
hashCode()
This method is overriden to help ensure consistency for equals() comparisons. |
boolean |
isExpand()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TOCItem()
| Method Detail |
|---|
public List<TOCItem> getTOCItems()
Accessor for child TOCItems.
public boolean isExpand()
public String getTarget()
public String getTargetPath()
This method returns the path to the target HTML page, starting with the moduleId. It does not add anything before the module id, and does not have a leading '/' character. It does append ".html" to the end of the target.
public String getText()
public boolean equals(Object obj)
This method provides the "equals" functionality for TOCItem. The
behavior of equals ONLY compares the target value.
The text and expand values are not used
to test for equality.
equals in class Objectpublic int hashCode()
This method is overriden to help ensure consistency for equals() comparisons. As such it simply returns the hashCode of the String (target) that is used in the equals comparison.
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||