|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.labels.CombinedLabel
public class CombinedLabel
| Field Summary | |
|---|---|
static java.lang.String |
ADD_SEPARATOR
|
| Constructor Summary | |
|---|---|
CombinedLabel(java.util.List labels)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the label's name only. |
java.lang.String |
getRealTitle()
Return the title as a combination of the namespace and the label name. |
java.lang.String |
getUrlPath()
Generates the url path for a label. |
java.lang.String |
getUrlPath(java.lang.String spaceKey)
Generates the url path for a label in the context of a given space i.e. |
boolean |
isRealTitleSafeForUrl()
Returns true if the label's title is safe to pass in the URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ADD_SEPARATOR
| Constructor Detail |
|---|
public CombinedLabel(java.util.List labels)
| Method Detail |
|---|
public boolean isRealTitleSafeForUrl()
DisplayableLabeleg. my:foo is safe, perc% is not safe. chicken+cheese is safe in a "combined" label.
isRealTitleSafeForUrl in interface DisplayableLabelpublic java.lang.String getName()
DisplayableLabeleg. label name for label my:foo is "foo".
getName in interface DisplayableLabelpublic java.lang.String getUrlPath()
DisplayableLabel
getUrlPath in interface DisplayableLabelpublic java.lang.String getUrlPath(java.lang.String spaceKey)
DisplayableLabelDisplayableLabel.getUrlPath() is called.
getUrlPath in interface DisplayableLabelpublic java.lang.String getRealTitle()
DisplayableLabel
getRealTitle in interface DisplayableLabel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||