OutputStreamWriter osw = new OutputStreamWriter(outputStream, getCharacterSet() .getName());
OutputStreamWriter osw = null;  if(getCharacterSet() != null) { osw = new OutputStreamWriter(outputStream, getCharacterSet().getName()); } else { osw = new OutputStreamWriter(outputStream); }
	public void write(OutputStream outputStream) throws IOException	{		if (getValue() != null)		{			OutputStreamWriter osw = new OutputStreamWriter(outputStream, getCharacterSet()					.getName());			osw.write(getValue());		}	}