rootnode.java

来自「ZK 基础介绍 功能操作 模块 结合数据库操作」· Java 代码 · 共 61 行

JAVA
61
字号
/* RootNode.java{{IS_NOTE	Purpose:			Description:			History:		Sat Sep 17 12:35:35     2005, Created by tomyeh}}IS_NOTECopyright (C) 2004 Potix Corporation. All Rights Reserved.{{IS_RIGHT	This program is distributed under GPL Version 2.0 in the hope that	it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.web.servlet.dsp.impl;import java.util.Iterator;import java.io.IOException;import org.zkoss.util.logging.Log;import org.zkoss.web.servlet.xel.RequestContexts;import org.zkoss.web.servlet.dsp.*;/** * The root node for the parsed result. * * @author tomyeh */class RootNode extends Node implements Interpretation {//	private static final Log log = Log.lookup(RootNode.class);	RootNode() {	}	//-- Node --//	void interpret(InterpretContext ic)	throws javax.servlet.ServletException, IOException {		if (_children == null)			return;		for (Iterator it = _children.iterator(); it.hasNext();) {			((Node)it.next()).interpret(ic);		}	}	//-- Interpretation --//	public void interpret(DspContext dc)	throws javax.servlet.ServletException, IOException {		RequestContexts.push(dc);		try {			interpret(new InterpretContext(dc));		} finally {			RequestContexts.pop();		}	}}

⌨️ 快捷键说明

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