if (scriptSrcURL != null)
if ((scriptSrcURL != null) && !(scriptLang.equals ("javaclass") || scriptLang.equals ("xslt-javaclass")))
  protected void startupComponent (Class classObj)     throws  SAXException   {    synchronized(bsfInitSynch)    {      if(!bsfInitialized)      {        bsfInitialized = true;        com.ibm.bsf.BSFManager.registerScriptingEngine ("xslt-javaclass",                                                        "org.apache.xalan.extensions.XSLTJavaClassEngine",                                                        new String[0]);      }    }    // special case the javaclass engine - the scriptSrcURL is     // the class name to run. If it starts with class: then use the    // class object with that name instead of init'ing it as the    // target of the calls later    if(null != classObj)    {      classObject = classObj;      if (scriptSrcURL.startsWith ("class:"))       {        javaObject = classObj;      }      return;    }    else    {      if (scriptLang.equals ("javaclass") && (scriptSrcURL != null))       {        try         {          String cname = scriptSrcURL;          boolean isClass = false;          if (scriptSrcURL.startsWith ("class:"))           {            cname = scriptSrcURL.substring (6);            isClass = true;          }          classObject = Class.forName (cname);          if (isClass)           {            javaObject = classObject;          }          else          {            // We'll only do this if they haven't called a ctor.            // javaObject = classObject.newInstance ();          }          componentStarted = true;          return;        }        catch (Exception e)         {          // System.out.println("Extension error: "+e.getMessage ());          throw new SAXException (e.getMessage (), e);        }      }    }    // if scriptSrcURL is specified read it off    if (scriptSrcURL != null)     {      throw new SAXException ("src attr not supported (yet)");    }    if (scriptSrc == null)     {      return;    }        if(null == mgr)      mgr = new com.ibm.bsf.BSFManager ();    // evaluate the src to load whatever content is in that string to     // the engines    try     {      ((com.ibm.bsf.BSFManager)mgr).exec (scriptLang, "LotusXSLScript", -1, -1, scriptSrc);    }    catch (com.ibm.bsf.BSFException bsfe)     {      throw new SAXException (bsfe.getMessage (), bsfe);    }    componentStarted = true;  }