public BehaviourParser(IBehaviourFactoryFactory factoryFactory) {
init(factoryFactory);
}
public void init(IBehaviourFactoryFactory factoryFactory) {
syntaxErrorHandler = new DefaultSyntaxErrorHandler();
factory1 = factoryFactory.getFactory(PHASE1);
factory2 = factoryFactory.getFactory(PHASE2);
data1 = new Data(factory1);
data2 = new Data(factory2);
}