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

📄 node.java

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

public class Node {
	public final static int NodeTypeElement 	= 0;
	public final static int NodeTypeAttribute 	= 1;
	
	private int id;
	private int parentId;
	private int order;
	private String name;
	private String value;
	private int type;

	public Node(){}

	public Node(int id, String name, int type, int order, 
			String value, int parent) {
		this.id = id;
		this.name = name;
		this.type = type;
		this.order = order;
		this.value = value;
		this.parentId = parent;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public int getParentId() {
		return this.parentId;
	}
	
	public void setParentId(int parent) {
		this.parentId = parent;
	}

	public int getId() {
		return this.id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public int getOrder() {
		return order;
	}
	
	public void setOrder(int order) {
		this.order = order;
	}
	
	public int getType() {
		return type;
	}
	
	public void setType(int type) {
		this.type = type;
	}
}

⌨️ 快捷键说明

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