repo1.maven.org$maven2@org.apache.wicket$wicket@1.3.6
repo1.maven.org$maven2@org.apache.wicket$wicket@1.3.6@org$apache$wicket$markup$MarkupElement.java
file
oh
o
[]
package org.apache.wicket.markup;
Base class for different kinds of markup elements. Markup elements are held in a Markup container
object.
Wicket divides markup like (x)html, wml etc. into two types of MarkupElements:
- ComponentTag, which represents a "significant" markup tag (meaning that the tag has some
meaning to Wicket)
- RawMarkup, which is a section of unparsed markup having no meaning to Wicket.
Gets whether this element closes the given element.
- Parameters:
open
The open tag- Returns:
- True if this markup element closes the given open tag
This is not an implementation of equals because we don't care about hashCodes for
MarkupElements yet. Also, this method only compares the namespace, name and attributes of the
given MarkupElements.
- Parameters:
element
The markup element to compare with- Returns:
- True if the other element equals this one
- Returns:
- Gets the charsequence representation of this element
Gets a string representation.
- Returns:
- A string representation suitable for displaying to the user when something goes
wrong.