+ SpeedoInheritance.strategy2str(sc.inheritance.strategy));
}
return sc.inheritance;
}
private Object treatDiscriminator(Node node, Object mo) throws SpeedoException {
SpeedoInheritance si = (SpeedoInheritance) mo;
si.discriminator = new SpeedoDiscriminator();
Node n = node.getAttributes().getNamedItem("strategy");
if (n == null) {
si.discriminator.strategy =
SpeedoDiscriminator.parseStrategy(n.getNodeValue());