<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
-->
<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>