com.sun.ebxml.registry.util
Class XalanVersion

java.lang.Object
  |
  +--com.sun.ebxml.registry.util.XalanVersion

public class XalanVersion
extends java.lang.Object

Provides utility methods to verify the version of xalan.

Author:
Fabian Ritzmann

Constructor Summary
XalanVersion()
           
 
Method Summary
static java.lang.Integer getDevelopmentVersion()
          Invokes getDevelopmentVersionNum on xalan.Version.
static java.lang.Integer getMajorVersion()
          Invokes getMajorVersionNum on xalan.Version.
static java.lang.Integer getReleaseVersion()
          Invokes getReleaseVersionNum on xalan.Version.
static void verifyVersion()
          Throw an exception if the installed version of Xalan is not recent enough.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XalanVersion

public XalanVersion()
Method Detail

verifyVersion

public static void verifyVersion()
                          throws XalanVersionException
Throw an exception if the installed version of Xalan is not recent enough.

Throws:
XalanVersionException - Thrown if Xalan version could not be determined or Xalan version is not at least 2.2D14.

getMajorVersion

public static java.lang.Integer getMajorVersion()
                                         throws XalanVersionException
Invokes getMajorVersionNum on xalan.Version.

Returns:
The result of xalan.Version.getMajorVersionNum
Throws:
XalanVersionException - Thrown if xalan.Version could not be found or method could not be executed.
See Also:
Version.getMajorVersionNum()

getReleaseVersion

public static java.lang.Integer getReleaseVersion()
                                           throws XalanVersionException
Invokes getReleaseVersionNum on xalan.Version.

Returns:
The result of xalan.Version.getReleaseVersionNum
Throws:
XalanVersionException - Thrown if xalan.Version could not be found or method could not be executed.
See Also:
Version.getReleaseVersionNum()

getDevelopmentVersion

public static java.lang.Integer getDevelopmentVersion()
                                               throws XalanVersionException
Invokes getDevelopmentVersionNum on xalan.Version.

Returns:
The result of xalan.Version.getDevelopmentVersionNum
Throws:
XalanVersionException - Thrown if xalan.Version could not be found or method could not be executed.
See Also:
Version.getDevelopmentVersionNum()


Copyright © 2001-2003 OASIS. All Rights Reserved.