case Condition.SAC_PSEUDO_CLASS_CONDITION:
return ":" + c.getValue();
}
} else if (condition instanceof CombinatorCondition) {
CombinatorCondition c = (CombinatorCondition) condition;
switch (condition.getConditionType()) {
case Condition.SAC_AND_CONDITION:
return valueOf(c.getFirstCondition())
+ valueOf(c.getSecondCondition());
case Condition.SAC_OR_CONDITION:
// Unimplemented in CSS2?
}
} else if (condition instanceof ContentCondition) {
// Unimplemented in CSS2?
} else if (condition instanceof LangCondition) {
LangCondition c = (LangCondition) condition;
return ":lang(" + c.getLang() + ")";
} else if (condition instanceof NegativeCondition) {
// Unimplemented in CSS2?
} else if (condition instanceof PositionalCondition) {
// Unimplemented in CSS2?