public class CssContentHeaderItem extends CssHeaderItem
HeaderItem for internal (embedded in the header) css content.| Constructor and Description |
|---|
CssContentHeaderItem(CharSequence css,
String id,
String condition)
Creates a new
CSSContentHeaderItem. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CharSequence |
getCss() |
Iterable<?> |
getRenderTokens() |
int |
hashCode() |
void |
render(Response response)
Renders the
HeaderItem to the response. |
String |
toString() |
forCSS, forCSS, forReference, forReference, forReference, forReference, forUrl, forUrl, forUrl, getCondition, getId, internalRenderCSSReference, setIdgetDependencies, getProvidedResourcespublic CssContentHeaderItem(CharSequence css, String id, String condition)
CSSContentHeaderItem.css - css content to be rendered.id - unique id for the <style> element. This can be null, however in
that case the ajax header contribution can't detect duplicate CSS fragments.public CharSequence getCss()
public void render(Response response)
HeaderItemHeaderItem to the response.render in class HeaderItempublic Iterable<?> getRenderTokens()
getRenderTokens in class HeaderItemHeaderItem can be identified by. If any of the tokens has
already been rendered, this HeaderItem will not be rendered.public boolean equals(Object o)
equals in class CssHeaderItempublic int hashCode()
hashCode in class CssHeaderItemCopyright © 2006–2021 Apache Software Foundation. All rights reserved.