org.w3c.mwi.mobileok.basic
Class InlineCSSResource

java.lang.Object
  extended by org.w3c.mwi.mobileok.basic.InlineCSSResource
All Implemented Interfaces:
CSSResource

public final class InlineCSSResource
extends java.lang.Object
implements CSSResource

Represents CSS styles embedded in a style attribute.

The list of inline CSS styles that appear in the XHTML resource under test is built by the Preprocessor to compute the intermediate moki representation of the resource.

InlineCSSResource implements the CSSResource interface.

Version:
$Revision: 1.1 $
Author:
The W3C mobileOK Checker Task Force
See Also:
EmbeddedCSSResource, HTTPCSSResource

Constructor Summary
InlineCSSResource(java.lang.String cssStyle, java.net.URI uri, int line)
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineCSSResource

InlineCSSResource(java.lang.String cssStyle,
                  java.net.URI uri,
                  int line)
Method Detail

isValid

public boolean isValid()
Specified by:
isValid in interface CSSResource

getCSSErrorMessageList

public java.util.List<ValidationLineAndColumnMessage> getCSSErrorMessageList()
Specified by:
getCSSErrorMessageList in interface CSSResource

getCSSWarningMessageList

public java.util.List<ValidationLineAndColumnMessage> getCSSWarningMessageList()
Specified by:
getCSSWarningMessageList in interface CSSResource

getCSS

public java.lang.String getCSS()
Specified by:
getCSS in interface CSSResource

getURI

public java.net.URI getURI()
Specified by:
getURI in interface CSSResource

getExtractedCSSResources

public java.util.List<java.net.URI> getExtractedCSSResources()
Specified by:
getExtractedCSSResources in interface CSSResource

getExtractedCSSImageResources

public java.util.List<java.net.URI> getExtractedCSSImageResources()
Specified by:
getExtractedCSSImageResources in interface CSSResource

getProcessedCSS

public java.lang.String getProcessedCSS()
Specified by:
getProcessedCSS in interface CSSResource

getTotalChars

public int getTotalChars()
Specified by:
getTotalChars in interface CSSResource

getExtraneousChars

public int getExtraneousChars()
Specified by:
getExtraneousChars in interface CSSResource