Generate XML end Tag - Android XML

Android examples for XML:XML Tag

Description

Generate XML end Tag

Demo Code


//package com.java2s;

public class Main {
    public static void main(String[] argv) throws Exception {
        String tagData = "java2s.com";
        System.out.println(endTag(tagData));
    }/*w w  w.j a  va 2s .  c o m*/

    public static String endTag(String tagData) {
        return "</" + tagData + ">";
    }
}

Related Tutorials