|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
public abstract class AbstractBreadcrumb
Field Summary | |
---|---|
protected java.lang.String |
target
|
protected java.lang.String |
title
|
Constructor Summary | |
---|---|
protected |
AbstractBreadcrumb()
|
protected |
AbstractBreadcrumb(java.lang.String title,
java.lang.String target)
|
Method Summary | |
---|---|
java.util.List |
getBreadcrumbsTrail()
Gets all the breadcrumbs required for displaying this breadcrumb. |
protected java.util.List |
getMyCrumbs()
Returns a list of breadcrumbs for the current breadcrumb. |
protected abstract Breadcrumb |
getParent()
Gets the parent breadcrumb. |
java.lang.String |
getTarget()
Gets the relative url for the target which a breadcrumb points to. |
java.lang.String |
getTitle()
Gets the title of the breadcrumb for user display. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String title
protected java.lang.String target
Constructor Detail |
---|
protected AbstractBreadcrumb()
protected AbstractBreadcrumb(java.lang.String title, java.lang.String target)
Method Detail |
---|
public java.lang.String getTarget()
Breadcrumb
getTarget
in interface Breadcrumb
public java.lang.String getTitle()
Breadcrumb
getTitle
in interface Breadcrumb
public java.util.List getBreadcrumbsTrail()
getBreadcrumbsTrail
in interface Breadcrumb
List
of breadcrumbs for displayprotected java.util.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 java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |