public abstract class MarkupElement extends Object
Wicket divides markup like (x)html, wml etc. into two types of MarkupElements:
RawMarkup
,
ComponentTag
Constructor and Description |
---|
MarkupElement()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
closes(MarkupElement open)
Gets whether this element closes the given element.
|
abstract boolean |
equalTo(MarkupElement element)
This is not an implementation of equals because we don't care about hashCodes for
MarkupElements yet.
|
abstract CharSequence |
toCharSequence() |
abstract String |
toUserDebugString()
Gets a string representation.
|
public boolean closes(MarkupElement open)
open
- The open tagpublic abstract boolean equalTo(MarkupElement element)
element
- The markup element to compare withpublic abstract CharSequence toCharSequence()
public abstract String toUserDebugString()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.