本文整理了Java中org.apache.velocity.context.Context.containsKey()
方法的一些代码示例,展示了Context.containsKey()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Context.containsKey()
方法的具体详情如下:
包路径:org.apache.velocity.context.Context
类名称:Context
方法名:containsKey
[英]Indicates whether the specified key is in the context.
[中]指示指定的键是否在上下文中。
代码示例来源:origin: webx/citrus
@Override
public boolean internalContainsKey(Object key) {
return context.containsKey(key);
}
代码示例来源:origin: webx/citrus
@Override
public boolean internalContainsKey(Object key) {
return context.containsKey(key);
}
代码示例来源:origin: com.alibaba.citrus/citrus-webx-all
@Override
public boolean internalContainsKey(Object key) {
return context.containsKey(key);
}
代码示例来源:origin: org.apache.velocity/velocity-engine-core
/**
* @see org.apache.velocity.context.Context#containsKey(java.lang.Object)
*/
public boolean containsKey(String key)
{
return context.containsKey( key );
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity
/**
* @see org.apache.velocity.context.Context#containsKey(java.lang.Object)
*/
public boolean containsKey(Object key)
{
return context.containsKey( key );
}
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
/**
* @see org.apache.velocity.context.Context#containsKey(java.lang.Object)
*/
public boolean containsKey(Object key)
{
return context.containsKey( key );
}
代码示例来源:origin: velocity/velocity-dep
public boolean containsKey(Object key)
{
return context.containsKey( key );
}
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
/**
* @see org.apache.velocity.context.Context#containsKey(java.lang.Object)
*/
public boolean containsKey(Object key)
{
return localContext.containsKey(key) || super.containsKey(key);
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity
/**
* @see org.apache.velocity.context.Context#containsKey(java.lang.Object)
*/
public boolean containsKey(Object key)
{
return (localContext != null && localContext.containsKey(key)) ||
super.containsKey(key);
}
代码示例来源:origin: fex-team/fis-velocity-tools
/**
* @see org.apache.velocity.context.Context#containsKey(java.lang.Object)
*/
public boolean containsKey(Object key)
{
return (localContext != null && localContext.containsKey(key)) ||
super.containsKey(key);
}
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
/**
* Indicates whether the specified key is in the context. Provided for
* debugging purposes.
*
* @param key The key to look for.
* @return true if the key is in the context, false if not.
*/
public boolean containsKey(Object key)
{
if (key == null)
{
return false;
}
boolean exists = internalContainsKey(key);
if (!exists && innerContext != null)
{
exists = innerContext.containsKey(key);
}
return exists;
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity
/**
* Indicates whether the specified key is in the context. Provided for
* debugging purposes.
*
* @param key The key to look for.
* @return true if the key is in the context, false if not.
*/
public boolean containsKey(Object key)
{
if (key == null)
{
return false;
}
boolean exists = internalContainsKey(key);
if (!exists && innerContext != null)
{
exists = innerContext.containsKey(key);
}
return exists;
}
代码示例来源:origin: org.apache.velocity/velocity-engine-core
/**
* Indicates whether the specified key is in the context. Provided for
* debugging purposes.
*
* @param key The key to look for.
* @return true if the key is in the context, false if not.
*/
public boolean containsKey(String key)
{
if (key == null)
{
return false;
}
boolean exists = internalContainsKey(key);
if (!exists && innerContext != null)
{
exists = innerContext.containsKey(key);
}
return exists;
}
代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity
if (!context.containsKey(variable))
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity
if (!context.containsKey(variable))
内容来源于网络,如有侵权,请联系作者删除!