//scan over the list and find the child names
for (Object aNamesMap : namesMap) {
String val = (String) aNamesMap;
if (val.contains(name)) {
// add them to our arrayList
childNames.addElement(val);
}
}
//return the Vector of childnames as a String[]
//NOTE: remember to trim first otherwise you get a massive array