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

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

Introduction

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

Prototype

public void setType(final TagType type) 

Source Link

Document

Sets type of this tag if it is not immutable.

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);
    xmlTag.setName(name);//from  w w w  .  j  a v a  2s . co  m
    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);//from   ww w.ja  va 2  s.  co m
    xmltag.setType(type);
    return xmltag;
}