Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.io.PrintWriter;

public class Main {
    /**
     * Generates the end of an XML tag </fieldName>
     *
     * @param fieldName
     * @param pw
     */
    static public void writeXMLEnd(String fieldName, PrintWriter pw) {
        pw.print("</");
        pw.print(fieldName);
        pw.println('>');
    }
}