public interface LocationResolver
Modifier and Type | Method and Description |
---|---|
String |
getNodeType() |
HstLink |
resolve(javax.jcr.Node node,
Mount mount)
Deprecated.
unused since 7.9.0 : Use
resolve(javax.jcr.Node,
org.hippoecm.hst.configuration.hosting.Mount, LocationMapTree) instead |
HstLink |
resolve(javax.jcr.Node node,
Mount mount,
LocationMapTree locationMapTree)
Implementations should here do their logic, possibly linkrewriting.
|
void |
setLocationMapTree(LocationMapTree locationMapTree)
Deprecated.
unused since 7.9.0 : Use
resolve(javax.jcr.Node,
org.hippoecm.hst.configuration.hosting.Mount, LocationMapTree) instead. |
@Deprecated HstLink resolve(javax.jcr.Node node, Mount mount)
resolve(javax.jcr.Node,
org.hippoecm.hst.configuration.hosting.Mount, LocationMapTree)
insteadHstLink
object
is creatednode
- mount
- the Mount
where the HstLink should be created fornull
when not able to create oneHstLink 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 one@Deprecated void setLocationMapTree(LocationMapTree locationMapTree)
resolve(javax.jcr.Node,
org.hippoecm.hst.configuration.hosting.Mount, LocationMapTree)
instead.locationMapTree
- String getNodeType()
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.