加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

xml2.changebean

发布时间:2020-12-16 09:42:34 所属栏目:百科 来源:网络整理
导读:package com.xm.bean;//修改配置文件中某个节点的值public class ChangeBean {private String filepath;//修改的配置文件路径private String nodepath;//修改节点的xpath路径;private String nodevalue;//节点修改后的值;private String descript;//修改说
package com.xm.bean;

//修改配置文件中某个节点的值
public class ChangeBean {
	private String filepath;//修改的配置文件路径
	private String nodepath;//修改节点的xpath路径;
	private String nodevalue;//节点修改后的值;
	private String descript;//修改说明
	private String type;//0:节点;1:属性
	
	public ChangeBean(String filepath,String nodepath,String nodevalue,String descript,String type) {
		this.filepath=filepath;
		this.descript=descript;
		this.nodepath=nodepath;
		this.nodevalue=nodevalue;
		this.type=type;
	}
	
	public ChangeBean(){};
	
	public String getFilepath() {
		return filepath;
	}
	public void setFilepath(String filepath) {
		this.filepath = filepath;
	}
	public String getNodepath() {
		return nodepath;
	}
	public void setNodepath(String nodepath) {
		this.nodepath = nodepath;
	}
	public String getNodevalue() {
		return nodevalue;
	}
	public void setNodevalue(String nodevalue) {
		this.nodevalue = nodevalue;
	}
	public String getDescript() {
		return descript;
	}
	public void setDescript(String descript) {
		this.descript = descript;
	}
	
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String toString(){
		return "filepath:"+filepath+" nodepath:"+nodepath+" nodevalue:"+nodevalue+" descript:"+descript+" type:"+type;
	}
}

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读