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.
|
closes
public RawMarkup(CharSequence string)
string
- The raw markuppublic boolean equals(Object o)
public boolean equalTo(MarkupElement element)
MarkupElement
equalTo
in class MarkupElement
element
- The markup element to compare withMarkupElement.equalTo(org.apache.wicket.markup.MarkupElement)
public int hashCode()
public CharSequence toCharSequence()
toCharSequence
in class MarkupElement
MarkupElement.toCharSequence()
public String toString()
public String toUserDebugString()
MarkupElement
toUserDebugString
in class MarkupElement
MarkupElement.toUserDebugString()
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.