|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.dpml.library.impl.DefaultDictionary
Utility class used for construction of a module model from an XML source.
| Constructor Summary | |
DefaultDictionary(DefaultDictionary parent,
AbstractDirective directive)
Creation of a new dictionary. |
|
| Method Summary | |
boolean |
getBooleanProperty(String key,
boolean value)
Return an boolean property value. |
int |
getIntegerProperty(String key,
int value)
Return an integer property value. |
String[] |
getLocalPropertyNames()
Return the local property names associated with the dictionary. |
String |
getProperty(String key)
Return a property value. |
String |
getProperty(String key,
String value)
Return a property value. |
String[] |
getPropertyNames()
Return the property names associated with the dictionary. |
String |
resolve(String value)
Evaluate and expand any symbolic references in the supplied value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultDictionary(DefaultDictionary parent,
AbstractDirective directive)
parent - the parent dictionary (possibly null)directive - an abstract directive containing local properties| Method Detail |
public String[] getPropertyNames()
getPropertyNames in interface Dictionarypublic String[] getLocalPropertyNames()
getLocalPropertyNames in interface Dictionarypublic String getProperty(String key)
getProperty in interface Dictionarykey - the property key
public String getProperty(String key,
String value)
getProperty in interface Dictionarykey - the property keyvalue - the default value
public int getIntegerProperty(String key,
int value)
key - the property keyvalue - the default value
NumberFormatException - if underlying property value
cannot be resolved to an integer
public boolean getBooleanProperty(String key,
boolean value)
key - the property keyvalue - the default value
NumberFormatException - if underlying property value
cannot be resolved to an integerpublic String resolve(String value)
resolve in interface Dictionaryvalue - the value to resolve
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||