<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mocomei</author_name>
  <author_url>https://blog.hatena.ne.jp/mocomei/</author_url>
  <blog_title>365日コーディングブログ</blog_title>
  <blog_url>https://mocomei.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>お題 Builderパターンについて学ぶ。 （結城さんのデザインパターン入門の第７章より） 概要 ビルディングを建てるとき、まず地盤を固め、骨組みを作り、下から上に少しずつ作っていきます。一般に、複雑な構造を持ったものを作り上げるとき、一気に完成させるのは困難です。まず全体を構成している各部分を作り、段階を踏んで組み上げていくことになります。この章では、構造を持ったインスタンスを組み上げていく、Builderパターンについて学ぶ。 サンプルとして、Builderパターンを使って「文書」を作成するるログラムを作ってみましょう。ここで作る文書は以下のような構造を持っています。 ・タイトルを1つ含む…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmocomei.hatenablog.com%2Fentry%2F2013%2F03%2F15%2F224419&quot; title=&quot;20130315 Builderパターン サンプル - 365日コーディングブログ&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>2013-03-15 22:44:19</published>
  <title>20130315 Builderパターン サンプル</title>
  <type>rich</type>
  <url>https://mocomei.hatenablog.com/entry/2013/03/15/224419</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
