public class Version
extends java.lang.Object
This class implements the upcoming standard of having org.apache.project-name.Version.getVersion() be a standard way to get version information. This class will replace the older org.apache.xalan.processor.Version class.
See also: org/apache/xalan/res/XSLTInfo.properties for information about the version of the XSLT spec we support.
Constructor | Description |
---|---|
Version() |
Modifier and Type | Method | Description |
---|---|---|
static int |
getDevelopmentVersionNum() |
Development Drop Number.
|
static java.lang.String |
getImplementationLanguage() |
Implementation Language: Java.
|
static int |
getMaintenanceVersionNum() |
Maintenance Drop Number.
|
static int |
getMajorVersionNum() |
Major version number.
|
static java.lang.String |
getProduct() |
Name of product: Xalan.
|
static int |
getReleaseVersionNum() |
Release Number.
|
static java.lang.String |
getVersion() |
Get the basic version string for the current Xalan release.
|
static void |
main(java.lang.String[] argv) |
Print the processor version to the command line.
|
public static java.lang.String getVersion()
"Xalan Java v.r[.dd| Dnn]"
.
Futurework: have this read version info from jar manifest.public static void main(java.lang.String[] argv)
argv
- command line arguments, unused.public static java.lang.String getProduct()
public static java.lang.String getImplementationLanguage()
public static int getMajorVersionNum()
public static int getReleaseVersionNum()
public static int getMaintenanceVersionNum()
public static int getDevelopmentVersionNum()
Copyright © 2014 Apache XML Project. All Rights Reserved.