Package io.sf.carte.doc.style.css.om
Class MediaFactory
java.lang.Object
io.sf.carte.doc.style.css.om.MediaFactory
Static factory that creates media query lists for all media, mutable and
immutable.
Using these methods is a bit faster than going through the style sheet factory and parsing a query for "all".
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MediaQueryList
Create a media query list for all media.static MediaQueryList
Create an unmodifiable media query list for all media.
-
Constructor Details
-
MediaFactory
public MediaFactory()
-
-
Method Details
-
createAllMedia
Create a media query list for all media.- Returns:
- a media query list for all media.
-
createImmutable
Create an unmodifiable media query list for all media.- Returns:
- a media query list for all media, unmodifiable.
-