diff options
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/itemcreation/customizer/AttributeData.java')
-rw-r--r-- | jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/itemcreation/customizer/AttributeData.java | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/itemcreation/customizer/AttributeData.java b/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/itemcreation/customizer/AttributeData.java deleted file mode 100644 index 834674bc9..000000000 --- a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/itemcreation/customizer/AttributeData.java +++ /dev/null @@ -1,72 +0,0 @@ -package org.eclipse.jst.pagedesigner.itemcreation.customizer; - -import java.util.HashMap; -import java.util.Map; - -/** - * Class containing all the data that pertains to the customization - * of a tag's attributes. - * - * @author prusev - * @author Debajit Adhikary - * - */ -public class AttributeData { - - private Map<String, String> attrs = new HashMap<String, String>(); - - - /** - * Returns a map of the attributes (Name-Value pairs) - * - * @return Map of attribute names and values - * - */ - public Map<String, String> getAttributes() - { - return attrs; - } - - - /** - * Sets the attribute data to the map of attribute names and values - * provided. - * - * @param attribs - * Map of attribute names and values - * - */ - public void setAttributes(Map<String, String> attribs) - { - attrs.clear(); - attrs.putAll(attribs); - } - - - /** - * Adds an attribute. - * - * @param attr - * Attribute name - * @param userVal - * Attribute value - * - */ - public void addAttribute(String attr, String userVal) - { - attrs.put(attr, userVal); - } - - /** - * Returns the value for a given attribute name. - * - * @param attr - * Attribute name whose value is to be found - * @return Attribute value for the given attribute name - * - */ - public String getValForAttrib(String attr) - { - return attrs.get(attr); - } -} |