Package org.javlo.navigation
Class DefaultLanguageTitleURLCreator
- java.lang.Object
-
- org.javlo.navigation.AbstractURLFactory
-
- org.javlo.navigation.DefaultLanguageTitleURLCreator
-
- All Implemented Interfaces:
IURLFactory
public class DefaultLanguageTitleURLCreator extends AbstractURLFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultLanguageTitleURLCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
createURL(ContentContext ctx, MenuElement currentPage)
create url to a page.protected boolean
isWithParent()
-
Methods inherited from class org.javlo.navigation.AbstractURLFactory
addAndCheckExistURL, cleanString, createURLKey, getFormat, staticCleanString
-
-
-
-
Method Detail
-
isWithParent
protected boolean isWithParent()
-
createURL
public String createURL(ContentContext ctx, MenuElement currentPage) throws Exception
Description copied from interface:IURLFactory
create url to a page.- Parameters:
ctx
- content contextcurrentPage
- page in content- Returns:
- a URL
- Throws:
Exception
-
-