Code example for SecureRandom

Methods: nextLong

0
		return new NamespaceBinderImpl(nsUri);
	} 
	 
	protected static final String generateVersion(String ns)
	{ 
		return Long.toHexString(random.nextLong());
	} 
	 
	private void addNamespace(String uri, String prefix, String pkg, String version, ClassLoader loader)
	{ 
		Namespace ns = new NamespaceImpl(uri, prefix, pkg, version, loader);
		uris.put(uri, ns);
		 
		if(pkg != null)
		{ 
			packages.put(pkg, ns);
		} 
		 
		if(prefix != null)
		{ 
			prefixes.put(prefix, ns);