}
else throw new ParserException("The ParserObject is not a valid units object!");
Unit baseUnit = baseUnit(baseObject);
Units u = new Units();
List<Unit> units = u.getUnit();
for (Iterator i = object.keys(); i.hasNext();) {
String name = (String)i.next();
if (!name.startsWith("npc_dota_")) continue;
ParserObject unitObject = object.getParserObject(name);