Example usage for org.apache.wicket.markup MarkupStream skipRawMarkup

List of usage examples for org.apache.wicket.markup MarkupStream skipRawMarkup

Introduction

In this page you can find the example usage for org.apache.wicket.markup MarkupStream skipRawMarkup.

Prototype

public void skipRawMarkup() 

Source Link

Document

Skips any raw markup at the current position

Usage

From source file:org.artifactory.common.wicket.component.links.BaseTitledLink.java

License:Open Source License

protected final void replaceBody(MarkupStream markupStream, ComponentTag openTag, String html) {
    replaceComponentTagBody(markupStream, openTag, html);

    if (!wasOpenCloseTag) {
        markupStream.skipRawMarkup();
        if (!markupStream.get().closes(openTag)) {
            throw new MarkupException(
                    "close tag not found for tag: " + openTag.toString() + ". Component: " + toString());
        }//from   w w w .j a v  a  2s .  c  o  m
    }
}