public interface TCDLParserEventListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
afterBody(Tag tag)
Called by the TCDLParser if body of a Tag require reevaluation.
|
void |
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 |
endDocument()
Called by the TCDLParser just after finishing the parsing process.
|
boolean |
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.
|
void |
startDocument()
Called by the TCDLParser just before starting the parsing process.
|
boolean |
startTag(Tag tag)
Called by the TCDLParser as soon as it encounters a tcdl opening tag.
|
boolean startTag(Tag tag) throws TCDLTransformerException
tag - Tag that was encountered by the TCDLParserTCDLTransformerException - if there was a problem processing the tagTCDLTransformerExceptionboolean endTag(Tag tag) throws TCDLTransformerException
tag - Tag that was encountered by the TCDLParserTCDLTransformerException - if there was a problem processing the tagTCDLTransformerExceptionvoid elementData(String data, boolean directlyAfterTag) throws TCDLTransformerException
data - the element data occurring between tagsdirectlyAfterTag - indicates if the data occurred immediately after a valid tag,
to help decide about whitespace.TCDLTransformerException - in case of errors.TCDLTransformerExceptionvoid startDocument()
throws TCDLTransformerException
TCDLTransformerException - if the processing cannot continue for some reason.TCDLTransformerExceptionvoid endDocument()
throws TCDLTransformerException
TCDLTransformerException - if the processing should not continue for some reason.TCDLTransformerExceptionboolean afterBody(Tag tag) throws TCDLTransformerException
TCDLTransformerException - if the processing should not continue for some reason.TCDLTransformerExceptionCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries