All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.odysz.module.xtable.XMLDefaultStruct Maven / Gradle / Ivy

There is a newer version: 1.5.3
Show newest version
package io.odysz.module.xtable;

public class XMLDefaultStruct implements IXMLStruct {
	protected final String rootQName;
	protected final String tableQName;
	protected final String recordQName;

	public XMLDefaultStruct(String rootTag, String tableTag, String recordTag) {
		rootQName = rootTag;
		tableQName = tableTag;
		recordQName = recordTag;
	}
	
	public XMLDefaultStruct() {
		rootQName = "lyn";
		tableQName = "table";
		recordQName = "record";
	}

	@Override
	public String rootTag() {
		return rootQName;
	}

	@Override
	public String tableTag() {
		return tableQName;
	}

	@Override
	public String recordTag() {
		return recordQName;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy