public class HstHtmlTag
extends javax.servlet.jsp.tagext.TagSupport
Modifier and Type | Class and Description |
---|---|
static class |
HstHtmlTag.TEI
TagExtraInfo class for HstURLTag.
|
Modifier and Type | Field and Description |
---|---|
protected ContentRewriter<String> |
contentRewriter |
protected boolean |
fullyQualifiedLinks
Whether links should be rewritten to fully qualified links (URLs) including scheme, host, port etc.
|
protected HippoHtml |
hippoHtml |
protected ImageVariant |
imageVariant
Holds the
ImageVariant when there is configured an ImageVariant and is null
when no image variant has been specified |
protected String |
scope |
protected String |
var |
Constructor and Description |
---|
HstHtmlTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup() |
int |
doEndTag() |
int |
doStartTag() |
ContentRewriter<String> |
getContentRewriter() |
HippoHtml |
getHippohtml() |
String |
getScope() |
String |
getVar()
Returns the var property.
|
void |
release() |
void |
setContentRewriter(ContentRewriter<String> contentRewriter) |
void |
setFullyQualifiedLinks(boolean fullyQualifiedLinks) |
void |
setHippohtml(HippoHtml hippoHtml) |
void |
setImageVariant(ImageVariant imageVariant) |
void |
setScope(String scope) |
void |
setVar(String var)
Sets the var property.
|
protected HippoHtml hippoHtml
protected String var
protected String scope
protected ContentRewriter<String> contentRewriter
protected boolean fullyQualifiedLinks
protected ImageVariant imageVariant
ImageVariant
when there is configured an ImageVariant
and is null
when no image variant has been specifiedpublic int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
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
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
protected void cleanup()
public String getVar()
public String getScope()
public HippoHtml getHippohtml()
public ContentRewriter<String> getContentRewriter()
public void setFullyQualifiedLinks(boolean fullyQualifiedLinks)
fullyQualifiedLinks
- flag to define whether internal links are rewritten into fully qualified links (URLs)
(including scheme and domain)public void setVar(String var)
var
- The var to setpublic void setScope(String scope)
public void setHippohtml(HippoHtml hippoHtml)
public void setContentRewriter(ContentRewriter<String> contentRewriter)
public void setImageVariant(ImageVariant imageVariant)
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.