📄 _default__xsl.java
字号:
out.setAttribute("size", _xsl_str3);
if (node instanceof Element)
out.print(((Element) node).getAttribute("title"));
out.popElement();
out.popElement();
}
out.setLocation("caucho/newstyle.xsl", 270);
out.pushElement("tr");
out.setLocation("caucho/newstyle.xsl", 270);
out.pushElement("td");
String _xsl_str4 = "#cccccc";
out.setAttribute("bgcolor", _xsl_str4);
String _xsl_str5 = "def";
out.setAttribute("class", _xsl_str5);
out.setLocation("caucho/newstyle.xsl", 270);
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);
}
// 'center'
private void _xsl_template_22(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);
}
String href(String name){ if (name == null) return null; CharBuffer cb = CharBuffer.allocate(); for (int i = 0; i < name.length(); i++) { char ch = name.charAt(i); if (Character.isWhitespace(ch)) cb.append("_"); else cb.append(ch); } return cb.close();}void writeSummaryName(XslWriter out, Node node) throws IOException, SAXException{ Element elt = (Element) node; String name = elt.getAttribute("name"); String title = elt.getAttribute("title"); if (name.equals("")) name = title; if (title.equals("")) title = name; int p1 = title.indexOf('('); int p2 = title.lastIndexOf(')'); String head = null; String tail = null; if (p1 < 0 || p1 < 0) { if (name.equals("")) name = elt.getAttribute("title"); out.pushElement("a"); out.setAttribute("href", "#" + href(name)); out.print(title); out.popElement(); } else if (p1 == 0) { out.pushElement("a"); out.setAttribute("href", "#" + href(name)); out.print(title.substring(p1 + 1, p2)); out.popElement(); } else { out.pushElement("a"); out.setAttribute("href", "#" + href(name)); out.print(title.substring(0, p1)); out.popElement(); out.print(title.substring(p1)); }}void writeSummary(XslWriter out, Node node) throws IOException, SAXException{}
// 'node()' mode 'objsummary'
private void _xsl_template_23(XslWriter out, Node inputNode, Env env)
throws Exception
{
Object _xsl_tmp;
Node node = inputNode;
boolean oldEscaping = out.disableEscaping(true);
env.setStylesheetEnv(stylesheets[1]);
out.disableEscaping(oldEscaping);
}
// 'node()' mode 'defunsummary'
private void _xsl_template_24(XslWriter out, Node inputNode, Env env)
throws Exception
{
Object _xsl_tmp;
Node node = inputNode;
boolean oldEscaping = out.disableEscaping(true);
env.setStylesheetEnv(stylesheets[1]);
out.disableEscaping(oldEscaping);
}
// 'defun' mode 'objsummary'
private void _xsl_template_25(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", 360);
out.pushElement("tr");
out.setLocation("caucho/newstyle.xsl", 360);
out.pushElement("td");
String _xsl_str0 = "40%";
out.setAttribute("width", _xsl_str0);
String _xsl_str1 = "code";
out.setAttribute("class", _xsl_str1);
writeSummaryName(out, node);
out.popElement();
out.setLocation("caucho/newstyle.xsl", 362);
out.pushElement("td");
out.valueOf(_exprs[4].evalObject(node, env));
out.popElement();
out.popElement();
out.disableEscaping(oldEscaping);
}
// 'objsummary'
private void _xsl_template_26(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", 368);
out.pushElement("p");
out.popElement();
out.setLocation("caucho/newstyle.xsl", 368);
out.pushElement("table");
String _xsl_str0 = "100%";
out.setAttribute("width", _xsl_str0);
String _xsl_str1 = "0";
out.setAttribute("cellspacing", _xsl_str1);
String _xsl_str2 = "3";
out.setAttribute("cellpadding", _xsl_str2);
String _xsl_str3 = "1";
out.setAttribute("border", _xsl_str3);
out.setLocation("caucho/newstyle.xsl", 368);
out.pushElement("tr");
String _xsl_str4 = "section";
out.setAttribute("class", _xsl_str4);
out.setLocation("caucho/newstyle.xsl", 368);
out.pushElement("td");
String _xsl_str5 = "2";
out.setAttribute("colspan", _xsl_str5);
out.setLocation("caucho/newstyle.xsl", 368);
out.pushElement("font");
String _xsl_str6 = "+2";
out.setAttribute("size", _xsl_str6);
out.setLocation("caucho/newstyle.xsl", 368);
out.pushElement("b");
out.valueOf(_exprs[5].evalObject(node, env));
out.popElement();
out.popElement();
out.popElement();
out.popElement();
{
Env _xsl_arg1 = XPath.createCall(env);
{
ArrayList _xsl_list = xslSort(node, env, _select_patterns[6], _xsl_sorts[0]);
_xsl_arg1.setContextSize(_xsl_list.size());
for (int _xsl_i = 0; _xsl_i < _xsl_list.size(); _xsl_i++) {
_xsl_arg1.setContextPosition(_xsl_i + 1);
applyNode_objsummary(out, (Node) _xsl_list.get(_xsl_i), _xsl_arg1, 0, 2147483647);
}
}
}
out.popElement();
out.disableEscaping(oldEscaping);
}
// 'text()|er()' mode 'summarylist'
private void _xsl_template_27(XslWriter out, Node inputNode, Env env)
throws Exception
{
Object _xsl_tmp;
Node node = inputNode;
boolean oldEscaping = out.disableEscaping(true);
env.setStylesheetEnv(stylesheets[1]);
out.disableEscaping(oldEscaping);
}
// 's2|s3' mode 'summarylist'
private void _xsl_template_28(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", 387);
out.pushElement("li");
out.setLocation("caucho/newstyle.xsl", 387);
out.pushElement("a");
out.pushAttribute("href");
out.write(_xsl_string3, 0, 1);
out.valueOf(_exprs[6].evalObject(node, env));
out.popAttribute();
if (node instanceof Element)
out.print(((Element) node).getAttribute("title"));
out.popElement();
if (_exprs[7].evalBoolean(node, env)) {
out.setLocation("caucho/newstyle.xsl", 391);
out.pushElement("ol");
{
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_summarylist(out, _xsl_node, _xsl_arg1, 0, 2147483647);
}
}
out.popElement();
}
out.popElement();
out.disableEscaping(oldEscaping);
}
// 'summarylist'
private void _xsl_template_29(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", 398);
out.pushElement("center");
out.setLocation("caucho/newstyle.xsl", 398);
out.pushElement("table");
String _xsl_str0 = "3";
out.setAttribute("border", _xsl_str0);
String _xsl_str1 = "toc";
out.setAttribute("class", _xsl_str1);
String _xsl_str2 = "90%";
out.setAttribute("width", _xsl_str2);
out.setLocation("caucho/newstyle.xsl", 398);
out.pushElement("tr");
out.setLocation("caucho/newstyle.xsl", 398);
out.pushElement("td");
out.setLocation("caucho/newstyle.xsl", 398);
out.pushElement("ol");
{
Env _xsl_arg1 = XPath.createCall(env);
_xsl_arg1.setSelect(node, _select_patterns[7]);
Iterator _xsl_iter3 = _select_patterns[7].select(node, env);
while (_xsl_iter3.hasNext()) {
Node _xsl_ptr4 = (Node) _xsl_iter3.next();
_xsl_arg1.setCurrentNode(_xsl_ptr4);
applyNode_summarylist(out, _xsl_ptr4, _xsl_arg1, 0, 2147483647);
}
}
out.popElement();
out.popElement();
out.popElement();
out.popElement();
out.popElement();
out.disableEscaping(oldEscaping);
}
// 'p'
private void _xsl_template_30(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", 417);
out.pushElement("p");
{
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);
}
// 'note'
private void _xsl_template_31(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", 426);
out.pushElement("p");
out.setLocation("caucho/newstyle.xsl", 426);
out.pushElement("b");
out.setLocation("caucho/newstyle.xsl", 428);
out.write(_xsl_string4, 0, 6);
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);
}
// 'blockquote'
private void _xsl_template_32(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, 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);
out.disableEscaping(oldEscaping);
}
// 'sidebar'
private void _xsl_template_33(XslWriter out, Node inputNode, Env env)
throws Exception
{
Object _xsl_tmp;
Node node = inputNode;
boolean oldEscaping = out.disableEscaping(true);
env.setStylesheetEnv(stylesheets[1]);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -