|
|||||||||
| Home >> All >> org >> apache >> batik >> css >> engine >> [ sac overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.css.engine.sac
Class CSSConditionalSelector

java.lang.Objectorg.apache.batik.css.engine.sac.CSSConditionalSelector
- All Implemented Interfaces:
- org.w3c.css.sac.ConditionalSelector, ExtendedSelector, org.w3c.css.sac.Selector, org.w3c.css.sac.SimpleSelector
- public class CSSConditionalSelector
- extends java.lang.Object
- implements org.w3c.css.sac.ConditionalSelector, ExtendedSelector
- extends java.lang.Object
This class provides an implementation of the org.w3c.css.sac.ConditionalSelector interface.
- Version:
- $Id: CSSConditionalSelector.java,v 1.4 2004/08/18 07:12:51 vhardy Exp $
| Field Summary | |
protected org.w3c.css.sac.Condition |
condition
The condition. |
protected org.w3c.css.sac.SimpleSelector |
simpleSelector
The simple selector. |
| Constructor Summary | |
CSSConditionalSelector(org.w3c.css.sac.SimpleSelector s,
org.w3c.css.sac.Condition c)
Creates a new ConditionalSelector object. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
void |
fillAttributeSet(java.util.Set attrSet)
Fills the given set with the attribute names found in this selector. |
org.w3c.css.sac.Condition |
getCondition()
SAC: Implements ConditionalSelector.getCondition()> ConditionalSelector.getCondition() 55 . |
short |
getSelectorType()
SAC: Implements Selector.getSelectorType()> Selector.getSelectorType() 55 . |
org.w3c.css.sac.SimpleSelector |
getSimpleSelector()
SAC: Implements ConditionalSelector.getSimpleSelector()> ConditionalSelector.getSimpleSelector() 55 . |
int |
getSpecificity()
Returns the specificity of this selector. |
boolean |
match(org.w3c.dom.Element e,
java.lang.String pseudoE)
Tests whether this selector matches the given element. |
java.lang.String |
toString()
Returns a representation of the selector. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
simpleSelector
protected org.w3c.css.sac.SimpleSelector simpleSelector
- The simple selector.
condition
protected org.w3c.css.sac.Condition condition
- The condition.
| Constructor Detail |
CSSConditionalSelector
public CSSConditionalSelector(org.w3c.css.sac.SimpleSelector s, org.w3c.css.sac.Condition c)
- Creates a new ConditionalSelector object.
| Method Detail |
equals
public boolean equals(java.lang.Object obj)
- Indicates whether some other object is "equal to" this one.
getSelectorType
public short getSelectorType()
- SAC: Implements Selector.getSelectorType()>
Selector.getSelectorType()55 .- Specified by:
getSelectorTypein interfaceorg.w3c.css.sac.Selector
match
public boolean match(org.w3c.dom.Element e, java.lang.String pseudoE)
- Tests whether this selector matches the given element.
- Specified by:
matchin interfaceExtendedSelector
fillAttributeSet
public void fillAttributeSet(java.util.Set attrSet)
- Fills the given set with the attribute names found in this selector.
- Specified by:
fillAttributeSetin interfaceExtendedSelector
getSpecificity
public int getSpecificity()
- Returns the specificity of this selector.
- Specified by:
getSpecificityin interfaceExtendedSelector
getSimpleSelector
public org.w3c.css.sac.SimpleSelector getSimpleSelector()
- SAC: Implements ConditionalSelector.getSimpleSelector()>
ConditionalSelector.getSimpleSelector()55 .- Specified by:
getSimpleSelectorin interfaceorg.w3c.css.sac.ConditionalSelector
getCondition
public org.w3c.css.sac.Condition getCondition()
- SAC: Implements ConditionalSelector.getCondition()>
ConditionalSelector.getCondition()55 .- Specified by:
getConditionin interfaceorg.w3c.css.sac.ConditionalSelector
toString
public java.lang.String toString()
- Returns a representation of the selector.
|
|||||||||
| Home >> All >> org >> apache >> batik >> css >> engine >> [ sac overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.batik.css.engine.sac.CSSConditionalSelector