src/com/sun/org/apache/xerces/internal/impl/Version.java

Print this page




  57  * Business Machines, Inc., http://www.apache.org.  For more
  58  * information on the Apache Software Foundation, please see
  59  * <http://www.apache.org/>.
  60  */
  61 
  62 package com.sun.org.apache.xerces.internal.impl;
  63 
  64 /**
  65  * This class defines the version number of the parser.
  66  *
  67  * @version $Id: Version.java,v 1.4 2010-11-01 04:39:40 joehw Exp $
  68  */
  69 public class Version {
  70 
  71     //
  72     // Data
  73     //
  74 
  75     /** Version string.
  76      * @deprecated  getVersion() should be used instead.  */
  77     public static String fVersion = "Xerces-J 2.7.1";
  78 
  79     private static final String fImmutableVersion = "Xerces-J 2.7.1";
  80 
  81     // public methods
  82 
  83     /* Print out the version information.
  84      * @return the version of the parser.
  85      */
  86     public static String getVersion() {
  87         return fImmutableVersion;
  88     } // getVersion():  String
  89 
  90     //
  91     // MAIN
  92     //
  93 
  94     /**
  95      * Prints out the version number to System.out. This is needed
  96      * for the build system.
  97      */


  57  * Business Machines, Inc., http://www.apache.org.  For more
  58  * information on the Apache Software Foundation, please see
  59  * <http://www.apache.org/>.
  60  */
  61 
  62 package com.sun.org.apache.xerces.internal.impl;
  63 
  64 /**
  65  * This class defines the version number of the parser.
  66  *
  67  * @version $Id: Version.java,v 1.4 2010-11-01 04:39:40 joehw Exp $
  68  */
  69 public class Version {
  70 
  71     //
  72     // Data
  73     //
  74 
  75     /** Version string.
  76      * @deprecated  getVersion() should be used instead.  */
  77     public static final String fVersion = getVersion();
  78 
  79     private static final String fImmutableVersion = "Xerces-J 2.7.1";
  80 
  81     // public methods
  82 
  83     /* Print out the version information.
  84      * @return the version of the parser.
  85      */
  86     public static String getVersion() {
  87         return fImmutableVersion;
  88     } // getVersion():  String
  89 
  90     //
  91     // MAIN
  92     //
  93 
  94     /**
  95      * Prints out the version number to System.out. This is needed
  96      * for the build system.
  97      */