⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _default__xsl.java

📁 JSP聊天系统
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
    out.setAttribute("class", _xsl_str1);
    String _xsl_str2 = "0";
    out.setAttribute("cellspacing", _xsl_str2);
    String _xsl_str3 = "2";
    out.setAttribute("cellpadding", _xsl_str3);
    String _xsl_str4 = "90%";
    out.setAttribute("width", _xsl_str4);
    if (_exprs[2].evalBoolean(node, env)) {
      out.setLocation("caucho/newstyle.xsl", 127);
      out.pushElement("caption");
      out.setLocation("caucho/newstyle.xsl", 127);
      out.pushElement("font");
      String _xsl_str5 = "+1";
      out.setAttribute("size", _xsl_str5);
      if (node instanceof Element)
        out.print(((Element) node).getAttribute("title"));
      out.popElement();
      out.popElement();
    }
    {
      Env _xsl_arg1 = XPath.createCall(env);
      _xsl_arg1.setSelect(node, null);
      for (Node _xsl_node = node.getFirstChild();
           _xsl_node != null;
           _xsl_node = _xsl_node.getNextSibling()) {
        _xsl_arg1.setCurrentNode(_xsl_node);
        applyNode(out, _xsl_node, _xsl_arg1, 0, 2147483647);
      }
    }
    out.popElement();
    out.disableEscaping(oldEscaping);
  }
  
  // 'table/tr|deftable/tr'
  private void _xsl_template_11(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    out.setLocation("caucho/newstyle.xsl", 134);
    out.pushElement("tr");
    {
      Env _xsl_arg1 = XPath.createCall(env);
      _xsl_arg1.setSelect(node, _select_patterns[3]);
      Iterator _xsl_iter0 = _select_patterns[3].select(node, env);
      while (_xsl_iter0.hasNext()) {
        Node _xsl_ptr1 = (Node) _xsl_iter0.next();
        _xsl_arg1.setCurrentNode(_xsl_ptr1);
        applyNode(out, _xsl_ptr1, _xsl_arg1, 0, 2147483647);
      }
    }
    out.popElement();
    out.disableEscaping(oldEscaping);
  }
  
  // 'tr/th|tr/td'
  private void _xsl_template_12(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    out.pushCopy(node);
    {
      Env _xsl_arg1 = XPath.createCall(env);
      _xsl_arg1.setSelect(node, _select_patterns[3]);
      Iterator _xsl_iter0 = _select_patterns[3].select(node, env);
      while (_xsl_iter0.hasNext()) {
        Node _xsl_ptr1 = (Node) _xsl_iter0.next();
        _xsl_arg1.setCurrentNode(_xsl_ptr1);
        applyNode(out, _xsl_ptr1, _xsl_arg1, 0, 2147483647);
      }
    }
    out.popCopy(node);
    out.disableEscaping(oldEscaping);
  }
  
  // 'table/caption'
  private void _xsl_template_13(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    out.pushCopy(node);
    {
      Env _xsl_arg1 = XPath.createCall(env);
      _xsl_arg1.setSelect(node, _select_patterns[3]);
      Iterator _xsl_iter0 = _select_patterns[3].select(node, env);
      while (_xsl_iter0.hasNext()) {
        Node _xsl_ptr1 = (Node) _xsl_iter0.next();
        _xsl_arg1.setCurrentNode(_xsl_ptr1);
        applyNode(out, _xsl_ptr1, _xsl_arg1, 0, 2147483647);
      }
    }
    out.popCopy(node);
    out.disableEscaping(oldEscaping);
  }
  
  // 'ul'
  private void _xsl_template_14(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    out.setLocation("caucho/newstyle.xsl", 159);
    out.pushElement("ul");
    {
      Env _xsl_arg1 = XPath.createCall(env);
      _xsl_arg1.setSelect(node, _select_patterns[4]);
      for (Node _xsl_ptr0 = node.getFirstChild();
           _xsl_ptr0 != null;
           _xsl_ptr0 = _xsl_ptr0.getNextSibling()) {
        if (_xsl_ptr0.getNodeName() == "li" &&
            _xsl_ptr0 instanceof Element) {
          _xsl_arg1.setCurrentNode(_xsl_ptr0);
          applyNode(out, _xsl_ptr0, _xsl_arg1, 0, 2147483647);
        }
      }
    }
    out.popElement();
    out.disableEscaping(oldEscaping);
  }
  
  // 'ol'
  private void _xsl_template_15(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    out.setLocation("caucho/newstyle.xsl", 168);
    out.pushElement("ol");
    {
      Env _xsl_arg1 = XPath.createCall(env);
      _xsl_arg1.setSelect(node, _select_patterns[4]);
      for (Node _xsl_ptr0 = node.getFirstChild();
           _xsl_ptr0 != null;
           _xsl_ptr0 = _xsl_ptr0.getNextSibling()) {
        if (_xsl_ptr0.getNodeName() == "li" &&
            _xsl_ptr0 instanceof Element) {
          _xsl_arg1.setCurrentNode(_xsl_ptr0);
          applyNode(out, _xsl_ptr0, _xsl_arg1, 0, 2147483647);
        }
      }
    }
    out.popElement();
    out.disableEscaping(oldEscaping);
  }
  
  // 'ul/li|ol/li'
  private void _xsl_template_16(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    out.setLocation("caucho/newstyle.xsl", 177);
    out.pushElement("li");
    {
      Env _xsl_arg1 = XPath.createCall(env);
      _xsl_arg1.setSelect(node, _select_patterns[2]);
      for (Node _xsl_ptr0 = node.getFirstChild();
           _xsl_ptr0 != null;
           _xsl_ptr0 = _xsl_ptr0.getNextSibling()) {
        _xsl_arg1.setCurrentNode(_xsl_ptr0);
        applyNode(out, _xsl_ptr0, _xsl_arg1, 0, 2147483647);
      }
    }
    out.popElement();
    out.disableEscaping(oldEscaping);
  }
  
  // 'dl'
  private void _xsl_template_17(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    out.setLocation("caucho/newstyle.xsl", 186);
    out.pushElement("dl");
    {
      com.caucho.xpath.pattern.AbstractPattern _xsl_sel0;
      _xsl_sel0 = _select_patterns[5];
      Node _xsl_cxt0 = env.getContextNode();
      Node _xsl_cur0 = env.getCurrentNode();
      NodeIterator _xsl_iter1 = _xsl_sel0.select(node, env);
      ExprEnvironment _xsl_env0 = env.setExprEnv(_xsl_iter1);
      while (_xsl_iter1.hasNext()) {
        Node node1 = node;
        node = _xsl_iter1.nextNode();
        env.setCurrentNode(node);
        out.pushCopy(node);
        {
          Env _xsl_arg1 = XPath.createCall(env);
          _xsl_arg1.setSelect(node, null);
          for (Node _xsl_node = node.getFirstChild();
               _xsl_node != null;
               _xsl_node = _xsl_node.getNextSibling()) {
            _xsl_arg1.setCurrentNode(_xsl_node);
            applyNode(out, _xsl_node, _xsl_arg1, 0, 2147483647);
          }
        }
        out.popCopy(node);
        node = node1;
        env.setCurrentNode(_xsl_cur0);
      }
      env.setExprEnv(_xsl_env0);
    }
    out.popElement();
    out.disableEscaping(oldEscaping);
  }
  
  // 'figure'
  private void _xsl_template_18(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    out.setLocation("caucho/newstyle.xsl", 203);
    out.pushElement("center");
       String name = ((Element) node).getAttribute("src");   PageContext page = (PageContext) out.getProperty("caucho.page.context");   ServletContext cxt = page.getServletContext();   String realPath = cxt.getRealPath("/images/" + name);   com.caucho.graphics.Images img = null;   // img = com.caucho.graphics.Images.getImage(realPath);   out.pushElement("img");   out.setAttribute("src", top + "images/" + name);   if (img != null) {     out.setAttribute("width", String.valueOf(img.getWidth()));     out.setAttribute("height", String.valueOf(img.getHeight()));   }   out.popElement();  
    out.popElement();
    out.disableEscaping(oldEscaping);
  }
  
  // 'example'
  private void _xsl_template_19(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    if (_exprs[3].evalBoolean(node, env)) {
      out.setLocation("caucho/newstyle.xsl", 229);
      out.pushElement("p");
      out.popElement();
    }
    out.setLocation("caucho/newstyle.xsl", 229);
    out.pushElement("table");
    String _xsl_str0 = "90%";
    out.setAttribute("width", _xsl_str0);
    String _xsl_str1 = "0";
    out.setAttribute("cellspacing", _xsl_str1);
    String _xsl_str2 = "egpad";
    out.setAttribute("class", _xsl_str2);
    if (_exprs[2].evalBoolean(node, env)) {
      out.setLocation("caucho/newstyle.xsl", 233);
      out.pushElement("caption");
      out.setLocation("caucho/newstyle.xsl", 233);
      out.pushElement("font");
      String _xsl_str3 = "+1";
      out.setAttribute("size", _xsl_str3);
      if (node instanceof Element)
        out.print(((Element) node).getAttribute("title"));
      out.popElement();
      out.popElement();
    }
    out.setLocation("caucho/newstyle.xsl", 234);
    out.pushElement("tr");
    out.setLocation("caucho/newstyle.xsl", 234);
    out.pushElement("td");
    String _xsl_str4 = "#ffeecc";
    out.setAttribute("bgcolor", _xsl_str4);
    String _xsl_str5 = "example";
    out.setAttribute("class", _xsl_str5);
    out.setLocation("caucho/newstyle.xsl", 234);
    out.pushElement("pre");
    {
      Env _xsl_arg1 = XPath.createCall(env);
      _xsl_arg1.setSelect(node, null);
      for (Node _xsl_node = node.getFirstChild();
           _xsl_node != null;
           _xsl_node = _xsl_node.getNextSibling()) {
        _xsl_arg1.setCurrentNode(_xsl_node);
        applyNode(out, _xsl_node, _xsl_arg1, 0, 2147483647);
      }
    }
    out.popElement();
    out.popElement();
    out.popElement();
    out.popElement();
    out.disableEscaping(oldEscaping);
  }
  
  // 'results'
  private void _xsl_template_20(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    if (_exprs[3].evalBoolean(node, env)) {
      out.setLocation("caucho/newstyle.xsl", 247);
      out.pushElement("p");
      out.popElement();
    }
    out.setLocation("caucho/newstyle.xsl", 247);
    out.pushElement("table");
    String _xsl_str0 = "90%";
    out.setAttribute("width", _xsl_str0);
    String _xsl_str1 = "0";
    out.setAttribute("cellspacing", _xsl_str1);
    String _xsl_str2 = "egpad";
    out.setAttribute("class", _xsl_str2);
    if (_exprs[2].evalBoolean(node, env)) {
      out.setLocation("caucho/newstyle.xsl", 251);
      out.pushElement("caption");
      out.setLocation("caucho/newstyle.xsl", 251);
      out.pushElement("font");
      String _xsl_str3 = "+1";
      out.setAttribute("size", _xsl_str3);
      if (node instanceof Element)
        out.print(((Element) node).getAttribute("title"));
      out.popElement();
      out.popElement();
    }
    out.setLocation("caucho/newstyle.xsl", 252);
    out.pushElement("tr");
    out.setLocation("caucho/newstyle.xsl", 252);
    out.pushElement("td");
    String _xsl_str4 = "#ffccdd";
    out.setAttribute("bgcolor", _xsl_str4);
    String _xsl_str5 = "result";
    out.setAttribute("class", _xsl_str5);
    out.setLocation("caucho/newstyle.xsl", 252);
    out.pushElement("pre");
    {
      Env _xsl_arg1 = XPath.createCall(env);
      _xsl_arg1.setSelect(node, null);
      for (Node _xsl_node = node.getFirstChild();
           _xsl_node != null;
           _xsl_node = _xsl_node.getNextSibling()) {
        _xsl_arg1.setCurrentNode(_xsl_node);
        applyNode(out, _xsl_node, _xsl_arg1, 0, 2147483647);
      }
    }
    out.popElement();
    out.popElement();
    out.popElement();
    out.popElement();
    out.disableEscaping(oldEscaping);
  }
  
  // 'def'
  private void _xsl_template_21(XslWriter out, Node inputNode, Env env)
    throws Exception
  {
    Object _xsl_tmp;
    Node node = inputNode;
    boolean oldEscaping = out.disableEscaping(true);
    env.setStylesheetEnv(stylesheets[1]);
    if (_exprs[3].evalBoolean(node, env)) {
      out.setLocation("caucho/newstyle.xsl", 265);
      out.pushElement("p");
      out.popElement();
    }
    out.setLocation("caucho/newstyle.xsl", 265);
    out.pushElement("table");
    String _xsl_str0 = "90%";
    out.setAttribute("width", _xsl_str0);
    String _xsl_str1 = "0";
    out.setAttribute("cellspacing", _xsl_str1);
    String _xsl_str2 = "egpad";
    out.setAttribute("class", _xsl_str2);
    if (_exprs[2].evalBoolean(node, env)) {
      out.setLocation("caucho/newstyle.xsl", 269);
      out.pushElement("caption");
      out.setLocation("caucho/newstyle.xsl", 269);
      out.pushElement("font");
      String _xsl_str3 = "+1";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -