|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
public abstract class AbstractBreadcrumb
Field Summary | |
---|---|
protected String |
target
|
protected String |
title
|
Constructor Summary | |
---|---|
protected |
AbstractBreadcrumb()
|
protected |
AbstractBreadcrumb(String title,
String target)
|
Method Summary | |
---|---|
List |
getBreadcrumbsTrail()
Gets all the breadcrumbs required for displaying this breadcrumb. |
protected List |
getMyCrumbs()
Returns a list of breadcrumbs for the current breadcrumb. |
protected abstract Breadcrumb |
getParent()
Gets the parent breadcrumb. |
String |
getTarget()
Gets the relative url for the target which a breadcrumb points to. |
String |
getTitle()
Gets the title of the breadcrumb for user display. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String title
protected String target
Constructor Detail |
---|
protected AbstractBreadcrumb()
protected AbstractBreadcrumb(String title, String target)
Method Detail |
---|
public String getTarget()
Breadcrumb
getTarget
in interface Breadcrumb
public String getTitle()
Breadcrumb
getTitle
in interface Breadcrumb
public List getBreadcrumbsTrail()
getBreadcrumbsTrail
in interface Breadcrumb
List
of breadcrumbs for displayprotected List getMyCrumbs()
BlogPostBreadcrumb
overrides this method and returns 4 crumbs altogether to represent itself: 2007 > 11 > 28 > BlogTitle.
By default my crumbs will be a list with size 1, containing itself.
protected abstract Breadcrumb getParent()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |