public final class DefaultMarkupSourcingStrategy extends AbstractMarkupSourcingStrategy
| Modifier and Type | Method and Description |
|---|---|
static DefaultMarkupSourcingStrategy |
get() |
IMarkupFragment |
getMarkup(MarkupContainer container,
Component child)
Get the markup for the child component, which is assumed to be a child of 'container'.
|
void |
onComponentTag(Component component,
ComponentTag tag)
Nothing to add to the response by default
|
void |
onComponentTagBody(Component component,
MarkupStream markupStream,
ComponentTag openTag)
Invoke the component's onComponentTagBody().
|
renderHead, searchMarkupInTransparentResolverspublic static DefaultMarkupSourcingStrategy get()
public void onComponentTag(Component component, ComponentTag tag)
onComponentTag in interface IMarkupSourcingStrategyonComponentTag in class AbstractMarkupSourcingStrategycomponent - The component calling the strategyComponent.onComponentTag(ComponentTag)public void onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag)
onComponentTagBody in interface IMarkupSourcingStrategyonComponentTagBody in class AbstractMarkupSourcingStrategycomponent - The component calling the strategyComponent.onComponentTagBody(MarkupStream, ComponentTag)public IMarkupFragment getMarkup(MarkupContainer container, Component child)
getMarkup in interface IMarkupSourcingStrategygetMarkup in class AbstractMarkupSourcingStrategycontainer - 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)Copyright © 2006–2014 Apache Software Foundation. All rights reserved.