net.sf.jxls.tag.BaseTag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jxls-core Show documentation
Show all versions of jxls-core Show documentation
jXLS is a small and easy-to-use Java library for generating Excel files using XLS templates
The newest version!
package net.sf.jxls.tag;
/**
* Base class for {@link Tag} interface implementation
* @author Leonid Vysochyn
*/
public abstract class BaseTag implements Tag{
protected String name;
protected TagContext tagContext;
public String getName() {
return name;
}
public String toString() {
return "<" + getName() + ">";
}
public void init(TagContext context) {
this.tagContext = context;
}
public TagContext getTagContext() {
return tagContext;
}
}