1 package com.icl.saxon; 2 3 6 7 public class Version 8 { 9 public static String javaVersion = System.getProperty("java.version"); 10 public static boolean preJDK12 = 11 javaVersion.startsWith("1.1") || 12 javaVersion.startsWith("1.0") || 13 javaVersion.startsWith("3.1.1 (Sun 1.1"); 15 public static final boolean isPreJDK12() { 16 return preJDK12; 17 } 18 19 public final static String getVersion() { 20 return "6.5.3"; 21 } 22 23 public final static double getXSLVersion() { 24 return 1.0; 25 } 26 27 public final static String getXSLVersionString() { 28 return "1.0"; 29 } 30 31 public static String getProductName() { 32 return "SAXON " + getVersion() + " from Michael Kay"; 33 } 34 35 public static String getWebSiteAddress() { 36 return "http://saxon.sf.net/"; 37 } 38 } 39 40 41 42 | Popular Tags |