Class function;
String className = m_funcName; if (className.indexOf(".") < 0) { className = "org.apache.xpath.functions." + className; }
  public Function getFunction() throws javax.xml.transform.TransformerException  {    try    {      Class function;      // first get package name if necessary      if (m_funcName.indexOf(".") < 0)      {        // String thisName = this.getClass().getName();        // int lastdot = thisName.lastIndexOf(".");        // String classname = thisName.substring(0,lastdot+1) + m_funcName;         String classname = "org.apache.xpath.functions." + m_funcName;        function = Class.forName(classname);      }      else        function = Class.forName(m_funcName);      Function func = (Function) function.newInstance();      return func;    }    catch (ClassNotFoundException e)    {      throw new javax.xml.transform.TransformerException(e);    }    catch (IllegalAccessException e)    {      throw new javax.xml.transform.TransformerException(e);    }    catch (InstantiationException e)    {      throw new javax.xml.transform.TransformerException(e);    }  }