|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.extensions.xml.XMLObjectCache
junit.extensions.xml.XMLPropertyCache
Title: XMLObjectCache
Description: Multi level hashmap to contain name value pairs. A parent level can be explicitly accessed by prefixing the name with "../" otherwise the parent level will only be searched if the object does not exist at the current level.
Copyright: Copyright (c) 2003
Company: jfcunit project
| Field Summary |
| Fields inherited from class junit.extensions.xml.XMLObjectCache |
|
| Constructor Summary | |
XMLPropertyCache()
Empty contructor. |
|
XMLPropertyCache(XMLPropertyCache parent)
Constructor. |
|
| Method Summary | |
java.lang.Object |
get(java.lang.String name)
Get a object from the cache. |
java.lang.String |
resolve(java.lang.String s)
Resolve any parameter names in the string given, and make the appropriate substitutions. |
| Methods inherited from class junit.extensions.xml.XMLObjectCache |
clear, getName, getNames, getParent, put, remove, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLPropertyCache()
public XMLPropertyCache(XMLPropertyCache parent)
parent - Parent object cache to be set.| Method Detail |
public java.lang.Object get(java.lang.String name)
get in class XMLObjectCachename - Name of the value to be retrieved.
public final java.lang.String resolve(java.lang.String s)
s - String String which may contain the property names.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||