public class HstHtmlTag
extends javax.servlet.jsp.tagext.TagSupport
Modifier and Type | Class and Description |
---|---|
protected static class |
HstHtmlTag.RewriteMode |
static class |
HstHtmlTag.TEI
TagExtraInfo class for HstURLTag.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
canonicalLinks
boolean indicating whether possible available internal links will be created as canonicalLinks links.
|
protected ContentRewriter<String> |
contentRewriter |
protected String |
formattedText |
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 |
text |
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() |
ContentRewriter<String> |
getOrCreateContentRewriter() |
String |
getScope() |
String |
getVar()
Returns the var property.
|
void |
release() |
void |
setCanonicalLinks(boolean canonicalLinks) |
void |
setContentRewriter(ContentRewriter<String> contentRewriter) |
void |
setFormattedText(String formattedText) |
void |
setFullyQualifiedLinks(boolean fullyQualifiedLinks) |
void |
setHippohtml(HippoHtml hippoHtml) |
void |
setImageVariant(ImageVariant imageVariant) |
void |
setScope(String scope) |
void |
setText(String text) |
void |
setVar(String var)
Sets the var property.
|
protected HippoHtml hippoHtml
protected String var
protected String scope
protected ContentRewriter<String> contentRewriter
protected String formattedText
protected String text
protected boolean canonicalLinks
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 ContentRewriter<String> getOrCreateContentRewriter()
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 setCanonicalLinks(boolean canonicalLinks)
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)
public void setFormattedText(String formattedText)
public void setText(String text)
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.