public class SiteParameterAdder extends Object implements HtmlTagAttributeTraverser.HtmlTagAttributeVisitor
| Modifier and Type | Field and Description |
|---|---|
static String |
SITE_URL_PARAMETER_NAME |
| Constructor and Description |
|---|
SiteParameterAdder() |
| Modifier and Type | Method and Description |
|---|---|
void |
setVanityUrlService(VanityUrlService vanityUrlService) |
protected String |
verifyWorkspace(String workspace) |
String |
visit(String value,
RenderContext context,
String tagName,
String attrName,
Resource resource)
Applies the required modifications to the specified attribute if
needed.
|
public static final String SITE_URL_PARAMETER_NAME
public void setVanityUrlService(VanityUrlService vanityUrlService)
public String visit(String value, RenderContext context, String tagName, String attrName, Resource resource)
HtmlTagAttributeTraverser.HtmlTagAttributeVisitorvisit in interface HtmlTagAttributeTraverser.HtmlTagAttributeVisitorvalue - the attribute value to be modifiedcontext - current rendering contextresource - current resource @returns the modified attribute valueCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.