org.apache.wicket.markup.parser.XmlTag.makeImmutable()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(159)

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

XmlTag.makeImmutable介绍

[英]Makes this tag object immutable by making the attribute map unmodifiable. Immutable tags cannot be made mutable again. They can only be copied into new mutable tag objects.
[中]通过使属性映射不可修改,使此标记对象不可修改。不可变的标记不能再次变为可变的。它们只能复制到新的可变标记对象中。

代码示例

代码示例来源:origin: org.apache.wicket/wicket-core

/**
 * Construct.
 * 
 * @param tag
 *            The underlying xml tag
 * @param httpTagType
 */
public HtmlSpecialTag(final XmlTag tag, final HttpTagType httpTagType)
{
  xmlTag = tag.makeImmutable();
  this.httpTagType = httpTagType;
}

代码示例来源:origin: org.apache.wicket/wicket-core

/**
 * Makes this tag object immutable by making the attribute map unmodifiable. Immutable tags
 * cannot be made mutable again. They can only be copied into new mutable tag objects.
 */
public final void makeImmutable()
{
  xmlTag.makeImmutable();
}

代码示例来源:origin: apache/wicket

/**
 * Construct.
 * 
 * @param tag
 *            The underlying xml tag
 * @param httpTagType
 */
public HtmlSpecialTag(final XmlTag tag, final HttpTagType httpTagType)
{
  xmlTag = tag.makeImmutable();
  this.httpTagType = httpTagType;
}

代码示例来源:origin: apache/wicket

/**
 * Makes this tag object immutable by making the attribute map unmodifiable. Immutable tags
 * cannot be made mutable again. They can only be copied into new mutable tag objects.
 */
public final void makeImmutable()
{
  xmlTag.makeImmutable();
}

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

/**
 * Makes this tag object immutable by making the attribute map unmodifiable. Immutable tags
 * cannot be made mutable again. They can only be copied into new mutable tag objects.
 */
public final void makeImmutable()
{
  xmlTag.makeImmutable();
}

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Makes this tag object immutable by making the attribute map unmodifiable. Immutable tags
 * cannot be made mutable again. They can only be copied into new mutable tag objects.
 */
public final void makeImmutable()
{
  xmlTag.makeImmutable();
}

相关文章