<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chiopino</author_name>
  <author_url>https://blog.hatena.ne.jp/chiopino/</author_url>
  <blog_title>dosyaburi</blog_title>
  <blog_url>https://dosyaburi.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>Factory Methodパターンとは パターンの例 実装例 使用する利点 まとめ Factory Methodパターンとは factoryは工場のことです。 インスタンスを次々作り出す工場のイメージでしょうか。以前にTemplate Methodパターンについて説明しましたが、それのコンストラクタ版といったところです。 chiopino.hatenablog.com メインプログラムではインスタンスを直接呼び出さないので、型に柔軟なプログラムを書くことができます。 パターンの例 新入社員に社員証を発行し、出勤、退勤を管理するシステムを作ります。 例ではフレームワークとなる２つの抽象クラス、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdosyaburi.hateblo.jp%2Fentry%2F2021%2F06%2F16%2F200000&quot; title=&quot;デザインパターンFactoryMethodについて勉強した - dosyaburi&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-16 20:00:00</published>
  <title>デザインパターンFactoryMethodについて勉強した</title>
  <type>rich</type>
  <url>https://dosyaburi.hateblo.jp/entry/2021/06/16/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
