document.java
来自「用Java开发的、实现类似Visio功能的应用程序源码」· Java 代码 · 共 35 行
JAVA
35 行
/**
* $Id:Document.java $
*
* Copyright 2004 ~ 2005 JingFei International Cooperation LTD. All rights reserved. *
*/
package com.jfimagine.jfdom;
/**
* Document class. A class used to represent an XML document.
*
* @author CookieMaker
*
* @version $Revision: 1.01 $
*/
public class Document{
//Root element
private Element m_root;
/**
* Constructor
* @param root Root element
*/
public Document(Element root){
m_root =root;
}
/**
* Get root element of this document.
*/
public Element getRoot(){
return m_root;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?