@Immutable public final class CSSHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_USE_SOURCE_LOCATION |
public static final boolean DEFAULT_USE_SOURCE_LOCATION
@Nonnull @Deprecated public static CascadingStyleSheet readCascadingStyleSheetFromNode(@Nonnull ECSSVersion eVersion, @Nonnull CSSNode aNode)
readCascadingStyleSheetFromNode(ECSSVersion, ICSSInterpretErrorHandler, boolean, CSSNode)
insteadCascadingStyleSheet 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 @Deprecated public static CascadingStyleSheet readCascadingStyleSheetFromNode(@Nonnull ECSSVersion eVersion, @Nonnull CSSNode aNode, @Nonnull ICSSInterpretErrorHandler aErrorHandler)
readCascadingStyleSheetFromNode(ECSSVersion, ICSSInterpretErrorHandler, boolean, CSSNode)
insteadCascadingStyleSheet 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.aErrorHandler - The error handler to be used. May not be null.null.@Nonnull public static CascadingStyleSheet readCascadingStyleSheetFromNode(@Nonnull ECSSVersion eVersion, @Nonnull ICSSInterpretErrorHandler aErrorHandler, boolean bUseSourceLocation, @Nonnull CSSNode aNode)
CascadingStyleSheet object from a parsed object.eVersion - The CSS version to use. May not be null.aErrorHandler - The error handler to be used. May not be null.bUseSourceLocation - true to keep the source location, false to
ignore the source location. Disabling the source location may be a
performance improvement.aNode - The parsed CSS object to read. May not be null.null.@Nonnull @Deprecated public static CSSDeclarationList readDeclarationListFromNode(@Nonnull ECSSVersion eVersion, @Nonnull CSSNode aNode)
readDeclarationListFromNode(ECSSVersion, ICSSInterpretErrorHandler, boolean, CSSNode)
insteadCSSDeclarationList 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.@Deprecated @Nonnull public static CSSDeclarationList readDeclarationListFromNode(@Nonnull ECSSVersion eVersion, @Nonnull CSSNode aNode, @Nonnull ICSSInterpretErrorHandler aErrorHandler)
readDeclarationListFromNode(ECSSVersion, ICSSInterpretErrorHandler, boolean, CSSNode)
insteadCSSDeclarationList 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.aErrorHandler - The error handler to be used. May not be null.null.@Nonnull public static CSSDeclarationList readDeclarationListFromNode(@Nonnull ECSSVersion eVersion, @Nonnull ICSSInterpretErrorHandler aErrorHandler, boolean bUseSourceLocation, @Nonnull CSSNode aNode)
CSSDeclarationList object from a parsed object.eVersion - The CSS version to use. May not be null.aErrorHandler - The error handler to be used. May not be null.bUseSourceLocation - true to keep the source location, false to
ignore the source location. Disabling the source location may be a
performance improvement.aNode - The parsed CSS object to read. May not be null.null.Copyright © 2014–2022 Philip Helger. All rights reserved.