net.sf.saxon

Class Version

public final class Version extends Object

The Version class holds the SAXON version information.
Method Summary
static StringgetProductName()
Return the name of this product.
static StringgetProductTitle()
Get a message used to identify this product when a transformation is run using the -t option
static StringgetProductVersion()
Get the version number of this version of the product
static StringgetReleaseDate()
Get the issue date of this version of the product
static StringgetSchemaAwareProductVersion()
Get the version number of the schema-aware version of the product
static StringgetWebSiteAddress()
Return a web site address containing information about the product.
static StringgetXSLVersionString()
Get the version of the XSLT specification that this product supports
static voidmain(String[] args)
Invoking net.sf.saxon.Version from the command line outputs the build number

Method Detail

getProductName

public static final String getProductName()
Return the name of this product. Supports the XSLT 2.0 system property xsl:product-name

Returns: the string "SAXON"

getProductTitle

public static final String getProductTitle()
Get a message used to identify this product when a transformation is run using the -t option

Returns: A string containing both the product name and the product version

getProductVersion

public static final String getProductVersion()
Get the version number of this version of the product

Returns: the version number of this version of Saxon, as a string

getReleaseDate

public static final String getReleaseDate()
Get the issue date of this version of the product

Returns: the release date, as an ISO 8601 string

getSchemaAwareProductVersion

public static final String getSchemaAwareProductVersion()
Get the version number of the schema-aware version of the product

Returns: the version number of this version of Saxon, as a string

getWebSiteAddress

public static final String getWebSiteAddress()
Return a web site address containing information about the product. Supports the XSLT system property xsl:vendor-url

Returns: the string "http://saxon.sf.net/"

getXSLVersionString

public static final String getXSLVersionString()
Get the version of the XSLT specification that this product supports

Returns: the string 2.0

main

public static void main(String[] args)
Invoking net.sf.saxon.Version from the command line outputs the build number

Parameters: args not used