org.apache.xalan.Version.getMajorVersionNum()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(7.6k)|赞(0)|评价(0)|浏览(86)

本文整理了Java中org.apache.xalan.Version.getMajorVersionNum()方法的一些代码示例,展示了Version.getMajorVersionNum()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version.getMajorVersionNum()方法的具体详情如下:
包路径:org.apache.xalan.Version
类名称:Version
方法名:getMajorVersionNum

Version.getMajorVersionNum介绍

[英]Major version number. Version number. This changes only when there is a significant, externally apparent enhancement from the previous release. 'n' represents the n'th version. Clients should carefully consider the implications of new versions as external interfaces and behaviour may have changed.
[中]主要版本号。版本号。只有在与上一版本相比有明显的外部增强时,这种情况才会发生变化。”n'代表第n个版本。客户应该仔细考虑新版本作为外部接口的影响,行为可能已经改变。

代码示例

代码示例来源:origin: robovm/robovm

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

代码示例来源:origin: xalan/xalan

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

代码示例来源:origin: MobiVM/robovm

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

代码示例来源:origin: ibinti/bugvm

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Get the basic version string for the current Xalan release.
 * Version String formatted like 
 * <CODE>"<B>Xalan</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
  return getProduct()+" "+getImplementationLanguage()+" "
     +getMajorVersionNum()+"."+getReleaseVersionNum()+"."
     +( (getDevelopmentVersionNum() > 0) ? 
       ("D"+getDevelopmentVersionNum()) : (""+getMaintenanceVersionNum()));  
}

相关文章