/** * Used for some backward compatibility hacks. */ MixedContent asMixedContent() { MixedContent mixedContent = new MixedContent(); if (count != 0) { TemplateElement first = buffer[0]; mixedContent.setChildren(this); mixedContent.setLocation(first.getTemplate(), first, getLast()); } return mixedContent; }
/** * Used for some backward compatibility hacks. */ TemplateElement asSingleElement() { if (count == 0) { return new TextBlock(CollectionUtils.EMPTY_CHAR_ARRAY, false); } else { TemplateElement first = buffer[0]; if (count == 1) { return first; } else { MixedContent mixedContent = new MixedContent(); mixedContent.setChildren(this); mixedContent.setLocation(first.getTemplate(), first, getLast()); return mixedContent; } } }
final public MixedContent WhitespaceAndComments() throws ParseException {MixedContent nodes = new MixedContent(); TemplateElement elem, begin = null; label_22:
final public TemplateElement FreeMarkerText() throws ParseException {MixedContent nodes = new MixedContent(); TemplateElement elem, begin = null; label_21:
final public MixedContent MixedContent() throws ParseException {MixedContent mixedContent = new MixedContent(); TemplateElement elem, begin = null; mixedContentNesting++;
/** * Used for some backward compatibility hacks. */ MixedContent asMixedContent() { MixedContent mixedContent = new MixedContent(); if (count != 0) { TemplateElement first = buffer[0]; mixedContent.setChildren(this); mixedContent.setLocation(first.getTemplate(), first, getLast()); } return mixedContent; }
/** * Used for some backward compatibility hacks. */ MixedContent asMixedContent() { MixedContent mixedContent = new MixedContent(); if (count != 0) { TemplateElement first = buffer[0]; mixedContent.setChildren(this); mixedContent.setLocation(first.getTemplate(), first, getLast()); } return mixedContent; }
/** * Used for some backward compatibility hacks. */ TemplateElement asSingleElement() { if (count == 0) { return new TextBlock(CollectionUtils.EMPTY_CHAR_ARRAY, false); } else { TemplateElement first = buffer[0]; if (count == 1) { return first; } else { MixedContent mixedContent = new MixedContent(); mixedContent.setChildren(this); mixedContent.setLocation(first.getTemplate(), first, getLast()); return mixedContent; } } }
/** * Used for some backward compatibility hacks. */ TemplateElement asSingleElement() { if (count == 0) { return new TextBlock(CollectionUtils.EMPTY_CHAR_ARRAY, false); } else { TemplateElement first = buffer[0]; if (count == 1) { return first; } else { MixedContent mixedContent = new MixedContent(); mixedContent.setChildren(this); mixedContent.setLocation(first.getTemplate(), first, getLast()); return mixedContent; } } }
final public TemplateElement FreeMarkerText() throws ParseException {MixedContent nodes = new MixedContent(); TemplateElement elem, begin = null; label_21:
final public TemplateElement FreeMarkerText() throws ParseException {MixedContent nodes = new MixedContent(); TemplateElement elem, begin = null; label_21:
final public MixedContent WhitespaceAndComments() throws ParseException {MixedContent nodes = new MixedContent(); TemplateElement elem, begin = null; label_22:
final public MixedContent WhitespaceAndComments() throws ParseException {MixedContent nodes = new MixedContent(); TemplateElement elem, begin = null; label_22:
MixedContent nodes = new MixedContent(); TemplateElement elem, begin = null; label_20:
final public MixedContent MixedContent() throws ParseException {MixedContent mixedContent = new MixedContent(); TemplateElement elem, begin = null; mixedContentNesting++;
final public MixedContent MixedContent() throws ParseException {MixedContent mixedContent = new MixedContent(); TemplateElement elem, begin = null; mixedContentNesting++;
final public TemplateElement Content() throws ParseException { MixedContent nodes = new MixedContent(); TemplateElement elem, begin=null; contentNesting++;