Java tutorial
//package com.java2s; //License from project: Open Source License import java.io.PrintWriter; public class Main { /** * Write close element. * * @param out * The writer. * @param element * The element name. */ public static void writeCloseElement(PrintWriter out, String element) { out.print("</"); out.print(element); out.print('>'); } }