xml2.changebean

前端之家收集整理的这篇文章主要介绍了xml2.changebean前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
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;
	}
}

猜你在找的XML相关文章