All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.css.parser.AtRulePage
java.lang.Object
|
+----org.w3c.css.parser.AtRule
|
+----org.w3c.css.parser.AtRulePage
- public class AtRulePage
- extends AtRule
This class manages all media defines by CSS2
-
AtRulePage()
-
-
canApply(AtRule)
- The second must be exactly the same of this one
-
canMatched(AtRule)
- The second must only match this one
-
equals(Object)
- Return true if atRule is exactly the same as current
-
getIdent()
-
-
getName()
-
-
keyword()
- Returns the at rule keyword
-
setIdent(String)
-
-
setName(String)
- Sets the name of the page
name will be a pseudo name :first, :left, :right
or a random name without semi-colon at the beginning
-
toString()
- Returns a string representation of the object.
AtRulePage
public AtRulePage()
keyword
public String keyword()
- Returns the at rule keyword
- Overrides:
- keyword in class AtRule
setName
public AtRulePage setName(String name) throws InvalidParamException
- Sets the name of the page
name will be a pseudo name :first, :left, :right
or a random name without semi-colon at the beginning
setIdent
public AtRulePage setIdent(String ident)
getIdent
public String getIdent()
equals
public boolean equals(Object atRule)
- Return true if atRule is exactly the same as current
- Overrides:
- equals in class Object
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
getName
public String getName()
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