All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.css.parser.CssStyle

java.lang.Object
   |
   +----org.w3c.css.parser.CssStyle

public class CssStyle
extends Object
This class represents a class for one context


Variable Index

 o selector
The context of this style.
 o style
The entire style sheet.
 o warnings
For warnings report.

Constructor Index

 o CssStyle()

Method Index

 o addRedefinitionWarning(CssProperty)
Add a warning definition to this style.
 o findConflicts(Warnings, Enumeration)
Find conflicts in this Style
 o print(CssPrinterStyle)
Print this style.
 o setProperty(CssProperty, Warnings)
Add a property to this style
 o setSelector(CssSelectors)
Set the context of this style.
 o setStyleSheet(StyleSheet)
Set the style sheet of this style.

Variables

 o warnings
 protected Warnings warnings
For warnings report.

 o style
 protected StyleSheet style
The entire style sheet.

 o selector
 protected CssSelectors selector
The context of this style.

Constructors

 o CssStyle
 public CssStyle()

Methods

 o setSelector
 public final void setSelector(CssSelectors selectors)
Set the context of this style.

Parameters:
selectors - The context.
 o setStyleSheet
 public final void setStyleSheet(StyleSheet style)
Set the style sheet of this style.

Parameters:
style - The style sheet.
 o addRedefinitionWarning
 public final void addRedefinitionWarning(CssProperty property)
Add a warning definition to this style.

Parameters:
property - The property.
 o setProperty
 public final void setProperty(CssProperty property,
                               Warnings warnings)
Add a property to this style

Parameters:
property - the property to add
warnings - where to add warnings if required
 o print
 public void print(CssPrinterStyle printer)
Print this style. Overrides this method to create your own style.

Parameters:
printer - The printer interface.
 o findConflicts
 public void findConflicts(Warnings warnings,
                           Enumeration allSelectors)
Find conflicts in this Style

Parameters:
warnings - For warnings reports.
allSelectors - All contexts is the entire style sheet.

All Packages  Class Hierarchy  This Package  Previous  Next  Index