chan.text.TemplateParser.OpenBuilder<H> |
![]() |
Parser builder.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Defines a reaction callback when full tag content parsed. | |||||||||||
Defines a reaction callback when tag opened. |
Defines a reaction callback when full tag content parsed. This callback may be not called if
open callback returned a false
value.
Parameters | |
---|---|
contentCallback |
ContentCallback :
Tag content callback. |
Returns | |
---|---|
InitialBuilder<H> |
Parser builder. |
See also:
Defines a reaction callback when tag opened. This callback determines whether parser should parse the full tag content and call content callback or not depending on the return value. If you don't specify this callback parser will parse full content anyway.
Parameters | |
---|---|
openCallback |
OpenCallback :
Tag open callback. |
Returns | |
---|---|
ContentBuilder<H> |
Parser builder. |