本文整理了Java中org.apache.velocity.runtime.RuntimeSingleton.isVelocimacro
方法的一些代码示例,展示了RuntimeSingleton.isVelocimacro
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RuntimeSingleton.isVelocimacro
方法的具体详情如下:
包路径:org.apache.velocity.runtime.RuntimeSingleton
类名称: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 ))
内容来源于网络,如有侵权,请联系作者删除!