Vector exportsVector = (Vector) objectStack.pop(); if (manifestInfo.libraries == null){ manifestInfo.libraries = new HashMap(3); manifestInfo.libraryPaths = new ArrayList(3);
if(! curLibrary.trim().equals("")) { Vector exportsVector = (Vector) objectStack.pop(); if (manifestInfo.libraries == null){ manifestInfo.libraries = new HashMap(3); manifestInfo.libraryPaths = new ArrayList(3); } manifestInfo.libraries.put(curLibrary, exportsVector); manifestInfo.libraryPaths.add(curLibrary.replace('\\','/'));
	public void endElement(String uri, String elementName, String qName) {		switch (((Integer) stateStack.peek()).intValue()) {			case IGNORED_ELEMENT_STATE :				stateStack.pop();				break;			case INITIAL_STATE :				// shouldn't get here				// internalError(Policy.bind("parse.internalStack", elementName)); //$NON-NLS-1$				break;			case PLUGIN_STATE :			case FRAGMENT_STATE :				break;			case PLUGIN_RUNTIME_STATE :				if (elementName.equals(RUNTIME)) {					stateStack.pop();				}				break;			case PLUGIN_REQUIRES_STATE :				if (elementName.equals(PLUGIN_REQUIRES)) {					stateStack.pop();					objectStack.pop();				}				break;			case PLUGIN_EXTENSION_POINT_STATE :				break;			case PLUGIN_EXTENSION_STATE :				break;			case RUNTIME_LIBRARY_STATE :				if (elementName.equals(LIBRARY)) {					String curLibrary = (String) objectStack.pop();					Vector exportsVector = (Vector) objectStack.pop();					if (manifestInfo.libraries == null){						manifestInfo.libraries = new HashMap(3);						manifestInfo.libraryPaths = new ArrayList(3);					}					manifestInfo.libraries.put(curLibrary, exportsVector);					manifestInfo.libraryPaths.add(curLibrary.replace('\\','/'));					stateStack.pop();				}				break;			case LIBRARY_EXPORT_STATE :				if (elementName.equals(LIBRARY_EXPORT)) {					stateStack.pop();				}				break;			case PLUGIN_REQUIRES_IMPORT_STATE :				if (elementName.equals(PLUGIN_REQUIRES_IMPORT)) {					stateStack.pop();				}				break;			case CONFIGURATION_ELEMENT_STATE :				break;		}	}