class SimpleNamespaceContext implements NamespaceContext {

	@Override
	public String getPrefix(String namespaceUri) {
		Iterator<String> iterator = getPrefixes(namespaceUri);
		return iterator.hasNext() ? iterator.next() : null;
	}

}