public class DefaultTagRenderer extends Object implements com.tridion.tcdl.TagRenderer
Constructor and Description |
---|
DefaultTagRenderer() |
Modifier and Type | Method and Description |
---|---|
String |
doEndTag(com.tridion.tcdl.Tag tag,
StringBuffer tagBody,
com.tridion.tcdl.TransformContext context,
com.tridion.tcdl.OutputDocument target) |
int |
doStartTag(com.tridion.tcdl.Tag tag,
StringBuffer tagBody,
com.tridion.tcdl.TransformContext context,
com.tridion.tcdl.OutputDocument target) |
static Object |
getCurrentIterationItem(com.tridion.tcdl.Tag tag) |
static IterativeTagRenderer |
getEnclosingIterativeTagRenderer(com.tridion.tcdl.Tag tag) |
static com.tridion.tcdl.TagRenderer |
getEnclosingTagRenderer(com.tridion.tcdl.Tag tag,
String tagName) |
static ItemTemplateTagRenderer |
getItemTemplateTagRenderer(com.tridion.tcdl.Tag tag) |
QueryTagRenderer |
getQueryTagRenderer(com.tridion.tcdl.Tag tag) |
protected static Object |
getVariable(String variable,
com.tridion.tcdl.TransformContext context) |
protected static boolean |
isConfiguredPattern(StringBuffer tagBody) |
protected void |
logEnd(com.tridion.tcdl.Tag tag,
StringBuffer tagBody) |
protected void |
logStart(com.tridion.tcdl.Tag tag,
StringBuffer tagBody) |
protected static void |
replaceConfiguredPattern(StringBuffer tagBody,
String replace) |
protected static void |
replaceNonConfiguredPatternVariables(StringBuffer tagBody,
com.tridion.tcdl.TransformContext context) |
protected static void |
replaceVariables(com.tridion.tcdl.Tag tag,
StringBuffer tagBody,
com.tridion.tcdl.TransformContext context) |
boolean |
requiresCodeBlock(com.tridion.tcdl.TransformContext tc,
com.tridion.tcdl.OutputDocument od,
com.tridion.tcdl.Tag tag) |
public String doEndTag(com.tridion.tcdl.Tag tag, StringBuffer tagBody, com.tridion.tcdl.TransformContext context, com.tridion.tcdl.OutputDocument target) throws com.tridion.transformer.TCDLTransformerException
doEndTag
in interface com.tridion.tcdl.TagHandlerBase
com.tridion.transformer.TCDLTransformerException
public int doStartTag(com.tridion.tcdl.Tag tag, StringBuffer tagBody, com.tridion.tcdl.TransformContext context, com.tridion.tcdl.OutputDocument target) throws com.tridion.transformer.TCDLTransformerException
doStartTag
in interface com.tridion.tcdl.TagHandlerBase
com.tridion.transformer.TCDLTransformerException
public boolean requiresCodeBlock(com.tridion.tcdl.TransformContext tc, com.tridion.tcdl.OutputDocument od, com.tridion.tcdl.Tag tag)
requiresCodeBlock
in interface com.tridion.tcdl.TagHandlerBase
protected void logStart(com.tridion.tcdl.Tag tag, StringBuffer tagBody)
protected void logEnd(com.tridion.tcdl.Tag tag, StringBuffer tagBody)
protected static void replaceVariables(com.tridion.tcdl.Tag tag, StringBuffer tagBody, com.tridion.tcdl.TransformContext context)
protected static void replaceNonConfiguredPatternVariables(StringBuffer tagBody, com.tridion.tcdl.TransformContext context)
protected static Object getVariable(String variable, com.tridion.tcdl.TransformContext context)
protected static void replaceConfiguredPattern(StringBuffer tagBody, String replace)
protected static boolean isConfiguredPattern(StringBuffer tagBody)
public QueryTagRenderer getQueryTagRenderer(com.tridion.tcdl.Tag tag)
public static ItemTemplateTagRenderer getItemTemplateTagRenderer(com.tridion.tcdl.Tag tag)
public static IterativeTagRenderer getEnclosingIterativeTagRenderer(com.tridion.tcdl.Tag tag)
public static com.tridion.tcdl.TagRenderer getEnclosingTagRenderer(com.tridion.tcdl.Tag tag, String tagName)
public static Object getCurrentIterationItem(com.tridion.tcdl.Tag tag) throws com.tridion.transformer.TCDLTransformerException
com.tridion.transformer.TCDLTransformerException
Copyright © 2021 RWS Group for and on behalf of its affiliates and subsidiaries. All rights reserved.