// add a rule to parse scene colorizations
_digester.addRule("scene/zations/zation", new Rule() {
@Override
public void begin (String namespace, String name,
Attributes attrs) throws Exception {
StageSceneModel yoscene = (StageSceneModel) digester.peek();
int classId = Integer.parseInt(attrs.getValue("classId"));
int colorId = Integer.parseInt(attrs.getValue("colorId"));
yoscene.setDefaultColor(classId, colorId);
}
});
// add rule sets for our aux scene models
registerAuxRuleSet(new SpotSceneRuleSet() {