|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.parser.AbstractMarkupFilter org.apache.wicket.markup.parser.filter.EnclosureHandler
public final class EnclosureHandler
This is a markup inline filter. It identifies <wicket:enclosure> tags. If the 'child'
attribute is empty it determines the wicket:id of the child component automatically by analyzing
the wicket component (in this case on one wicket component is allowed) in between the open and
close tags. If the enclosure tag has a 'child' attribute like
<wicket:enclosure child="xxx">
than more than just one wicket component
inside the enclosure tags are allowed and the child component which determines the visibility of
the enclosure is identified by the 'child' attribute value which must be equal to the relative
child id path.
EnclosureResolver
,
Enclosure
Field Summary | |
---|---|
static java.lang.String |
CHILD_ATTRIBUTE
The child attribute |
Constructor Summary | |
---|---|
EnclosureHandler()
Construct. |
Method Summary | |
---|---|
MarkupElement |
nextTag()
Get the next MarkupElement from the parent MarkupFilter and handle it if the specific filter criteria are met. |
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 |
Field Detail |
---|
public static final java.lang.String CHILD_ATTRIBUTE
Constructor Detail |
---|
public EnclosureHandler()
Method Detail |
---|
public final MarkupElement nextTag() throws java.text.ParseException
IMarkupFilter
java.text.ParseException
IMarkupFilter.nextTag()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |