java.lang.Object
org.apache.wicket.markup.parser.AbstractMarkupFilter
org.apache.wicket.markup.parser.filter.RootMarkupFilter
- All Implemented Interfaces:
IMarkupFilter
This is the root of all filters, which retrieves the next xml element from the xml parser.
- Author:
- Juergen Donnerstag
-
Field Summary
Fields inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
REQUEST_COUNTER_KEY
-
Constructor Summary
ConstructorDescriptionRootMarkupFilter
(IXmlPullParser parser, MarkupResourceStream resourceStream) Construct. -
Method Summary
Modifier and TypeMethodDescriptionfinal IMarkupFilter
IMarkupFilters are usually chained with the last filter retrieving the elements from the XML parser.final MarkupElement
Skip all xml elements until the next tag.protected MarkupElement
Noopfinal void
postProcess
(Markup markup) Noopfinal void
setNextFilter
(IMarkupFilter parent) This is the root filter.toString()
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getMarkupResourceStream, getRequestUniqueId, getWicketNamespace, getWicketNamespace, onSpecialTag
-
Constructor Details
-
RootMarkupFilter
Construct.- Parameters:
parser
-
-
-
Method Details
-
nextElement
Skip all xml elements until the next tag.- Specified by:
nextElement
in interfaceIMarkupFilter
- Overrides:
nextElement
in classAbstractMarkupFilter
- Returns:
- Return the next eligible MarkupElement. Null, if no more found.
- Throws:
ParseException
-
getNextFilter
Description copied from interface:IMarkupFilter
IMarkupFilters are usually chained with the last filter retrieving the elements from the XML parser.- Specified by:
getNextFilter
in interfaceIMarkupFilter
- Overrides:
getNextFilter
in classAbstractMarkupFilter
- Returns:
- null. This is the root filter.
-
setNextFilter
This is the root filter. Operation not allowed. An exception will be thrown.- Specified by:
setNextFilter
in interfaceIMarkupFilter
- Overrides:
setNextFilter
in classAbstractMarkupFilter
- Parameters:
parent
- The parent of this component The next element in the chain
-
onComponentTag
Noop- Specified by:
onComponentTag
in classAbstractMarkupFilter
- Returns:
- Usually the same as the tag attribute
- Throws:
ParseException
-
postProcess
Noop- Specified by:
postProcess
in interfaceIMarkupFilter
- Overrides:
postProcess
in classAbstractMarkupFilter
-
toString
-