public class CSSParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CSSParser.Style |
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger
create a static logger.
|
Constructor and Description |
---|
CSSParser() |
Modifier and Type | Method and Description |
---|---|
static String |
_cssInline(String html) |
static boolean |
match(XMLManipulationHelper.TagDescription[] tags,
XMLManipulationHelper.TagDescription tag,
CSSElement elem) |
static String |
mergeCSS_bk(String css,
String html) |
static String |
mergeCSS(String html,
boolean removeCSS) |
static List<CSSElement> |
parseCSS(String css) |
static List<CSSParser.Style> |
parseStyle(String style) |
protected static Logger logger
public static List<CSSParser.Style> parseStyle(String style)
public static List<CSSElement> parseCSS(String css)
public static boolean match(XMLManipulationHelper.TagDescription[] tags, XMLManipulationHelper.TagDescription tag, CSSElement elem)
public static String mergeCSS(String html, boolean removeCSS) throws XMLManipulationHelper.BadXMLException
public static String mergeCSS_bk(String css, String html) throws XMLManipulationHelper.BadXMLException
public static String _cssInline(String html) throws IOException
IOException
Copyright © 2012-2018. All Rights Reserved.