java.lang.Object
org.apache.wicket.markup.head.HeaderItem
org.apache.wicket.markup.head.MetaDataHeaderItem
org.apache.wicket.markup.head.HtmlImportHeaderItem
- All Implemented Interfaces:
Serializable
,IClusterable
Header item class for HTML 5 imports.
- Since:
- 6.19.0
- Author:
- Tobias Soloschenko, Andrea Del Bene
- See Also:
-
Field Summary
Fields inherited from class org.apache.wicket.markup.head.MetaDataHeaderItem
LINK_TAG, META_TAG
-
Method Summary
Modifier and TypeMethodDescriptionstatic MetaDataHeaderItem
forImportLinkTag
(Class<? extends Page> pageClass) Factory method to create lt;link> tag for html import.static MetaDataHeaderItem
forImportLinkTag
(Class<? extends Page> pageClass, PageParameters pageParameters) Factory method to create lt;link> tag for html import.static MetaDataHeaderItem
forImportLinkTag
(Class<? extends Page> pageClass, PageParameters pageParameters, boolean async) Factory method to create lt;link> tag for html import.static MetaDataHeaderItem
forImportLinkTag
(Class<? extends Page> pageClass, PageParameters pageParameters, String media) Factory method to create lt;link> tag for html import.static MetaDataHeaderItem
forImportLinkTag
(Class<? extends Page> pageClass, PageParameters pageParameters, String media, boolean async) Factory method to create lt;link> tag for html import.static MetaDataHeaderItem
forImportLinkTag
(Class<? extends Page> pageClass, PageParameters pageParameters, IModel<String> media) Factory method to create lt;link> tag for html import.static MetaDataHeaderItem
forImportLinkTag
(Class<? extends Page> pageClass, PageParameters pageParameters, IModel<String> media, boolean async) Factory method to create lt;link> tag for html import.static MetaDataHeaderItem
forImportLinkTag
(String href) Factory method to create <link> tag.static MetaDataHeaderItem
forImportLinkTag
(String href, boolean async) Factory method to create <link> tag.static MetaDataHeaderItem
forImportLinkTag
(IModel<String> href) Factory method to create <link> tag.static MetaDataHeaderItem
forImportLinkTag
(IModel<String> href, boolean async) Factory method to create <link> tag.static MetaDataHeaderItem
forLinkTag
(String rel, String href, String media) Factory method to create <link> tag.static MetaDataHeaderItem
Factory method to create <link> tag.Methods inherited from class org.apache.wicket.markup.head.MetaDataHeaderItem
addTagAttribute, addTagAttribute, equals, forHttpEquiv, forHttpEquiv, forLinkTag, forLinkTag, forMetaTag, forMetaTag, generateString, getRenderTokens, hashCode, render
Methods inherited from class org.apache.wicket.markup.head.HeaderItem
getDependencies, getProvidedResources
-
Method Details
-
forLinkTag
Factory method to create <link> tag.- Parameters:
rel
- the 'rel' attribute of the taghref
- the 'href' attribute of the tagmedia
- the 'media' attribute of the tag- Returns:
- A new
MetaDataHeaderItem
-
forLinkTag
public static MetaDataHeaderItem forLinkTag(IModel<String> rel, IModel<String> href, IModel<String> media) Factory method to create <link> tag.- Parameters:
rel
- the 'rel' attribute of the tag as String modelhref
- the 'href' attribute of the tag as String modelmedia
- the 'media' attribute of the tag as String model- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
Factory method to create <link> tag.- Parameters:
href
- the 'href' attribute of the tag as String- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
Factory method to create <link> tag.- Parameters:
href
- the 'href' attribute of the tag as String model- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
Factory method to create <link> tag.- Parameters:
href
- the 'href' attribute of the tag as Stringasync
- the 'async' attribute as boolean value- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
Factory method to create <link> tag.- Parameters:
href
- the 'href' attribute of the tag as String modelasync
- the 'async' attribute as boolean value- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
Factory method to create lt;link> tag for html import.- Parameters:
pageClass
- the page class to generate the import for- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
public static MetaDataHeaderItem forImportLinkTag(Class<? extends Page> pageClass, PageParameters pageParameters) Factory method to create lt;link> tag for html import.- Parameters:
pageClass
- the page class to generate the import forpageParameters
- the page parameters to apply to the import- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
public static MetaDataHeaderItem forImportLinkTag(Class<? extends Page> pageClass, PageParameters pageParameters, boolean async) Factory method to create lt;link> tag for html import.- Parameters:
pageClass
- the page class to generate the import forpageParameters
- the page parameters to apply to the importasync
- the 'async' attribute as boolean value- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
public static MetaDataHeaderItem forImportLinkTag(Class<? extends Page> pageClass, PageParameters pageParameters, String media) Factory method to create lt;link> tag for html import.- Parameters:
pageClass
- the page class to generate the import forpageParameters
- the page parameters to apply to the importmedia
- the 'media' attribute of the tag- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
public static MetaDataHeaderItem forImportLinkTag(Class<? extends Page> pageClass, PageParameters pageParameters, String media, boolean async) Factory method to create lt;link> tag for html import.- Parameters:
pageClass
- the page class to generate the import forpageParameters
- the page parameters to apply to the importmedia
- the 'media' attribute of the tagasync
- the 'async' attribute as boolean value- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
public static MetaDataHeaderItem forImportLinkTag(Class<? extends Page> pageClass, PageParameters pageParameters, IModel<String> media) Factory method to create lt;link> tag for html import.- Parameters:
pageClass
- the page class to generate the import forpageParameters
- the page parameters to apply to the importmedia
- the 'media' attribute of the tag as String model- Returns:
- A new
MetaDataHeaderItem
-
forImportLinkTag
public static MetaDataHeaderItem forImportLinkTag(Class<? extends Page> pageClass, PageParameters pageParameters, IModel<String> media, boolean async) Factory method to create lt;link> tag for html import.- Parameters:
pageClass
- the page class to generate the import forpageParameters
- the page parameters to apply to the importmedia
- the 'media' attribute of the tag as String modelasync
- the 'async' attribute as boolean value- Returns:
- A new
MetaDataHeaderItem
-