org.w3c.mwi.mobileok.basic
Class EmbeddedCSSResource
java.lang.Object
org.w3c.mwi.mobileok.basic.EmbeddedCSSResource
- All Implemented Interfaces:
- CSSResource
public final class EmbeddedCSSResource
- extends java.lang.Object
- implements CSSResource
Represents CSS styles embedded in a style element
The list of embedded CSS styles that appear in the XHTML resource under
test is built by the Preprocessor to compute the intermediate moki
representation of the resource.
EmbeddedCSSResource implements the CSSResource interface.
- Version:
- $Revision: 1.1 $
- Author:
- The W3C mobileOK Checker Task Force
- See Also:
InlineCSSResource,
HTTPCSSResource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedCSSResource
EmbeddedCSSResource(java.lang.String cssStyle,
java.net.URI uri)
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