|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.parser.TagStack
public class TagStack
Stack to push and pop HTML elements asserting its structure.
Constructor Summary | |
---|---|
TagStack()
|
Method Summary | |
---|---|
void |
assertValidInStack(ComponentTag tag)
Assert that tag has no mismatch error. |
void |
debug()
Configure this stack to call log.debug at operations |
ComponentTag |
getNotClosedTag()
|
static boolean |
hasEqualTagName(ComponentTag tag1,
ComponentTag tag2)
Compare tag name including namespace |
static boolean |
requiresCloseTag(String name)
Gets whether this tag does not require a closing tag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagStack()
Method Detail |
---|
public void assertValidInStack(ComponentTag tag) throws ParseException
tag
-
ParseException
public ComponentTag getNotClosedTag()
public void debug()
public static boolean requiresCloseTag(String name)
name
- The tag's name, e.g. a, br, div, etc.
public static boolean hasEqualTagName(ComponentTag tag1, ComponentTag tag2)
tag1
- tag2
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |