public final class StylesheetOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
ajaxInsertionPoint
If true, then this stylesheet is the insertion point for Ajax operations; any added CSS links will be inserted before this link.
|
String |
condition
The Internet Explorer condition associated with the link.
|
String |
media
The media associated with this stylesheet, i.e., "print".
|
| Constructor and Description |
|---|
StylesheetOptions()
Returns a new options object with media as null (that is, unspecified), no condition, and not the Ajax insertion point.
|
StylesheetOptions(String media) |
StylesheetOptions(String media,
String condition)
Deprecated.
In 5.3, may be removed in a later release. Use
StylesheetOptions(String) and withCondition(String)} instead. |
| Modifier and Type | Method and Description |
|---|---|
StylesheetOptions |
asAjaxInsertionPoint()
Returns a new options object with the
ajaxInsertionPoint flag set to true. |
boolean |
equals(Object obj) |
String |
toString() |
StylesheetOptions |
withCondition(String condition)
Returns a new options object with the indicated Internet Explorer condition.
|
public final String media
public final String condition
public boolean ajaxInsertionPoint
<link> element's
ref attribute is wrtten out as "stylesheet ajax-insertion-point".public StylesheetOptions()
public StylesheetOptions(String media)
public StylesheetOptions(String media, String condition)
StylesheetOptions(String) and withCondition(String)} instead.public StylesheetOptions withCondition(String condition)
public StylesheetOptions asAjaxInsertionPoint()
ajaxInsertionPoint flag set to true.5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.