/** * @param node * @param cc */ public void add(Node node, String cc) { // parse as CC CC lCC = ConstraintParser.parseComponentConstraint(ConstraintParser.prepare(cc)); // do regular add add(node, lCC); }
public static void setCc(Node node, String cc) { CC lCC = ConstraintParser.parseComponentConstraint(ConstraintParser.prepare(cc)); setCc(node, lCC); }