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

📄 xmlnode.java

📁 本人写的另一个XML实例化小程序
💻 JAVA
字号:
package advdb;

import java.util.*;

public class XMLNode extends Node
{
	private Vector<XMLNode> children;
	private Vector<XMLAttribute> attributes;
	
	public XMLNode(){};
	
	public XMLNode(int id, String name, int type, int order, 
					String value, int parent, Vector<XMLNode> children,
					Vector<XMLAttribute> attributes)
	{		
		super(id, name, type, order, value, parent);

		this.children = children;
		this.attributes = attributes;
	}

	public Vector<XMLNode> getChildren() {
		return children;
	}
	
	public void setChildren(Vector<XMLNode> children) {
		this.children = children;
	}
	
	public Vector<XMLAttribute> getAttributes() {
		return attributes;
	}

	public void setAttributes(Vector<XMLAttribute> attributes) {
		this.attributes = attributes;
	}
}

⌨️ 快捷键说明

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