Example usage for org.apache.wicket.markup ComponentTag setOpenTag

List of usage examples for org.apache.wicket.markup ComponentTag setOpenTag

Introduction

In this page you can find the example usage for org.apache.wicket.markup ComponentTag setOpenTag.

Prototype

public final void setOpenTag(final ComponentTag tag) 

Source Link

Document

Assuming this is a close tag, assign it's corresponding open tag.

Usage

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

License:Apache License

protected void pushClose(final ComponentTag open, final ComponentTag close) {
    if (close != null) {
        close.makeImmutable();/*  www. j a  v  a2 s.co  m*/
        close.setOpenTag(open);
        tagStack.push(close);
    } else {
        open.setOpenTag(open);
    }
}