|
||||||||||
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.RootMarkupFilter
public final class RootMarkupFilter
This is the root of all filters, which retrieves the next xml element from the xml parser.
Constructor Summary | |
---|---|
RootMarkupFilter(IXmlPullParser parser)
Deprecated. Use #RootMarkupFilter(IXmlPullParser, MarkupResourceStream) instead |
|
RootMarkupFilter(IXmlPullParser parser,
MarkupResourceStream resourceStream)
Construct. |
Method Summary | |
---|---|
IMarkupFilter |
getNextFilter()
IMarkupFilters are usually chained with the last filter retrieving the elements from the XML parser. |
MarkupElement |
nextElement()
Skip all xml elements until the next tag. |
protected MarkupElement |
onComponentTag(ComponentTag tag)
Noop |
void |
postProcess(Markup markup)
Noop |
void |
setNextFilter(IMarkupFilter parent)
This is the root filter. |
String |
toString()
|
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter |
---|
getMarkupResourceStream, getWicketNamespace, getWicketNamespace, onSpecialTag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RootMarkupFilter(IXmlPullParser parser)
parser
- the parser that reads the markuppublic RootMarkupFilter(IXmlPullParser parser, MarkupResourceStream resourceStream)
parser
- Method Detail |
---|
public final MarkupElement nextElement() throws ParseException
nextElement
in interface IMarkupFilter
nextElement
in class AbstractMarkupFilter
ParseException
public final IMarkupFilter getNextFilter()
IMarkupFilter
getNextFilter
in interface IMarkupFilter
getNextFilter
in class AbstractMarkupFilter
public final void setNextFilter(IMarkupFilter parent)
setNextFilter
in interface IMarkupFilter
setNextFilter
in class AbstractMarkupFilter
parent
- The parent of this component The next element in the chainprotected MarkupElement onComponentTag(ComponentTag tag) throws ParseException
onComponentTag
in class AbstractMarkupFilter
ParseException
public final void postProcess(Markup markup)
postProcess
in interface IMarkupFilter
postProcess
in class AbstractMarkupFilter
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |