public class RawMarkup extends MarkupElement
A RawMarkup element represents a hunk of unparsed HTML containing any arbitrary content.
MarkupElement| Constructor and Description |
|---|
RawMarkup(CharSequence string)
Create a RawMarkup element referencing an uninterpreted markup string.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Compare with a given object
|
boolean |
equalTo(MarkupElement element)
This is not an implementation of equals because we don't care about hashCodes for
MarkupElements yet.
|
int |
hashCode()
We must override hashCode since we overrode equals.
|
CharSequence |
toCharSequence() |
String |
toString() |
String |
toUserDebugString()
Gets a string representation.
|
closespublic RawMarkup(CharSequence string)
string - The raw markuppublic boolean equals(Object o)
public boolean equalTo(MarkupElement element)
MarkupElementequalTo in class MarkupElementelement - The markup element to compare withMarkupElement.equalTo(org.apache.wicket.markup.MarkupElement)public int hashCode()
public CharSequence toCharSequence()
toCharSequence in class MarkupElementMarkupElement.toCharSequence()public String toString()
public String toUserDebugString()
MarkupElementtoUserDebugString in class MarkupElementMarkupElement.toUserDebugString()Copyright © 2006–2021 Apache Software Foundation. All rights reserved.