Package com.atlassian.confluence.labels
Class CombinedLabel
java.lang.Object
com.atlassian.confluence.labels.CombinedLabel
- All Implemented Interfaces:
DisplayableLabel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the label's name only.Generates the url path for a label.getUrlPath
(String spaceKey) Generates the url path for a label in the context of a given space i.e.boolean
Deprecated, for removal: This API element is subject to removal in a future version.since 9.3 unusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.labels.DisplayableLabel
getRealTitle
-
Field Details
-
ADD_SEPARATOR
- See Also:
-
-
Constructor Details
-
CombinedLabel
-
-
Method Details
-
isRealTitleSafeForUrl
Deprecated, for removal: This API element is subject to removal in a future version.since 9.3 unusedDescription copied from interface:DisplayableLabel
Returns true if the label's title is safe to pass in the URL.eg. my:foo is safe, perc% is not safe. chicken+cheese is safe in a "combined" label.
- Specified by:
isRealTitleSafeForUrl
in interfaceDisplayableLabel
- Returns:
- true if the label's title is safe to pass in the URL.
-
getName
Description copied from interface:DisplayableLabel
Returns the label's name only.eg. label name for label my:foo is "foo".
- Specified by:
getName
in interfaceDisplayableLabel
-
getUrlPath
Description copied from interface:DisplayableLabel
Generates the url path for a label.- Specified by:
getUrlPath
in interfaceDisplayableLabel
-
getUrlPath
Description copied from interface:DisplayableLabel
Generates the url path for a label in the context of a given space i.e. the user is taken to a page that contains content for that space only.If no space if provided,
DisplayableLabel.getUrlPath()
is called.- Specified by:
getUrlPath
in interfaceDisplayableLabel
-
getDisplayTitle
- Specified by:
getDisplayTitle
in interfaceDisplayableLabel
-