class SPPEncoder implements MALEncoder, MALListEncoder {

	@Override
	public void encodeNullableIdentifier(final Identifier att) throws MALException {
            
                /*
		encodeNulltag(att);
		if (att != null) {
			encodeIdentifier(att);
		}
                */
                
                // Fix for the case where the String inside the Identifier contains a null...
                if (att != null) {
                    if (att.getValue() == null) {
                        encodeNulltag(null);
                    }else{
        		encodeNulltag(att);
                    }
		}else{
                    encodeNulltag(att);
                }
            
		if (att != null) {
                    if (att.getValue() != null) {
    			encodeIdentifier(att);
                    }
		}
	}

	public  SPPEncoder(final OutputStream outputStream, final Map properties);

}