/** * Adds a feature to the Condition attribute of the Selector object * * @param c The feature to be added to the Condition attribute */ private void addCondition(Condition c) { if (conditions == null) { conditions = new java.util.ArrayList(); } if (_pe != null) { conditions.add(Condition.createUnsupportedCondition()); XRLog.match(Level.WARNING, "Trying to append conditions to pseudoElement " + _pe); } conditions.add(c); }
/** for unsupported or invalid CSS */ public void addUnsupportedCondition() { addCondition(Condition.createUnsupportedCondition()); }