Vector allOCDsInFile = null;
Hashtable pidToOCD = null;
	private boolean readMetaFiles(Bundle bundle, SAXParserFactory parserFactory) throws IOException {		boolean isThereMetaHere = false;		Enumeration allFileKeys = FragmentUtils.findEntryPaths(bundle, MetaTypeService.METATYPE_DOCUMENTS_LOCATION);		if (allFileKeys == null)			return isThereMetaHere;		while (allFileKeys.hasMoreElements()) {			boolean _isMetaDataFile;			String fileName = (String) allFileKeys.nextElement();			Vector allOCDsInFile = null;			java.net.URL[] urls = FragmentUtils.findEntries(bundle, fileName);			if (urls != null) {				for (int i = 0; i < urls.length; i++) {					try {						// Assume all XML files are what we want by default.						_isMetaDataFile = true;						DataParser parser = new DataParser(bundle, urls[i], parserFactory);						allOCDsInFile = parser.doParse();						if (allOCDsInFile == null) {							_isMetaDataFile = false;						}					} catch (Exception e) {						// Ok, looks like it is not what we want.						_isMetaDataFile = false;					}					if ((_isMetaDataFile) && (allOCDsInFile != null)) {						// We got some OCDs now.						for (int j = 0; j < allOCDsInFile.size(); j++) {							ObjectClassDefinitionImpl ocd = (ObjectClassDefinitionImpl) allOCDsInFile.elementAt(j);							if (ocd.getType() == ObjectClassDefinitionImpl.PID) {								isThereMetaHere = true;								_allPidOCDs.put(ocd.getPID(), ocd);							} else {								isThereMetaHere = true;								_allFPidOCDs.put(ocd.getPID(), ocd);							}						} // End of for					}				}			} // End of if(urls!=null)		} // End of while		return isThereMetaHere;	}