|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy
public abstract class AbstractMarkupSourcingStrategy
Implements boilerplate as needed by many markup sourcing strategies.
| Constructor Summary | |
|---|---|
AbstractMarkupSourcingStrategy()
Construct. |
|
| Method Summary | |
|---|---|
abstract IMarkupFragment |
getMarkup(MarkupContainer container,
Component child)
Will replace the respective component's method. |
void |
onComponentTag(Component component,
ComponentTag tag)
Make sure we open up open-close tags to open-body-close |
void |
onComponentTagBody(Component component,
MarkupStream markupStream,
ComponentTag openTag)
Skip the components body which is expected to be raw markup only (no wicket components). |
void |
renderHead(Component component,
HtmlHeaderContainer container)
Empty. |
protected IMarkupFragment |
searchMarkupInTransparentResolvers(MarkupContainer container,
Component child)
If the child has not been directly added to the container, but via a TransparentWebMarkupContainer, then we are in trouble. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractMarkupSourcingStrategy()
| Method Detail |
|---|
public abstract IMarkupFragment getMarkup(MarkupContainer container,
Component child)
IMarkupSourcingStrategy
getMarkup in interface IMarkupSourcingStrategycontainer - The parent containing the child. This is not the direct parent, transparent
component resolver may be in the hierarchy between.child - The component to find the markup for.
null.MarkupContainer.getMarkup(Component)
protected IMarkupFragment searchMarkupInTransparentResolvers(MarkupContainer container,
Component child)
container - the parent container.child - The component to find the markup for.
null.
public void onComponentTag(Component component,
ComponentTag tag)
onComponentTag in interface IMarkupSourcingStrategycomponent - The component calling the strategyComponent.onComponentTag(ComponentTag)
public void onComponentTagBody(Component component,
MarkupStream markupStream,
ComponentTag openTag)
onComponentTagBody in interface IMarkupSourcingStrategycomponent - The component calling the strategyComponent.onComponentTagBody(MarkupStream, ComponentTag)
public void renderHead(Component component,
HtmlHeaderContainer container)
renderHead in interface IMarkupSourcingStrategycomponent - The component calling the strategyComponent.renderHead(HtmlHeaderContainer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||