KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > jayasoft > ivy > extendable > DefaultExtendableItem


1 /*
2  * This file is subject to the licence found in LICENCE.TXT in the root directory of the project.
3  * Copyright Jayasoft 2005 - All rights reserved
4  *
5  * #SNAPSHOT#
6  */

7 package fr.jayasoft.ivy.extendable;
8
9 import java.util.Map JavaDoc;
10
11 /**
12  * An item which is meant to be extended, i.e. defined using extra attributes
13  */

14 public class DefaultExtendableItem extends UnmodifiableExtendableItem {
15     public DefaultExtendableItem() {
16         this(null, null);
17     }
18     public DefaultExtendableItem(Map JavaDoc stdAttributes, Map JavaDoc extraAttributes) {
19         super(stdAttributes, extraAttributes);
20     }
21     public void setExtraAttribute(String JavaDoc attName, String JavaDoc attValue) {
22         super.setExtraAttribute(attName, attValue);
23     }
24     public void setStandardAttribute(String JavaDoc attName, String JavaDoc attValue) {
25         super.setStandardAttribute(attName, attValue);
26     }
27     public void setAttribute(String JavaDoc attName, String JavaDoc attValue, boolean extra) {
28         super.setAttribute(attName, attValue, extra);
29     }
30 }
31
Popular Tags