Package | Description |
---|---|
com.tridion.tcdl | |
com.tridion.tcdl.renderer | |
com.tridion.tcdl.tags | |
com.tridion.transformer |
Modifier and Type | Class and Description |
---|---|
class |
TCDLTransformerException
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TagDispatcher.afterBody(Tag tag) |
boolean |
TCDLParserEventListener.afterBody(Tag tag)
Called by the TCDLParser if body of a Tag require reevaluation.
|
protected void |
TagDispatcher.appendRenderedContentOf(TagDispatcher aDispatcher)
Appends data to the current body.
|
void |
DocumentBuilder.buildDocument(TransformContext context,
OutputDocument source,
Writer target)
Responsible for serializing the output document to the [target] Writer.
|
void |
DefaultDocumentBuilder.buildDocument(TransformContext context,
OutputDocument source,
Writer target)
Writes the final content to the [target] Writer by looking while injecting the code for
the individual dependency sections (imports, directives etc) at the correct position.
|
int |
IterationTagSupport.doAfterBody(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target)
Processes TCDL body for (re)evaluation.
|
String |
TagHandlerBase.doEndTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target)
Called whenever an ending Tag that is associated with the handler is encountered in TCDL content.
|
int |
TagHandlerBase.doStartTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target)
Called whenever as starting Tag that is associated with the handler is encountered in TCDL content.
|
void |
TCDLParserEventListener.elementData(String data,
boolean directlyAfterTag)
Called for elementData occurring between tags (or before and after tcdl tags)
The boolean directlyAfterTag indicates if this elementData occured immediately after a tag (that was
accepted by startTag) to help with whitespace issues, e.g.
|
void |
TagDispatcher.endDocument()
Entry point called by TCDL parser right after finishing parsing the TCDL enabled content.
|
void |
TCDLParserEventListener.endDocument()
Called by the TCDLParser just after finishing the parsing process.
|
void |
TagMetaEventListener.endDocument(TransformContext context,
OutputDocument target)
Called by the TCDLParser just after finishing the parsing process without errors.
|
boolean |
TagDispatcher.endTag(Tag tag)
Entry point called by the TCDL Parser.
|
boolean |
TCDLParserEventListener.endTag(Tag tag)
Called by the TCDLParser as soon as it encounters a tcdl closing tag.It also gets called if the tag
uses short notation (e.g.
|
protected TagHandlerBase |
TagDispatcher.getEnclosingTagHandler()
Returns the TagHandler for the enclosing Tag of the currently active Tag in the processing Stack.
|
boolean |
TagHandlerRegistry.hasIterationSupportForTag(Tag tag)
Returns true if the registry has at least one TagHandler for the tag
that provides IterationTag support.
|
protected boolean |
TagDispatcher.isSkippingMode()
Exposes if the parsing mechanism is currently skipping tags.
|
Collection<TagHandlerBase> |
TagHandlerRegistry.newHandlerChain(Tag tag)
Returns a Collection of TagHandlers (e.g.
|
void |
TCDLParser.parse(TCDLParserEventListener dispatch,
String input)
Process the content of [input] and dispatches start/end tag, element data, start/end document events
to the TCDLParserEventListener [dispatch].
|
void |
TagHandlerRegistry.registerHandler(String tagNamespace,
String tagName,
String className,
boolean mayGenerateCodeBlock)
Same as
TagHandlerRegistry.registerHandler(String, String, String, String, boolean) , but without explicit content
namespace. |
void |
TagHandlerRegistry.registerHandler(String tagNamespace,
String tagName,
String className,
String namespace,
boolean mayGenerateCodeBlock)
Registers a TagHandler by its class name for the given namespace and tag name.
|
void |
TagDispatcher.startDocument()
Entry point called by the TCDL Parser just before it starts parsing
|
void |
TCDLParserEventListener.startDocument()
Called by the TCDLParser just before starting the parsing process.
|
void |
TagMetaEventListener.startDocument(TransformContext context,
OutputDocument target)
Called by the TCDLParser just before starting the parsing process
Note that the TransformContext may not have all information during the startDocument, especially the information
that is derived from the ContentHeader tag (including the uri of the item being transformed).
|
boolean |
TagDispatcher.startTag(Tag tag)
Entry point called by the TCDL Parser.
|
boolean |
TCDLParserEventListener.startTag(Tag tag)
Called by the TCDLParser as soon as it encounters a tcdl opening tag.
|
Constructor and Description |
---|
TagHandlerRegistry(boolean registerInternal)
Constructs the TagHandlerRegistry, when [registerInternal] is true it will register all tcdl internal tag
handlers for Tridion.
|
TagHandlerRegistry(boolean registerInternal,
TCDLMode mode)
Constructs the TagHandlerRegistry, when [registerInternal] is true it will register all tcdl internal tag
handlers for Tridion.
|
TagHandlerRegistry(TCDLMode mode,
DefaultTagSet tagSet)
Constructs the TagHandlerRegistry, when [registerInternal] is true it will register all tcdl internal tag
handlers using [tagSet] for specific service.
|
TCDLParser(Collection<String> namespaces)
Constructs the TCDLParser with the given (string based) list of namespaces to scan for.
|
TCDLParser(Collection<String> namespaces,
Map<String,String> variables)
Constructs the TCDLParser with the given (string based) list of namespaces to scan for.
|
Modifier and Type | Method and Description |
---|---|
String |
TaxonomyTagRenderer.doEndTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
String |
PositionMarkerTagRenderer.doEndTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
String |
FirstLineTagRenderer.doEndTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
String |
DefaultTagRenderer.doEndTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
String |
ContextPropertyTagRenderer.doEndTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
String |
ContentHeaderTagRenderer.doEndTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
String |
ComponentPresentationTagRenderer.doEndTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
String |
CommentTagRenderer.doEndTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
int |
TaxonomyTagRenderer.doStartTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target)
Processes and retrieves a Taxonomy for the given TaxonomyURI which is displayed as a simple tree.
|
int |
PositionMarkerTagRenderer.doStartTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
int |
FirstLineTagRenderer.doStartTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
int |
DefaultTagRenderer.doStartTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
int |
ContextPropertyTagRenderer.doStartTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
int |
ComponentPresentationTagRenderer.doStartTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
int |
CommentTagRenderer.doStartTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultTagHandler.doEndTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
int |
DefaultTagHandler.doStartTag(Tag tag,
StringBuffer tagBody,
TransformContext context,
OutputDocument target) |
Modifier and Type | Method and Description |
---|---|
static Transformer |
TransformProcessor.getTransformer(String transformerClassName)
Get an instance of the
Transformer class using the class name passed as an argument. |
void |
TCDLDefaultTransformer.transform(String itemURI,
String input,
Writer target)
Transforms TCDL enabled content from the [input] String and writes the result to the [target].
|
File |
TransformProcessor.transformItem(File transformFile,
Function<File,byte[]> fileReader,
BiConsumer<File,byte[]> fileWriter)
This method processes an item passed to it.
|
File |
TransformProcessor.transformItem(File transformFile,
String charsetName,
Function<File,byte[]> fileReader,
BiConsumer<File,byte[]> fileWriter)
This method processes an item passed to it.
|
Constructor and Description |
---|
TCDLParser() |
TCDLParser(String file)
Deprecated.
use
TCDLParser.TCDLParser() instead. |
TransformProcessor() |
TransformProcessor(String transformerClassName)
Constructs a transformation TransformProcessor class, generating a
Transformer instance, for use
by all of the classes in the com.tridion.transformer package. |
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries