com.guiseframework.platform.web.css
Class Rule
java.lang.Object
com.guiseframework.platform.web.css.Rule
public class Rule
- extends java.lang.Object
A CSS rule, consisting of one or more selectors and a declaration.
- Author:
- Garret Wilson
|
Constructor Summary |
Rule(Selector... selectors)
Selectors constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Rule
public Rule(Selector... selectors)
- Selectors constructor.
- Parameters:
selectors - any selectors to add to the rule.
getSelectors
public java.util.List<Selector> getSelectors()
- Returns:
- The list of selectors.
getDeclarations
public java.util.List<com.globalmentor.model.NameValuePair<java.lang.String,java.lang.String>> getDeclarations()
- Returns:
- The list of declarations.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- Returns:
- A string representation of this object.
Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.