@Immutable public final class CSSHandler extends Object
| Modifier and Type | Method and Description |
|---|---|
static CascadingStyleSheet |
readCascadingStyleSheetFromNode(ECSSVersion eVersion,
CSSNode aNode)
Create a
CascadingStyleSheet object from a parsed object. |
static CSSDeclarationList |
readDeclarationListFromNode(ECSSVersion eVersion,
CSSNode aNode)
Create a
CSSDeclarationList object from a parsed object. |
@Nonnull public static CascadingStyleSheet readCascadingStyleSheetFromNode(@Nonnull ECSSVersion eVersion, @Nonnull CSSNode aNode)
CascadingStyleSheet object from a parsed object.eVersion - The CSS version to use. May not be null.aNode - The parsed CSS object to read. May not be null.null.@Nonnull public static CSSDeclarationList readDeclarationListFromNode(@Nonnull ECSSVersion eVersion, @Nonnull CSSNode aNode)
CSSDeclarationList object from a parsed object.eVersion - The CSS version to use. May not be null.aNode - The parsed CSS object to read. May not be null.null.Copyright © 2014–2016 Philip Helger. All rights reserved.