|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.markup.parser.AbstractMarkupFilter
org.apache.wicket.markup.parser.filter.HtmlHandler
public final class HtmlHandler
This is a markup inline filter. It identifies HTML specific issues which make HTML not 100% xml compliant. E.g. tags like <p> often are missing the corresponding close tag.
Constructor Summary | |
---|---|
HtmlHandler()
Construct. |
Method Summary | |
---|---|
MarkupElement |
nextTag()
Get the next MarkupElement from the parent MarkupFilter and handle it if the specific filter criteria are met. |
static boolean |
requiresCloseTag(java.lang.String name)
Gets whether this tag does not require a closing tag. |
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter |
---|
getParent, nextComponentTag, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlHandler()
Method Detail |
---|
public MarkupElement nextTag() throws java.text.ParseException
java.text.ParseException
IMarkupFilter.nextTag()
public static boolean requiresCloseTag(java.lang.String name)
name
- The tag's name, e.g. a, br, div, etc.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |