Re: Events in the Java integration?
Posted by
asotobu on
URL: https://discuss.asciidoctor.org/Events-in-the-Java-integration-tp1190p1194.html
For now there is no events, as Dan suggested we should study to see if we add this support or not. But the good news are two:
The fist one is that Marek has implemented for version 1.5.0 a way to retrieve AsciiDoc document in a structured way:
https://github.com/asciidoctor/asciidoctorj/pull/104
Of course he has implemented for his requirements but of course if you found that something is missing, feel free to implement or of course opening an issue and I will try to implement as soon as possible.
The other good news is that a Block method as you suggested contains few methods, but is is so easy to add new ones, because in fact it is a proxied interface to Block Ruby object (
https://github.com/asciidoctor/asciidoctor/blob/master/lib/asciidoctor/block.rb) so again feel free to open issues to add support on them.
Alex.