|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DisplayableLabel
Provides getter methods for a Label that can be displayed.
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. |
Method Detail |
---|
boolean isRealTitleSafeForUrl()
eg. my:foo is safe, perc% is not safe. chicken+cheese is safe in a "combined" label.
java.lang.String getName()
eg. label name for label my:foo is "foo".
java.lang.String getRealTitle()
java.lang.String getUrlPath()
java.lang.String getUrlPath(java.lang.String spaceKey)
getUrlPath()
is called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |