|
||||||||||
| 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 hierarchy and immediately rendered. Please see the javadoc for
HtmlHeaderContainer on how it treats the tag.
In case of <wicket:head> a simple TransparentWebMarkupContainer handles the tag.
| Field Summary | |
|---|---|
static String |
HEAD
|
static String |
HEADER_ITEMS
|
| Constructor Summary | |
|---|---|
HtmlHeaderResolver()
|
|
| Method Summary | |
|---|---|
protected HtmlHeaderContainer |
newHtmlHeaderContainer(String id)
Deprecated. Use #newHtmlHeaderContainer(String, ComponentTag) instead |
protected HtmlHeaderContainer |
newHtmlHeaderContainer(String id,
ComponentTag tag)
Return a new HtmlHeaderContainer |
Component |
resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
Try to resolve a component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String HEAD
public static final String HEADER_ITEMS
| Constructor Detail |
|---|
public HtmlHeaderResolver()
| Method Detail |
|---|
public Component resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
IComponentResolver
resolve in interface IComponentResolvercontainer - The container parsing its markupmarkupStream - The current markupStreamtag - The current component tag while parsing the markup
null if not found@Deprecated protected HtmlHeaderContainer newHtmlHeaderContainer(String id)
id -
protected HtmlHeaderContainer newHtmlHeaderContainer(String id,
ComponentTag tag)
id -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||