Example usage for org.apache.wicket.markup.parser XmlTag setName

List of usage examples for org.apache.wicket.markup.parser XmlTag setName

Introduction

In this page you can find the example usage for org.apache.wicket.markup.parser XmlTag setName.

Prototype

public void setName(final String name) 

Source Link

Document

Sets the tag name.

Usage

From source file:org.wicketstuff.minis.apanel.GridLayout.java

License:Apache License

private static XmlTag createXmlTag(final String name, final XmlTag.TagType type) {
    final XmlTag xmlTag = new XmlTag();
    xmlTag.setType(type);//from w w w.ja va 2 s  . co  m
    xmlTag.setName(name);
    return xmlTag;
}

From source file:sf.wicklet.wicketext.markup.impl.WicketWriter.java

License:Apache License

protected XmlTag createXmlTag(final String namespace, final String tag, final TagType type) {
    final XmlTag xmltag = new XmlTag();
    xmltag.setNamespace(namespace);/*from   w  ww.  j  av  a  2 s .c o  m*/
    xmltag.setName(tag);
    xmltag.setType(type);
    return xmltag;
}

From source file:sf.wicklet.wicketext.markup.impl.WicketWriter.java

License:Apache License

protected XmlTag createXmlTag(final String tag, final TagType type) {
    final XmlTag xmltag = new XmlTag();
    xmltag.setName(tag);
    xmltag.setType(type);/*from   w w  w . ja  v a2 s .  c o  m*/
    return xmltag;
}