/** * Set up the transformer so that it can build a feeder Wing document and * merge it into the main document * * FIXME: Update document: - this method must be called to initialize the * framework. It must be called after the component's setup has been called * and the implementing object setup. * */ public void setupWing() throws WingException { this.wingContext = new WingContext(); this.wingContext.setLogger(this.getLogger()); this.wingContext.setComponentName(this.getComponentName()); this.wingContext.setObjectManager(this.getObjectManager()); feederDocument = this.createWingDocument(wingContext); this.stack = new Stack<WingMergeableElement>(); }