Code example for PrintWriter

Methods: write

0
 
	} 
	 
	public void render(PrintWriter writer) {
		if(!tag.hasBody()) {
			writer.write(">");
			renderBody(writer);
			writer.write("</");
			writer.write(tag.getName());
			writer.write(">");
		} else { 
			renderBody(writer);
		} 
	} 
 
	 
	 
	protected abstract void renderBody(PrintWriter writer);
 
	public Range getModifiedRange() { 
		return range;