Set namespaces = registryObjects.getNamespaces(); String[] result = new String[namespaces.size()]; return (String[]) namespaces.toArray(result);
KeyedElement[] namespaceElements = registryObjects.getNamespacesIndex().elements(); String[] namespaceNames = new String[namespaceElements.length]; for (int i = 0; i < namespaceElements.length; i++) { namespaceNames[i] = (String) ((RegistryIndexElement) namespaceElements[i]).getKey(); } return namespaceNames;
	public String[] getNamespaces() {		access.enterRead();		try {			Set namespaces = registryObjects.getNamespaces();			String[] result = new String[namespaces.size()];			return (String[]) namespaces.toArray(result);		} finally {			access.exitRead();		}	}