1 package net.sf.saxon; 2 3 6 7 public final class Version { 8 9 private static final String VERSION = "8.5.1"; 10 private static final String BUILD = "082614"; private static final String RELEASE_DATE = "2005-08-26"; 12 13 private Version() { 14 } 16 17 21 22 23 public static final String getProductName() { 24 return "SAXON"; 25 } 26 27 31 32 public static final String getSchemaAwareProductVersion() { 33 return "SA " + getProductVersion(); 34 } 35 36 40 41 public static final String getProductVersion() { 42 return VERSION; 43 } 44 45 49 50 public static final String getReleaseDate() { 51 return RELEASE_DATE; 52 } 53 54 58 59 public static final String getXSLVersionString() { 60 return "2.0"; 61 } 62 63 68 69 public static final String getProductTitle() { 70 return getProductName() + ' ' + getProductVersion() + " from Saxonica"; 71 } 72 73 77 78 public static final String getWebSiteAddress() { 79 return "http://www.saxonica.com/"; 80 } 81 82 86 public static void main(String [] args) { 87 System.err.println(getProductTitle() + " (build " + BUILD + ')'); 88 } 89 } 90 91 92 93 | Popular Tags |