Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import javax.xml.bind.DatatypeConverter;

public class Main {
    /**
     * Converts Integer into XML-Tag with type xsd:int
     */
    public static String getXMLInteger(Integer integer) {
        return DatatypeConverter.printInt(integer);
    }
}