setProperty( ImageItem.SOURCE_PROP,
setProperty( IImageItemModel.SOURCE_PROP,
	private void checkImageType( )	{		int type = 0;		Module module = handler.getModule( );		String uri = (String) image.getLocalProperty( module,				ImageItem.URI_PROP );		if ( !StringUtil.isEmpty( uri ) )		{			uri = StringUtil.trimQuotes( uri );			try			{				URL url = new URL( uri );				setProperty( ImageItem.SOURCE_PROP,						DesignChoiceConstants.IMAGE_REF_TYPE_URL );			}			catch ( MalformedURLException e )			{				setProperty( ImageItem.SOURCE_PROP,						DesignChoiceConstants.IMAGE_REF_TYPE_FILE );			}			type++;		}		StructRefValue imageName = (StructRefValue) image.getLocalProperty(				module, ImageItem.IMAGE_NAME_PROP );		if ( imageName != null )		{			setProperty( ImageItem.SOURCE_PROP,					DesignChoiceConstants.IMAGE_REF_TYPE_EMBED );			type++;		}		String typeExpr = (String) image.getLocalProperty( module,				ImageItem.TYPE_EXPR_PROP );		String valueExpr = (String) image.getLocalProperty( module,				ImageItem.VALUE_EXPR_PROP );		if ( !StringUtil.isEmpty( typeExpr ) || !StringUtil.isEmpty( valueExpr ) )		{			setProperty( ImageItem.SOURCE_PROP,					DesignChoiceConstants.IMAGE_REF_TYPE_EXPR );			type++;		}		if ( type > 1 )			handler					.getErrorHandler( )					.semanticError(							new DesignParserException(									DesignParserException.DESIGN_EXCEPTION_IMAGE_REF_CONFLICT ) );	}