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

📄 idomfactory.java

📁 非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应用程序更漂亮更易操作。 官网:www.zkoss.org
💻 JAVA
字号:
/* IDOMFactory.java{{IS_NOTE	Purpose:	Description:	History:	2001/10/25 11:32:45, Create, Tom M. Yeh.}}IS_NOTECopyright (C) 2001 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.idom.input;import org.zkoss.idom.*;/** * A dom factory. It is the interface used by SaxBuild to create * corresponding vertices. By implementing this interface or * overriding DefaultDomFactory, caller could create a set of * vertices other than the default ones. * * @author tomyeh * @see SAXBuilder */public interface IDOMFactory {	/**	 * Creates an Attribute without namespace.	 */	public Attribute newAttribute(String lname, String value);	/**	 * Creates an Attribute with namespace.	 */	public Attribute newAttribute(Namespace ns, String lname, String value);	/**	 * Creates a CData.	 */	public CData newCData(String text);	/**	 * Creates a Comment.	 */	public Comment newComment(String text);	/**	 * Creates a DocType.	 *	 * @param elementName the root element's name	 * @param publicId the public Id; null for empty	 * @param systemId the system Id; null for empty	 */	public DocType newDocType(String elementName, String publicId, String systemId);	/**	 * Creates a Document.	 *	 * @param docType the document type; null for not available	 */	public Document newDocument(Element rootElement, DocType docType);	/**	 * Creates an Element with a namespace.	 */	public Element newElement(Namespace ns, String lname);	/**	 * Creates an Element without namespace.	 */	public Element newElement(String lname);	/**	 * Creates a processing instruction.	 *	 * @param data the raw data; null for empty	 */	public ProcessingInstruction	newProcessingInstruction(String target, String data);	/**	 * Creates a Entityref.	 *	 * @param name the entity reference's name	 */	public EntityReference newEntityRef(String name);	/**	 * Creates a Text.	 */	public Text newText(String text);}

⌨️ 快捷键说明

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