Class CSSChecker
java.lang.Object
org.w3c.epubcheck.core.AbstractChecker
com.adobe.epubcheck.opf.PublicationResourceChecker
com.adobe.epubcheck.css.CSSChecker
- All Implemented Interfaces:
Checker
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate intprivate final CSSChecker.Modeprivate final StringFields inherited from class AbstractChecker
context, report -
Constructor Summary
ConstructorsModifierConstructorDescriptionCSSChecker(ValidationContext context) Constructor for CSS files.privateCSSChecker(ValidationContext context, CSSChecker.Mode mode, String value, int line, boolean isStyleAttribute) Constructor for CSS strings (html style attributes and elements) .CSSChecker(ValidationContext context, String value, int line, boolean isStyleAttribute) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected boolean(package private) CssSource(package private) voidparseItem(CssSource source, CSSHandler handler) Methods inherited from class PublicationResourceChecker
check, checkPublicationAfterContent
-
Field Details
-
mode
-
value
-
line
private int line -
isStyleAttribute
private final boolean isStyleAttribute
-
-
Constructor Details
-
CSSChecker
Constructor for CSS files. -
CSSChecker
-
CSSChecker
private CSSChecker(ValidationContext context, CSSChecker.Mode mode, String value, int line, boolean isStyleAttribute) Constructor for CSS strings (html style attributes and elements) .
-
-
Method Details
-
checkPublicationBeforeContent
protected boolean checkPublicationBeforeContent()- Overrides:
checkPublicationBeforeContentin classPublicationResourceChecker
-
checkContent
protected boolean checkContent()- Overrides:
checkContentin classPublicationResourceChecker
-
getCssSource
- Throws:
IOException
-
parseItem
-