|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.markup.resolver.HtmlHeaderResolver
public class HtmlHeaderResolver
This is a tag resolver which handles <head> and <wicket:head>tags. It must be registered (with the application) and assumes that a ComponentTag respectively a WicketTag has already been created (see HtmlheaderSectionHandler and WicketTagIdentifier).
Provided the current tag is a <head>, a HtmlHeaderContainer component is created, (auto) added to the component hierarchie and immediately rendered. Please see the javadoc for HtmlHeaderContainer on how it treats the tag.
In case of <wicket:head> a simple WebMarkupContainer handles the tag.
| Constructor Summary | |
|---|---|
HtmlHeaderResolver()
|
|
| Method Summary | |
|---|---|
protected HtmlHeaderContainer |
newHtmlHeaderContainer(java.lang.String id)
Return a new HtmlHeaderContainer |
boolean |
resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
Try to resolve the tag, then create a component, add it to the container and render it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlHeaderResolver()
| Method Detail |
|---|
public boolean resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
resolve in interface IComponentResolvercontainer - The container parsing its markupmarkupStream - The current markupStreamtag - The current component tag while parsing the markup
IComponentResolver.resolve(MarkupContainer,
MarkupStream, ComponentTag)protected HtmlHeaderContainer newHtmlHeaderContainer(java.lang.String id)
id -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||