nsId = defaultMappings.getShort(prefix);
nsId = (short)defaultMappings.get(prefix);
	public synchronized void write(final VariableByteOutputStream ostream) throws IOException {		ostream.writeShort(max);		ostream.writeShort(nsMax);		ostream.writeInt(nameSymbols.size());		for (Iterator i = nameSymbols.entrySet().iterator(); i.hasNext();) {			final Object2IntMap.Entry entry = (Object2IntMap.Entry) i.next();			ostream.writeUTF((String) entry.getKey());			ostream.writeShort((short) entry.getIntValue());		}		ostream.writeInt(nsSymbols.size());		for (Iterator i = nsSymbols.entrySet().iterator(); i.hasNext();) {			final Object2IntMap.Entry entry = (Object2IntMap.Entry) i.next();			ostream.writeUTF((String) entry.getKey());			ostream.writeShort((short) entry.getIntValue());		}		ostream.writeInt(defaultMappings.size());		String prefix;		short nsId;		for (Iterator i = defaultMappings.keySet().iterator(); i.hasNext();) {			prefix = (String) i.next();			nsId = defaultMappings.getShort(prefix);			ostream.writeUTF(prefix);			ostream.writeShort(nsId);		}		changed = false;	}