<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<!--
// // Copyright (c) 2006 // Paul Hamilton; QuidNovi // // This software is proprietary and remains // the sole property of QuidNovi. // // version_public_string.xml // // 1-Jan-2006 phamilton Created //
-->

<web xmlns="urn:xmlliterate.schema" name="web">
    <language>Java</language>
    <sections>
        <websection name="root">
            <description>Return this version as a public string. In Java, you can't switch on long values, only ints. It might be nicer if this was an enumeration...</description>
            <sections>
                <websource>
                    <code> String v = "Version " + String.valueOf(_major) + "." + String.valueOf(_minor); if (full) { if (_phase == 0) v += " Development "; else if (_phase == 1) v += " Alpha "; else if (_phase == 2) v += " Beta "; else v += " "; v += "Build " + String.valueOf(_build); } return v; </code>
                </websource>
            </sections>
        </websection>
    </sections>
</web>