public void println() { if (_openTag) closeTag(); _writer.println(); }
public void print(int value) { if (_openTag) closeTag(); _writer.print(value); }
public void println() { if (_openTag) closeTag(); _writer.println(); }
public void print(int value) { if (_openTag) closeTag(); _writer.print(value); }
public void comment(String value) { if (_openTag) closeTag(); _writer.print("<!-- "); _writer.print(value); _writer.println(" -->"); }
public void beginEmpty(String name) { if (_openTag) closeTag(); _writer.print('<'); _writer.print(name); _openTag = true; _emptyTag = true; }
public void beginEmpty(String name) { if (_openTag) closeTag(); _writer.print('<'); _writer.print(name); _openTag = true; _emptyTag = true; }
public void comment(String value) { if (_openTag) closeTag(); _writer.print("<!-- "); _writer.print(value); _writer.println(" -->"); }
public void print(char[] buffer, int offset, int length, boolean raw) { if (_openTag) closeTag(); maybePrintFiltered(buffer, offset, length, raw, false); }
public void print(char[] buffer, int offset, int length, boolean raw) { if (_openTag) closeTag(); maybePrintFiltered(buffer, offset, length, raw, false); }
public void begin(String name) { if (_openTag) closeTag(); push(name); _writer.print('<'); _writer.print(name); _openTag = true; _emptyTag = false; }
public void begin(String name) { if (_openTag) closeTag(); push(name); _writer.print('<'); _writer.print(name); _openTag = true; _emptyTag = false; }
public void close() { if (_openTag) closeTag(); // Close any active elements. while (!stackEmpty()) { _writer.print("</"); _writer.print(pop()); _writer.print('>'); } _writer.close(); _writer = null; _filter = null; _activeElementStack = null; }
public void close() { if (_openTag) closeTag(); // Close any active elements. while (!stackEmpty()) { _writer.print("</"); _writer.print(pop()); _writer.print('>'); } _writer.close(); _writer = null; _filter = null; _activeElementStack = null; }
public void end() { if (_openTag) closeTag(); if (stackEmpty()) throw new ApplicationRuntimeException(MarkupMessages.endWithEmptyStack()); _writer.print("</"); _writer.print(pop()); _writer.print('>'); }
public void end() { if (_openTag) closeTag(); if (stackEmpty()) throw new ApplicationRuntimeException(MarkupMessages.endWithEmptyStack()); _writer.print("</"); _writer.print(pop()); _writer.print('>'); }
public void end(String name) { if (_openTag) closeTag(); if (_activeElementStack == null || !_activeElementStack.contains(name)) throw new ApplicationRuntimeException(MarkupMessages.elementNotOnStack( name, _activeElementStack)); while (true) { String tagName = pop(); _writer.print("</"); _writer.print(tagName); _writer.print('>'); if (tagName.equals(name)) break; } }
public void end(String name) { if (_openTag) closeTag(); if (_activeElementStack == null || !_activeElementStack.contains(name)) throw new ApplicationRuntimeException(MarkupMessages.elementNotOnStack( name, _activeElementStack)); while (true) { String tagName = pop(); _writer.print("</"); _writer.print(tagName); _writer.print('>'); if (tagName.equals(name)) break; } }