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 obj) |
CharSequence |
getCss() |
String |
getId() |
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, internalRenderCSSReferencegetDependencies, 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 String getId()
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.Copyright © 2006–2014 Apache Software Foundation. All rights reserved.