|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy
public final class DefaultMarkupSourcingStrategy
This is a no-op sourcing strategy.
Method Summary | |
---|---|
static DefaultMarkupSourcingStrategy |
get()
|
IMarkupFragment |
getMarkup(MarkupContainer container,
Component child)
Will replace the respective component's method. |
void |
onComponentTag(Component component,
ComponentTag tag)
Will be called in addition to Component.onComponentTag(ComponentTag) and allows the
strategy to modify the component's tag or any of the tag attributes. |
void |
onComponentTagBody(Component component,
MarkupStream markupStream,
ComponentTag openTag)
Will replace the respective component's method. |
void |
renderHead(Component component,
HtmlHeaderContainer container)
Will be called in addition to Component.renderHead(HtmlHeaderContainer) and allows
the strategy to contribute to the <head> section of the response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final DefaultMarkupSourcingStrategy get()
public void onComponentTag(Component component, ComponentTag tag)
Component.onComponentTag(ComponentTag)
and allows the
strategy to modify the component's tag or any of the tag attributes.
onComponentTag
in interface IMarkupSourcingStrategy
component
- The component calling the strategyComponent.onComponentTag(ComponentTag)
public void onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag)
It's perfectly valid to call component.onComponentTagBody(markupStream, openTag)
from insight this method.
onComponentTagBody
in interface IMarkupSourcingStrategy
component
- The component calling the strategyComponent.onComponentTagBody(MarkupStream, ComponentTag)
public IMarkupFragment getMarkup(MarkupContainer container, Component child)
getMarkup
in interface IMarkupSourcingStrategy
container
- The parent containing the child.child
- The componen to find the markup for.
MarkupContainer.getMarkup(Component)
public void renderHead(Component component, HtmlHeaderContainer container)
Component.renderHead(HtmlHeaderContainer)
and allows
the strategy to contribute to the <head> section of the response.
renderHead
in interface IMarkupSourcingStrategy
component
- The component calling the strategyComponent.renderHead(HtmlHeaderContainer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |