public class HstTagSupport
extends javax.servlet.jsp.tagext.TagSupport
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
Constructor and Description |
---|
HstTagSupport() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup()
Subclasses can override cleanup to set their local instance variables to default value during this method invocation.
|
int |
doEndTag() |
protected int |
doEndTag(HstRequest hstRequest,
HstResponse hstResponse)
A doEndTag hook for derived classes with HstRequest and HstResponse
parameters that are never null.
|
protected HstSite |
getHstSite(HstRequest request)
Get the HST Site object from request.
|
protected Mount |
getMount(HstRequest request)
Get the
Mount for the current |
protected ObjectBeanManager |
getObjectBeanManager(HstRequest request) |
protected ObjectConverter |
getObjectConverter() |
protected HippoBean |
getSiteContentBaseBean(HstRequest request)
Get the site content base bean, which is the root document bean whithin
preview or live context.
|
protected String |
getSiteContentBasePath(HstRequest request) |
protected boolean |
isPreview(HstRequest request)
Is this a request in preview?
|
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
protected void cleanup()
cleanup()
is called right before the doEndTag()
returnsprotected int doEndTag(HstRequest hstRequest, HstResponse hstResponse)
protected Mount getMount(HstRequest request)
Mount
for the currentprotected HstSite getHstSite(HstRequest request)
protected boolean isPreview(HstRequest request)
protected HippoBean getSiteContentBaseBean(HstRequest request)
protected String getSiteContentBasePath(HstRequest request)
protected ObjectBeanManager getObjectBeanManager(HstRequest request)
protected ObjectConverter getObjectConverter()
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.