org.apache.xalan.Version类的使用及代码示例

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

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

Version介绍

[英]Administrative class to keep track of the version number of the Xalan release.

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.
[中]管理类来跟踪Xalan版本号。
这个类实现了即将到来的拥有组织的标准。阿帕奇。项目名称。版本getVersion()是获取版本信息的标准方法。这个类将取代旧的组织。阿帕奇。泽兰。加工机版本类。
另请参见:org/apache/xalan/res/XSLTInfo。属性获取有关我们支持的XSLT规范版本的信息。

代码示例

代码示例来源: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: robovm/robovm

/**
 * Print the processor version to the command line.
 *
 * @param argv command line arguments, unused.
 */
public static void main(String argv[])
{
 System.out.println(getVersion());
}

代码示例来源: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: xalan/xalan

/**
 * Print the processor version to the command line.
 *
 * @param argv command line arguments, unused.
 */
public static void main(String argv[])
{
 System.out.println(getVersion());
}

代码示例来源: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: xalan/xalan

+ Version.getVersion() + ", " +

代码示例来源: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: MobiVM/robovm

/**
 * Print the processor version to the command line.
 *
 * @param argv command line arguments, unused.
 */
public static void main(String argv[])
{
 System.out.println(getVersion());
}

代码示例来源: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: ibinti/bugvm

/**
 * Print the processor version to the command line.
 *
 * @param argv command line arguments, unused.
 */
public static void main(String argv[])
{
 System.out.println(getVersion());
}

代码示例来源: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: com.mobidevelop.robovm/robovm-rt

/**
 * Print the processor version to the command line.
 *
 * @param argv command line arguments, unused.
 */
public static void main(String argv[])
{
 System.out.println(getVersion());
}

代码示例来源: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: org.apache.xalan/com.springsource.org.apache.xalan

/**
 * Print the processor version to the command line.
 *
 * @param argv command line arguments, unused.
 */
public static void main(String argv[])
{
 System.out.println(getVersion());
}

代码示例来源: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()));  
}

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

/**
 * Print the processor version to the command line.
 *
 * @param argv command line arguments, unused.
 */
public static void main(String argv[])
{
 System.out.println(getVersion());
}

代码示例来源: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: com.bugvm/bugvm-rt

/**
 * Print the processor version to the command line.
 *
 * @param argv command line arguments, unused.
 */
public static void main(String argv[])
{
 System.out.println(getVersion());
}

代码示例来源: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: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Print the processor version to the command line.
 *
 * @param argv command line arguments, unused.
 */
public static void main(String argv[])
{
 System.out.println(getVersion());
}

相关文章