/** * Get a message used to identify this product when a transformation is run using the -t option * @return A string containing both the product name and the product * version */ public static String getProductTitle() { return getProductName() + ' ' + getProductVersion() + " from Saxonica"; }
/** * Invoking net.sf.saxon.Version from the command line outputs the build number * @param args not used */ public static void main(String[] args) { System.err.println(getProductTitle() + " (build " + BUILD + ')'); } }
if (uri.equals(NamespaceConstant.XSLT)) { if (local.equals("version")) return Version.getXSLVersionString(); if (local.equals("vendor")) return Version.getProductTitle(); if (local.equals("vendor-url")) return Version.getWebSiteAddress(); if (local.equals("product-name")) return Version.getProductName(); if (local.equals("product-version")) return config.isSchemaAware(Configuration.XSLT) ? Version.getSchemaAwareProductVersion() : Version.getProductVersion(); if (local.equals("is-schema-aware")) return config.isSchemaAware(Configuration.XSLT) ? "yes" : "no";
/** * Get the user-visible Saxon product version, for example "9.0.0.1" * * @return the Saxon product version, as a string */ public String getSaxonProductVersion() { return Version.getProductVersion(); }
return "3.0"; case "vendor": return Version.getProductVendor(); case "vendor-url": return Version.getWebSiteAddress(); case "product-name": return Version.getProductName(); case "product-version": return Version.getProductVariantAndVersion(edition); case "is-schema-aware": boolean schemaAware = rsc.getPackageData().isSchemaAware();
if (uri.equals(NamespaceConstant.XSLT)) { if (local.equals("version")) return Version.getXSLVersionString(); if (local.equals("vendor")) return Version.getProductTitle(); if (local.equals("vendor-url")) return Version.getWebSiteAddress(); if (local.equals("product-name")) return Version.getProductName(); if (local.equals("product-version")) return config.isSchemaAware(Configuration.XSLT) ? Version.getSchemaAwareProductVersion() : Version.getProductVersion(); if (local.equals("is-schema-aware")) return config.isSchemaAware(Configuration.XSLT) ? "yes" : "no";
/** * Get the version number of the schema-aware version of the product * * @param edition the Saxon edition code, e.g. "EE" or "JS" * @return the version number of this version of Saxon, as a string */ public static String getProductVariantAndVersion(String edition) { return edition + " " + getProductVersion(); }
return "3.0"; case "vendor": return Version.getProductVendor(); case "vendor-url": return Version.getWebSiteAddress(); case "product-name": return Version.getProductName(); case "product-version": return Version.getProductVariantAndVersion(edition); case "is-schema-aware": boolean schemaAware = rsc.getPackageData().isSchemaAware();
if (uri.equals(NamespaceConstant.XSLT)) { if (local.equals("version")) { return Version.getXSLVersionString(); } else if (local.equals("vendor")) { return Version.getProductTitle(); } else if (local.equals("vendor-url")) { return Version.getWebSiteAddress(); } else if (local.equals("product-name")) { return Version.getProductName(); } else if (local.equals("product-version")) { return config.isSchemaAware(Configuration.XSLT) ? Version.getSchemaAwareProductVersion() : Version.getProductVersion(); } else if (local.equals("is-schema-aware")) { return config.isSchemaAware(Configuration.XSLT) ? "yes" : "no";
/** * Get the version number of the schema-aware version of the product * @return the version number of this version of Saxon, as a string */ public static String getSchemaAwareProductVersion() { return "SA " + getProductVersion(); }
/** * Get a message used to identify this product when a transformation is run using the -t option * @return A string containing both the product name and the product * version */ public static String getProductTitle() { return getProductName() + ' ' + getProductVersion() + " from Saxonica"; }
/** * Invoking net.sf.saxon.Version from the command line outputs the build number * * @param args not used */ public static void main(String[] args) { System.err.println(getProductTitle() + " (build " + BUILD + ')'); }
/** * Get the user-visible Saxon product version, for example "9.0.0.1" * * @return the Saxon product version, as a string */ public String getSaxonProductVersion() { return Version.getProductVersion(); }
/** * Get a message used to identify this product when a transformation is run using the -t option * * @return A string containing both the product name and the product * version */ public static String getProductTitle() { return getProductName() + '-' + softwareEdition + ' ' + getProductVersion() + (platform.isJava() ? 'J' : 'N') + " from Saxonica"; }
/** * Invoking net.sf.saxon.Version from the command line outputs the build number * * @param args not used */ public static void main(String[] args) { System.err.println(getProductTitle() + " (build " + BUILD + ')'); }
/** * Get the version number of the schema-aware version of the product * * @param edition the Saxon edition code, e.g. "EE" or "JS" * @return the version number of this version of Saxon, as a string */ public static String getProductVariantAndVersion(String edition) { return edition + " " + getProductVersion(); }
/** * Get a message used to identify this product when a transformation is run using the -t option * * @return A string containing both the product name and the product * version */ public static String getProductTitle() { return getProductName() + '-' + softwareEdition + ' ' + getProductVersion() + (platform.isJava() ? 'J' : 'N') + " from Saxonica"; }
/** * Invoking net.sf.saxon.Version from the command line outputs the build number * @param args not used */ public static void main(String[] args) { System.err.println(getProductTitle() + " (build " + BUILD + ')'); } }
/** * Get the user-visible Saxon product version, for example "9.0.0.1" * @return the Saxon product version, as a string */ public String getSaxonProductVersion() { return Version.getProductVersion(); }
/** * Get the version number of the schema-aware version of the product * @return the version number of this version of Saxon, as a string */ public static String getSchemaAwareProductVersion() { return "SA " + getProductVersion(); }