code: private void bindNamespaces(SerializerContext serializerContext) throws IOException
  	{
  		if (serializerContext.knownNamespaces == null)
  		{
  			return;
  		}
  
  		StringBuilder nsBuilder = new StringBuilder(8);
  		int count = 0;
  
  		for (String ns : serializerContext.knownNamespaces)
  		{
  			int num = count;
  			do
  			{
  				nsBuilder.append(PREFIX_CHARS[num % PREFIX_CHARS.length]);
  				num /= PREFIX_CHARS.length;
  			} while (num > 0);
  
  			serializerContext.serializer.setPrefix(nsBuilder.toString(), ns);
  			nsBuilder.setLength(0);
  			++count;
  		}
  	}
docs: Ensure all known namespaces have been bound to a prefix.
  
  @throws IOException