Package org.javlo.navigation
Class LabelAndSectionURLCreatorNoExt
- java.lang.Object
-
- org.javlo.navigation.AbstractURLFactory
-
- org.javlo.navigation.LabelAndSectionURLCreator
-
- org.javlo.navigation.LabelAndSectionURLCreatorNoExt
-
- All Implemented Interfaces:
IURLFactory
- Direct Known Subclasses:
LabelAndSectionURLCreatorNoExtWidthId
public class LabelAndSectionURLCreatorNoExt extends LabelAndSectionURLCreator
create url based on the title of the page.- Author:
- Patrick Vandermaesen
-
-
Constructor Summary
Constructors Constructor Description LabelAndSectionURLCreatorNoExt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcreateURL(ContentContext ctx, MenuElement currentPage)create url to a page.-
Methods inherited from class org.javlo.navigation.LabelAndSectionURLCreator
createURLKey, createURLWithoutExt, getExtension, getSectionPage, isWithId, main
-
Methods inherited from class org.javlo.navigation.AbstractURLFactory
addAndCheckExistURL, cleanString, getFormat, staticCleanString
-
-
-
-
Method Detail
-
createURL
public String createURL(ContentContext ctx, MenuElement currentPage) throws Exception
Description copied from interface:IURLFactorycreate url to a page.- Specified by:
createURLin interfaceIURLFactory- Overrides:
createURLin classLabelAndSectionURLCreator- Parameters:
ctx- content contextcurrentPage- page in content- Returns:
- a URL
- Throws:
Exception
-
-