public final class StylesheetLink extends Object
Document, or
as part of a JSON partial page render response.DocumentLinker,
JavaScriptStack| Constructor and Description |
|---|
StylesheetLink(Asset asset) |
StylesheetLink(Asset asset,
StylesheetOptions options) |
StylesheetLink(String url) |
StylesheetLink(String url,
StylesheetOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Element container)
Invoked to add the stylesheet link to a container element.
|
boolean |
equals(Object obj) |
StylesheetOptions |
getOptions()
Returns an instance of
StylesheetOptions. |
String |
getURL() |
String |
toString() |
public StylesheetLink(Asset asset)
public StylesheetLink(Asset asset, StylesheetOptions options)
public StylesheetLink(String url)
public StylesheetLink(String url, StylesheetOptions options)
public StylesheetOptions getOptions()
StylesheetOptions. Never returns null (a blank options
object is returned if null is passed to the constructor).public void add(Element container)
container - to add the new element to5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.