Uses of Class
com.helger.css.decl.CascadingStyleSheet
Packages that use CascadingStyleSheet
Package
Description
-
Uses of CascadingStyleSheet in com.helger.css.decl
Methods in com.helger.css.decl that return CascadingStyleSheetModifier and TypeMethodDescriptionCascadingStyleSheet.addImportRule(int nIndex, CSSImportRule aImportRule) Add a new@importrule at a specified index of the@importrule list.CascadingStyleSheet.addImportRule(CSSImportRule aImportRule) Add a new@importrule at the end of the@importrule list.CascadingStyleSheet.addNamespaceRule(int nIndex, CSSNamespaceRule aNamespaceRule) Add a new@namespacerule at the specified index of the@namespacerule list.CascadingStyleSheet.addNamespaceRule(CSSNamespaceRule aNamespaceRule) Add a new@namespacerule at the end of the@namespacerule list. -
Uses of CascadingStyleSheet in com.helger.css.decl.visit
Methods in com.helger.css.decl.visit with parameters of type CascadingStyleSheetModifier and TypeMethodDescriptionstatic voidCSSVisitor.visitCSS(CascadingStyleSheet aCSS, ICSSVisitor aVisitor) Visit all CSS elements in the order of their declaration. import rules come first, namespace rules come next and all other top-level rules in the order of their declaration.static voidCSSVisitor.visitCSSUrl(CascadingStyleSheet aCSS, ICSSUrlVisitor aVisitor) Visit all items that can contain URLs in CSS files. -
Uses of CascadingStyleSheet in com.helger.css.handler
Methods in com.helger.css.handler that return CascadingStyleSheetModifier and TypeMethodDescriptionstatic CascadingStyleSheetCSSHandler.readCascadingStyleSheetFromNode(ECSSVersion eVersion, CSSNode aNode) Deprecated.static CascadingStyleSheetCSSHandler.readCascadingStyleSheetFromNode(ECSSVersion eVersion, CSSNode aNode, ICSSInterpretErrorHandler aErrorHandler) static CascadingStyleSheetCSSHandler.readCascadingStyleSheetFromNode(ECSSVersion eVersion, ICSSInterpretErrorHandler aErrorHandler, boolean bUseSourceLocation, CSSNode aNode) Create aCascadingStyleSheetobject from a parsed object. -
Uses of CascadingStyleSheet in com.helger.css.reader
Methods in com.helger.css.reader that return CascadingStyleSheetModifier and TypeMethodDescriptionstatic CascadingStyleSheetCSSReader.readFromFile(File aFile, CSSReaderSettings aSettings) Read the CSS from the passed File.static CascadingStyleSheetCSSReader.readFromFile(File aFile, Charset aFallbackCharset, ECSSVersion eVersion) Read the CSS from the passed File.static CascadingStyleSheetCSSReader.readFromFile(File aFile, Charset aFallbackCharset, ECSSVersion eVersion, ICSSParseExceptionCallback aCustomExceptionHandler) Read the CSS from the passed File.static CascadingStyleSheetCSSReader.readFromFile(File aFile, Charset aFallbackCharset, ECSSVersion eVersion, ICSSParseErrorHandler aCustomErrorHandler) Read the CSS from the passed File.static CascadingStyleSheetCSSReader.readFromFile(File aFile, Charset aFallbackCharset, ECSSVersion eVersion, ICSSParseErrorHandler aCustomErrorHandler, ICSSParseExceptionCallback aCustomExceptionHandler) Read the CSS from the passed File.static CascadingStyleSheetCSSReader.readFromReader(com.helger.commons.io.IHasReader aRP, ECSSVersion eVersion, ICSSParseErrorHandler aCustomErrorHandler, ICSSParseExceptionCallback aCustomExceptionHandler) Read the CSS from the passedIHasReader.static CascadingStyleSheetCSSReader.readFromReader(com.helger.commons.io.IHasReader aRP, CSSReaderSettings aSettings) Read the CSS from the passedIHasReader.static CascadingStyleSheetCSSReader.readFromStream(com.helger.commons.io.IHasInputStream aISP, CSSReaderSettings aSettings) Read the CSS from the passedIHasInputStream.static CascadingStyleSheetCSSReader.readFromStream(com.helger.commons.io.IHasInputStream aISP, Charset aFallbackCharset, ECSSVersion eVersion) Read the CSS from the passedIHasInputStream.static CascadingStyleSheetCSSReader.readFromStream(com.helger.commons.io.IHasInputStream aISP, Charset aFallbackCharset, ECSSVersion eVersion, ICSSParseExceptionCallback aCustomExceptionHandler) Read the CSS from the passedIHasInputStream.static CascadingStyleSheetCSSReader.readFromStream(com.helger.commons.io.IHasInputStream aISP, Charset aFallbackCharset, ECSSVersion eVersion, ICSSParseErrorHandler aCustomErrorHandler) Read the CSS from the passedIHasInputStream.static CascadingStyleSheetCSSReader.readFromStream(com.helger.commons.io.IHasInputStream aISP, Charset aFallbackCharset, ECSSVersion eVersion, ICSSParseErrorHandler aCustomErrorHandler, ICSSParseExceptionCallback aCustomExceptionHandler) Read the CSS from the passedIHasInputStream.static CascadingStyleSheetCSSReader.readFromString(String sCSS, ECSSVersion eVersion) Read the CSS from the passed String using a character stream.static CascadingStyleSheetCSSReader.readFromString(String sCSS, ECSSVersion eVersion, ICSSParseExceptionCallback aCustomExceptionHandler) Read the CSS from the passed String using a character stream.static CascadingStyleSheetCSSReader.readFromString(String sCSS, ECSSVersion eVersion, ICSSParseErrorHandler aCustomErrorHandler) Read the CSS from the passed String using a character stream.static CascadingStyleSheetCSSReader.readFromString(String sCSS, ECSSVersion eVersion, ICSSParseErrorHandler aCustomErrorHandler, ICSSParseExceptionCallback aCustomExceptionHandler) Read the CSS from the passed String using a character stream.static CascadingStyleSheetCSSReader.readFromString(String sCSS, Charset aFallbackCharset, ECSSVersion eVersion) Read the CSS from the passed String using a byte stream.static CascadingStyleSheetCSSReader.readFromString(String sCSS, Charset aFallbackCharset, ECSSVersion eVersion, ICSSParseExceptionCallback aCustomExceptionHandler) Read the CSS from the passed String using a byte stream.static CascadingStyleSheetCSSReader.readFromString(String sCSS, Charset aFallbackCharset, ECSSVersion eVersion, ICSSParseErrorHandler aCustomErrorHandler) Read the CSS from the passed String using a byte stream.static CascadingStyleSheetCSSReader.readFromString(String sCSS, Charset aFallbackCharset, ECSSVersion eVersion, ICSSParseErrorHandler aCustomErrorHandler, ICSSParseExceptionCallback aCustomExceptionHandler) Read the CSS from the passed String using a byte stream.static CascadingStyleSheetCSSReader.readFromStringReader(String sCSS, CSSReaderSettings aSettings) Read the CSS from the passed String using a character stream.static CascadingStyleSheetCSSReader.readFromStringStream(String sCSS, CSSReaderSettings aSettings) Read the CSS from the passed String using a byte stream. -
Uses of CascadingStyleSheet in com.helger.css.tools
Methods in com.helger.css.tools that return CascadingStyleSheetModifier and TypeMethodDescriptionstatic CascadingStyleSheetMediaQueryTools.getWrappedInMediaQuery(CascadingStyleSheet aCSS, CSSMediaQuery aMediaQuery, boolean bAllowNestedMediaQueries) Get the CSS wrapped in the specified media query.static CascadingStyleSheetMediaQueryTools.getWrappedInMediaQuery(CascadingStyleSheet aCSS, Iterable<? extends CSSMediaQuery> aMediaQueries, boolean bAllowNestedMediaQueries) Get the CSS wrapped in the specified media query.Methods in com.helger.css.tools with parameters of type CascadingStyleSheetModifier and TypeMethodDescriptionstatic booleanMediaQueryTools.canWrapInMediaQuery(CascadingStyleSheet aCSS, boolean bAllowNestedMediaQueries) Check if the passed CSS can be wrapped in an external media rule.static CascadingStyleSheetMediaQueryTools.getWrappedInMediaQuery(CascadingStyleSheet aCSS, CSSMediaQuery aMediaQuery, boolean bAllowNestedMediaQueries) Get the CSS wrapped in the specified media query.static CascadingStyleSheetMediaQueryTools.getWrappedInMediaQuery(CascadingStyleSheet aCSS, Iterable<? extends CSSMediaQuery> aMediaQueries, boolean bAllowNestedMediaQueries) Get the CSS wrapped in the specified media query. -
Uses of CascadingStyleSheet in com.helger.css.writer
Methods in com.helger.css.writer with parameters of type CascadingStyleSheetModifier and TypeMethodDescriptionCSSWriter.getCSSAsString(CascadingStyleSheet aCSS) Create the CSS without a specific charset.voidCSSWriter.writeCSS(CascadingStyleSheet aCSS, Writer aWriter) Write the CSS content to the passed writer.
CSSHandler.readCascadingStyleSheetFromNode(ECSSVersion, ICSSInterpretErrorHandler, boolean, CSSNode)instead