Package com.helger.html.hc.special
Class InlineCSSList
- java.lang.Object
-
- com.helger.html.hc.special.InlineCSSList
-
public class InlineCSSList extends Object
This is a very special list used only to group inline CSS code for correct merging. It maintains the original order and combines only those with the same media lists.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description InlineCSSList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInlineCSS(com.helger.css.media.ICSSMediaList aMediaList, CharSequence aInlineCSS)com.helger.commons.collection.impl.ICommonsList<ICSSCodeProvider>getAll()static com.helger.css.media.ICSSMediaListgetSafeCSSMediaList(com.helger.css.media.ICSSMediaList aMediaList)booleanisEmpty()booleanisNotEmpty()StringtoString()
-
-
-
Method Detail
-
getSafeCSSMediaList
@Nonnull public static com.helger.css.media.ICSSMediaList getSafeCSSMediaList(@Nullable com.helger.css.media.ICSSMediaList aMediaList)
-
addInlineCSS
public void addInlineCSS(@Nullable com.helger.css.media.ICSSMediaList aMediaList, @Nonnull CharSequence aInlineCSS)
-
isEmpty
public boolean isEmpty()
-
isNotEmpty
public boolean isNotEmpty()
-
getAll
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<ICSSCodeProvider> getAll()
-
-