org.apache.velocity.runtime.RuntimeSingleton.isVelocimacro()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(80)

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

RuntimeSingleton.isVelocimacro介绍

[英]Checks to see if a VM exists
[中]检查虚拟机是否存在

代码示例

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

/**
 *  Checks to see if a VM exists
 *
 * @param vmName  The name of velocimacro.
 * @param templateName The template from which the macro is requested.
 * @return boolean  True if VM by that name exists, false if not
 */
public static boolean isVelocimacro( String vmName, String templateName )
{
  return RuntimeSingleton.isVelocimacro( vmName, templateName );
}

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

/**
 *  Checks to see if a VM exists
 *
 * @param vmName  The name of velocimacro.
 * @param templateName The template from which the macro is requested.
 * @return boolean  True if VM by that name exists, false if not
 */
public static boolean isVelocimacro( String vmName, String templateName )
{
  return RuntimeSingleton.isVelocimacro( vmName, templateName );
}

代码示例来源:origin: velocity/velocity-dep

/**
 *  Checks to see if a VM exists
 *
 * @param name  Name of velocimacro
 * @return boolean  True if VM by that name exists, false if not
 */
public static boolean isVelocimacro( String vmName, String templateName )
{
  return RuntimeSingleton.isVelocimacro( vmName, templateName );
}

代码示例来源:origin: velocity/velocity-dep

if (!RuntimeSingleton.isVelocimacro( vmName, logTag ))

相关文章