public class CategoryContentPathTransformer extends ContentPathTransformer
ContentPathConstructor.encodeUrlSafeName(String)
to encode it to know the actual URL pathConstructor and Description |
---|
CategoryContentPathTransformer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasLink(PageIdentifier page)
If it returns true, it will assume path to have a link.
|
getAssociatedTemplate, getPageToTemplate, getPathConstructor, setAssociatedTemplate, setPageToTemplate, setPathConstructor, transform
protected boolean hasLink(PageIdentifier page)
hasLink
in class ContentPathTransformer
Content.getBitmask()
for AbstractContent.BIT_MASKS#NOT_PAGE
. false means its a category and hence no Link.Copyright © 2018. All rights reserved.