org.apache.tiles.Definition.getAttribute()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(161)

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

Definition.getAttribute介绍

[英]Access method for the attributes property. If there is no attributes, return an empty map.
[中]属性属性的访问方法。如果没有属性,则返回一个空映射。

代码示例

代码示例来源:origin: org.springframework.webflow/spring-webflow

Attribute attribute = definition.getAttribute(attributeName);
if (attribute.getValue() == null || !(attribute.getValue() instanceof String)) {
  continue;

代码示例来源:origin: org.springframework.webflow/spring-js

while (iterator.hasNext()) {
  String attributeName = iterator.next();
  Attribute attribute = compositeDefinition.getAttribute(attributeName);
  if (attribute.getValue() == null || !(attribute.getValue() instanceof String)) {
    continue;

代码示例来源:origin: org.thymeleaf.extras/thymeleaf-extras-tiles2-spring4

final Attribute attribute = compositeDefinition.getAttribute(attributeName);

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

/**
 * Checks whether the <code>key</code> attribute has been set.
 *
 * @param key The attribute key to check.
 * @return <code>true</code> if the attribute has a value.
 * @deprecated Check if the {@link AttributeContext#getAttribute(String)}
 * returns null.
 */
@Deprecated
public boolean hasAttributeValue(String key) {
  return getAttribute(key) != null;
}

代码示例来源:origin: thymeleaf/thymeleaf-extras-tiles2

final Attribute attribute = compositeDefinition.getAttribute(attributeName);

代码示例来源:origin: org.springframework.webflow/spring-js

Attribute attribute = definition.getAttribute(attributeName);
if (attribute.getValue() == null || !(attribute.getValue() instanceof String)) {
  continue;

代码示例来源:origin: thymeleaf/thymeleaf-extras-tiles2

final Attribute attribute = compositeDefinition.getAttribute(attributeName);

代码示例来源:origin: spring-projects/spring-webflow

Attribute attribute = definition.getAttribute(attributeName);
if (attribute.getValue() == null || !(attribute.getValue() instanceof String)) {
  continue;

相关文章