📄 xmlnode.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 + -