|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.metro.info.Descriptor
This is the Abstract class for all feature feature descriptors.
Constructor Summary | |
protected |
Descriptor(Properties attributes)
Creation of an abstract descriptor. |
Method Summary | |
boolean |
equals(Object other)
Compare this object with another for equality. |
String |
getAttribute(String key)
Return the attribute for specified key. |
String |
getAttribute(String key,
String defaultValue)
Return the attribute for specified key. |
String[] |
getAttributeNames()
Returns the set of attribute names available under this descriptor. |
Properties |
getProperties()
Returns the property set. |
int |
hashCode()
Return the hashcode for the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Descriptor(Properties attributes)
attributes
- the set of attributes to assign to the descriptorMethod Detail |
public String getAttribute(String key)
key
- the attribute key to resolve
public String getAttribute(String key, String defaultValue)
key
- the attribute key to resolvedefaultValue
- the default value to use if the value is not defined
public String[] getAttributeNames()
public boolean equals(Object other)
other
- the object to compare this object with
public int hashCode()
public Properties getProperties()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |