104105106107108109110111112113114
{ // parent close tag found, we are done break; } if (tag != null && cursor.closes(tag)) { // child tag is closed, next tag is either parent-close or next direct child tag = null; } else if (tag == null && cursor instanceof ComponentTag)
297298299300301302303304305306307
while (markupStream.hasMore()) { final MarkupElement cursor = markupStream.next(); if (cursor.closes(parent)) { // parent close tag found, we are done break; }
303304305306307308309310311312313
301302303304305306307308309310311
307308309310311312313314315316317
273274275276277278279280281282283
279280281282283284285286287288289
108109110111112113114115116117118
markupStream.next(); while (markupStream.hasMore()) { final MarkupElement cursor = markupStream.get(); if (cursor.closes(parent)) { // parent close tag found, we are done break; }
114115116117118119120121122123124