j2html
j2html copied to clipboard
Iterate over ContainerTag s
Is there a way to iterate over a ContainerTag to, let's say, to manipulate some attributes after the final ContainerTag object has been generated? In my use-case I've to generate two slightly different versions of the same structure, so I'd like to obtain the variant from the first structure W/O having to regenerate it from scratch.
Hmm. There appears to be a getNumChildren(), but no getChildren(). Would you like to submit a PR?
@tipsy ok, I'll give it a try during the week end :)