/**
  * This after the template's children have been composed. We have to get the count of how many
  * variables have been declared, so we can do a link and unlink.
  */
 public void endCompose(StylesheetRoot sroot) throws TransformerException {
   super.endCompose(sroot);
   if (m_parentNode instanceof Stylesheet) {
     StylesheetRoot.ComposeState cstate = sroot.getComposeState();
     m_frameSize = cstate.getFrameSize();
     cstate.resetStackFrameSize();
   }
 }
Пример #2
0
  /** This after the template's children have been composed. */
  public void endCompose(StylesheetRoot sroot) throws TransformerException {
    int length = getSortElemCount();

    for (int i = 0; i < length; i++) {
      getSortElem(i).endCompose(sroot);
    }

    super.endCompose(sroot);
  }