org.wicketstuff.egrid.attribute.BaseHTMLAttribute Maven / Gradle / Ivy
package org.wicketstuff.egrid.attribute;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
public abstract class BaseHTMLAttribute implements Serializable, Attribute {
private static final long serialVersionUID = 1L;
private Map attributes = null;
public BaseHTMLAttribute() {
attributes = new HashMap();
}
protected final void put(String key, String value) {
attributes.put(key, value);
}
public final Object get(Object key) {
return attributes.get(key);
}
public Set> attributeEntries(){
return attributes.entrySet();
}
public final Set getAttributeKeys() {
return attributes.keySet();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy