org.w3c.mwi.mobileok.basic
Interface CSSResource

All Known Implementing Classes:
EmbeddedCSSResource, HTTPCSSResource, InlineCSSResource

public interface CSSResource

Interface that must be implemented by any class that represents CSS styles.

CSS styles may appear in different forms in a Web resource:

The CSSResource interface provides a common abstract representation of CSS styles, which will be used by the mobileOK Checker to build the intermediate moki representation.

Version:
$Revision: 1.1 $
Author:
The W3C mobileOK Checker Task Force

Method Summary
 java.lang.String getCSS()
           
 java.util.List<ValidationLineAndColumnMessage> getCSSErrorMessageList()
           
 java.util.List<ValidationLineAndColumnMessage> getCSSWarningMessageList()
           
 java.util.List<java.net.URI> getExtractedCSSImageResources()
           
 java.util.List<java.net.URI> getExtractedCSSResources()
           
 int getExtraneousChars()
           
 java.lang.String getProcessedCSS()
           
 int getTotalChars()
           
 java.net.URI getURI()
           
 boolean isValid()
           
 

Method Detail

isValid

boolean isValid()

getCSSErrorMessageList

java.util.List<ValidationLineAndColumnMessage> getCSSErrorMessageList()

getCSSWarningMessageList

java.util.List<ValidationLineAndColumnMessage> getCSSWarningMessageList()

getURI

java.net.URI getURI()

getCSS

java.lang.String getCSS()

getExtractedCSSResources

java.util.List<java.net.URI> getExtractedCSSResources()

getExtractedCSSImageResources

java.util.List<java.net.URI> getExtractedCSSImageResources()

getProcessedCSS

java.lang.String getProcessedCSS()

getTotalChars

int getTotalChars()

getExtraneousChars

int getExtraneousChars()