public interface LocationResolver
Modifier and Type | Method and Description |
---|---|
String |
getNodeType() |
HstLink |
resolve(javax.jcr.Node node,
Mount mount,
LocationMapTree locationMapTree)
Implementations should here do their logic, possibly linkrewriting.
|
HstLink resolve(javax.jcr.Node node, Mount mount, LocationMapTree locationMapTree)
HstLink
object
is created. Do not store any of the arguments as instance variables as they should not be referenced from a LocationResolvernode
- mount
- the Mount
where the HstLink should be created forlocationMapTree
- inversed HstSiteMapItem's object, which can be null
in case of a mount that
is not mapped (Mount.isMapped()
or when it does not have a site mapnull
when not able to create oneString getNodeType()
Copyright © 2008–2020 Hippo B.V. (http://www.onehippo.com). All rights reserved.