All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.css.parser.AtRuleMedia
java.lang.Object
|
+----org.w3c.css.parser.AtRule
|
+----org.w3c.css.parser.AtRuleMedia
- public class AtRuleMedia
- extends AtRule
This class manages all media defines by CSS2
-
AtRuleMedia()
-
-
addMedia(String)
- Adds a medium.
-
canApply(AtRule)
- The second must be exactly the same of this one
-
canMatched(AtRule)
- The second must only match this one
-
elements()
-
-
isEmpty()
-
-
keyword()
- Returns the at rule keyword
-
toString()
- Returns a string representation of the object.
AtRuleMedia
public AtRuleMedia()
addMedia
public AtRuleMedia addMedia(String medium) throws InvalidParamException
- Adds a medium.
- Throws: InvalidParamException
- the medium doesn't exist
keyword
public String keyword()
- Returns the at rule keyword
- Overrides:
- keyword in class AtRule
isEmpty
public boolean isEmpty()
canApply
public boolean canApply(AtRule atRule)
- The second must be exactly the same of this one
- Overrides:
- canApply in class AtRule
canMatched
public boolean canMatched(AtRule atRule)
- The second must only match this one
- Overrides:
- canMatched in class AtRule
elements
public Enumeration elements()
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index