本文整理了Java中freemarker.template.Configuration.getSharedVariableNames()
方法的一些代码示例,展示了Configuration.getSharedVariableNames()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Configuration.getSharedVariableNames()
方法的具体详情如下:
包路径:freemarker.template.Configuration
类名称:Configuration
方法名:getSharedVariableNames
[英]Returns the set containing the names of all defined shared sharedVariables. The method returns a new Set object on each call that is completely disconnected from the Configuration. That is, modifying the set will have no effect on the Configuration object.
[中]返回包含所有已定义共享共享变量名称的集合。该方法在每次与配置完全断开连接的调用上返回一个新的Set对象。也就是说,修改集合对配置对象没有影响。
代码示例来源:origin: org.freemarker/freemarker
@Override
Collection keySet() {
return ((Configuration) configurable).getSharedVariableNames();
}
代码示例来源:origin: org.freemarker/freemarker
Set set = configuration.getSharedVariableNames();
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker
@Override
Collection keySet() {
return ((Configuration) configurable).getSharedVariableNames();
}
代码示例来源:origin: org.freemarker/com.springsource.freemarker
Collection keySet()
{
return ((Configuration)configurable).getSharedVariableNames();
}
代码示例来源:origin: org.freemarker/freemarker-gae
@Override
Collection keySet() {
return ((Configuration) configurable).getSharedVariableNames();
}
代码示例来源:origin: info.magnolia.core/magnolia-freemarker-support
@Override
public Set getSharedVariableNames() {
final Set names = super.getSharedVariableNames();
names.addAll(freemarkerConfig.getSharedVariables().keySet());
return names;
}
代码示例来源:origin: vivo-project/Vitro
@Override
public Set<String> getSharedVariableNames() {
Set<String> rbiNames = getRequestInfo().getSharedVariables().keySet();
@SuppressWarnings("unchecked")
Set<String> superNames = super.getSharedVariableNames();
Set<String> allNames = new HashSet<>(superNames);
allNames.addAll(rbiNames);
return allNames;
}
代码示例来源:origin: org.freemarker/com.springsource.freemarker
Set set = getConfiguration().getSharedVariableNames();
代码示例来源:origin: org.freemarker/freemarker-gae
Set set = configuration.getSharedVariableNames();
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker
Set set = configuration.getSharedVariableNames();
内容来源于网络,如有侵权,请联系作者删除!