{"id":2708,"date":"2018-05-12T19:58:18","date_gmt":"2018-05-12T10:58:18","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=2708"},"modified":"2023-05-27T20:34:23","modified_gmt":"2023-05-27T11:34:23","slug":"%e3%80%90gof%e3%81%ae%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%80%91%e3%80%8cadapter%e3%80%8d%e3%81%a3%e3%81%a6%e3%81%a9%e3%82%93%e3%81%aa%e3%83%91%e3%82%bf%e3%83%bc","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=2708","title":{"rendered":"\u3010GoF\u306e\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u3011\u300cAdapter\u300d\u3063\u3066\u3069\u3093\u306a\u30d1\u30bf\u30fc\u30f3\uff1f\u3001\u8a2d\u8a08\u306a\u3069"},"content":{"rendered":"<h2>\u300cAdapter\u300d\u3063\u3066\u3069\u3093\u306a\u30d1\u30bf\u30fc\u30f3\uff1f<\/h2>\n<p>\u65e2\u5b58\u306e\u30af\u30e9\u30b9\u306b\u3001\u5225\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\uff08\u30e1\u30bd\u30c3\u30c9\uff09\u3092\u6301\u305f\u305b\u305f\u3044\u5834\u5408\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">\u4f8b\u3048\u3070\u3001\u300c\u30af\u30e9\u30b9A\u300d\u3068\u3001\u300c\u30af\u30e9\u30b9A\u306b\u4f3c\u3066\u3044\u308b\u304c\u5fae\u5999\u306b\u7570\u306a\u308b\u30af\u30e9\u30b9B\u300d\u304c\u3042\u308a\u3001\u30af\u30e9\u30b9B\u3092\u30af\u30e9\u30b9A\u3068\u540c\u3058\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u3067\u3001\u540c\u3058\u3088\u3046\u306b\u547c\u3073\u51fa\u3057\u305f\u3044\u304c\u3001\r\n\u5fae\u5999\u306a\u7570\u306a\u308b\u90e8\u5206\u3060\u3051\u3001\u540c\u3058\u66f8\u304d\u65b9\u3067\u53d6\u308a\u51fa\u305b\u306a\u3044\u3068\u3044\u3063\u305f\u5834\u5408\u306b\u52b9\u679c\u3092\u767a\u63ee\u3057\u307e\u3059\u3002\u300c\u30af\u30e9\u30b9A\u300d\u3068\u540c\u3058\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u306a\u308b\u3088\u3046\u306b\u3001\u300c\u30af\u30e9\u30b9\uff22\u300d\u3092\u5909\u63db\u3057\u3066\u3042\u3052\u307e\u3059\u3002\u305f<\/pre>\n<h2>\u3069\u306e\u3088\u3046\u306a\u5834\u9762\u3067\u4f7f\u3046\u304b\uff1f<\/h2>\n<p>\u547c\u3073\u51fa\u3057\u5148\u306e\u30bd\u30fc\u30b9\u306b\u624b\u3092\u52a0\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u72b6\u6cc1\u3068\u3044\u3046\u306e\u306f\u5fdc\u7b54\u306b\u3057\u3066\u767a\u751f\u3059\u308b\u306e\u3067\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u4f7f\u3046\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li>\u4ed6\u793e\u306e\u88fd\u54c1<\/li>\n<li>\u305d\u3082\u305d\u3082\u30bd\u30fc\u30b9\u304c\u306a\u3044\u3002(\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u3082\u3089\u3063\u3066\u3044\u308b\uff09<\/li>\n<li>\u3059\u3067\u306b\u30c6\u30b9\u30c8\u3055\u308c\u3066\u3044\u3066\u624b\u3092\u52a0\u3048\u308b\u3068\u30c6\u30b9\u30c8\u304c\u5927\u5909\u306b\u306a\u308b\u3002<\/li>\n<\/ul>\n<h2>\u30e1\u30ea\u30c3\u30c8<\/h2>\n<p>\u65e2\u5b58\u30af\u30e9\u30b9\u3092\u4fee\u6b63\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u9069\u5207\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u8981\u306f\u3001\u30af\u30e9\u30b9\u306e\u578b\u3092\u6574\u3048\u308b\u305f\u3081\u306e<span style=\"color: #ff0000;\"><strong>\u300c\u30e9\u30c3\u30d1\u30fc\u300d<\/strong><\/span>\u3068\u3082\u3044\u3048\u307e\u3059\u306d\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u5927\u304d\u3044\u30b7\u30b9\u30c6\u30e0\u3067\u3001<span style=\"color: #ff0000;\"><strong>\u65e2\u5b58\u30af\u30e9\u30b9\u3084\u3001\u3053\u308c\u304b\u3089\u4fee\u6b63\u3059\u308b\u30af\u30e9\u30b9\u304c\u65e2\u306b\u8272\u3005\u306a\u30af\u30e9\u30b9\u3067\u4f7f\u308f\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u3066\u3001\u5f71\u97ff\u8abf\u67fb\u304c\u96e3\u3057\u3044\u3068\u3044\u3063\u305f\u5834\u5408<\/strong><\/span>\u306b\u52b9\u679c\u3092\u767a\u63ee\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30af\u30e9\u30b9\u306e\u8a2d\u8a08\u65b9\u6cd5\u306f\uff1f<\/h2>\n<p>\u5909\u63db\u306e\u305f\u3081\u306b\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u300c\u30a2\u30c0\u30d7\u30bf\u300d\u3068\u3044\u3046\u5909\u63db\u7528\u306e\u30af\u30e9\u30b9<\/strong><\/span>\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<p>\u300c\u30a2\u30c0\u30d7\u30bf\u30af\u30e9\u30b9\u300d\u3067\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u3042\u304f\u307e\u3067\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u76ee\u7684<\/strong><\/span>\u3067\u3001\u305d\u308c\u4ee5\u5916\u306e\u72ec\u81ea\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u5b9f\u88c5\u3057\u306a\u3044\u3067\u3059\u3002<\/p>\n<h3>\u30a4\u30e1\u30fc\u30b8<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17380\" src=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2022\/05\/-2022-05-29-10.35.59-e1653788203977.png\" alt=\"\" width=\"300\" height=\"395\" \/><\/p>\n<h4>Client<\/h4>\n<p>\u5229\u7528\u8005<\/p>\n<h4>\u30bf\u30fc\u30b2\u30c3\u30c8\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/h4>\n<p><span style=\"color: #ff0000;\"><strong>\u300c\u671b\u307f\u306e\u898f\u683c\u300d<\/strong><span style=\"color: #000000;\">\u306b\u306a\u308a\u307e\u3059\u3002\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304b\u62bd\u8c61\u30af\u30e9\u30b9\u306a\u3069\u3067\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/span><\/span><\/p>\n<h4>Adapter<\/h4>\n<p>\u9069\u5408\u3055\u305b\u308b\u5074\u3001<span style=\"color: #ff0000;\"><strong>\u30bf\u30fc\u30b2\u30c3\u30c8\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/strong><\/span>\u3092\u7d99\u627f\u3055\u305b\u3066\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<h4>Adaptee<\/h4>\n<p>\u9069\u5408\u3055\u308c\u308b\u5074\u3002\u5177\u8c61\u30af\u30e9\u30b9\u3092\u305d\u306e\u307e\u307e\u4f7f\u3063\u3066\u3082\u826f\u3044\u3067\u3059\u304c\u3001Adaptee\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u4e00\u65e6\u304b\u307e\u3057\u3066\u8907\u6570\u306e\u540c\u3058\u3088\u3046\u306a\u5177\u8c61\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3055\u305b\u3066\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3060\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<h3>Adapter\u3068Adaptee\u306e\u63a5\u7d9a\u65b9\u6cd5<\/h3>\n<p>Adapter\u3068Adaptee\u306e\u63a5\u7d9a\u65b9\u6cd5\u306b\u306f2\u7a2e\u985e\u306e\u5b9f\u88c5\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u7d50\u8ad6\u304b\u3089\u7533\u3057\u307e\u3059\u3068<span style=\"color: #ff0000;\"><strong>\u300c\u30b3\u30f3\u30dd\u30b8\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u305f\u5b9f\u88c5\u304c\u826f\u3044\u300d<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<h4>\u30b3\u30f3\u30dd\u30b8\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5<\/h4>\n<p>\u300c\u6301\u3064\u300d\u624b\u6cd5\u3002Adapter\u5185\u306bAdaptee\u306e\u30b3\u30fc\u30c9\u3092\u30e1\u30f3\u30d0\u5909\u6570\u3068\u3057\u3066\u30b3\u30f3\u30dd\u30b8\u30b7\u30e7\u30f3\u3067\u6301\u305f\u305b\u307e\u3059\u3002<\/p>\n<h4>\u7d99\u627f\u3092\u4f7f\u3046\u65b9\u6cd5<\/h4>\n<p>\u300cClass Adapter\u30d1\u30bf\u30fc\u30f3\u300d\u3068\u3082\u8a00\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>Adapter\u5185\u3067Adaptee\u306e\u30b3\u30fc\u30c9\u3092\u7d99\u627f\u3055\u305b\u3066\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n<h4>\u306a\u305c\u30b3\u30f3\u30dd\u30b8\u30b7\u30e7\u30f3\u306e\u65b9\u304c\u826f\u3044\u306e\u304b<\/h4>\n<h5>\u305d\u3082\u305d\u3082\u8fd1\u5e74\u306e\u8a2d\u8a08\u3067\u306f\u5177\u8c61\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3059\u308b\u3053\u3068\u306f\u63a8\u5968\u3055\u308c\u3066\u3044\u306a\u3044<\/h5>\n<p>\u305d\u3082\u305d\u3082\u3001\u8fd1\u5e74\u306f\u5177\u8c61\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3059\u308b\u3053\u3068\u306f\u3042\u307e\u308a\u63a8\u5968\u3055\u308c\u3066\u3044\u306a\u3044\u3067\u3059\u3002\uff08\u30b9\u30fc\u30d1\u30fc\u30af\u30e9\u30b9\u3092\u8aad\u307e\u306a\u3044\u3068\u30b5\u30d6\u30af\u30e9\u30b9\u306e\u5185\u5bb9\u3092\u7406\u89e3\u3067\u304d\u306a\u3044\u306e\u3067\u958b\u767a\u8005\u306e\u8ca0\u8377\u304c\u5897\u3048\u308b\u306a\u3069\u304c\u7406\u7531\u3060\u3063\u305f\u308a\u3057\u307e\u3059\u3002\uff09<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"6yjEnwRtTD\"><p><a href=\"http:\/\/www.code-magagine.com\/?p=2246\">\u3010Java\u3011\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\uff1a\u7d99\u627f\u306e\u554f\u984c\u70b9\u3092\u89e3\u6c7a\u3059\u308b\u300c\u62bd\u8c61\u30af\u30e9\u30b9\u300d\u3001\u300c\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u300d<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.code-magagine.com\/?p=2246&#038;embed=true#?secret=6yjEnwRtTD\" data-secret=\"6yjEnwRtTD\" width=\"500\" height=\"282\" title=\"&#8220;\u3010Java\u3011\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\uff1a\u7d99\u627f\u306e\u554f\u984c\u70b9\u3092\u89e3\u6c7a\u3059\u308b\u300c\u62bd\u8c61\u30af\u30e9\u30b9\u300d\u3001\u300c\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u300d&#8221; &#8212; \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30de\u30ac\u30b8\u30f3\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<h5>\u30bf\u30fc\u30b2\u30c3\u30c8\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u9078\u629e\u80a2\u304c\u751f\u307e\u308c\u308b<\/h5>\n<p>\u4e8c\u91cd\u7d99\u627f\u304c\u7981\u6b62\u3055\u308c\u3066\u3044\u308b\u8a00\u8a9e\u3082\u3042\u308b\u306e\u3067\u3001\u305d\u306e\u5834\u5408\u306f\u30bf\u30fc\u30b2\u30c3\u30c8\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304c\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u3057\u304b\u3067\u304d\u307e\u305b\u3093\u3002\uff08\u62bd\u8c61\u30af\u30e9\u30b9\u3092\u9078\u3079\u306a\u3044\u3002\uff09<\/p>\n<h5>\u300cAdapter\uff1aAdaptee=\uff11\uff1a\u591a\u300d\u306b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3002<\/h5>\n<p>\u30e1\u30f3\u30d0\u5909\u6570\u306a\u3089\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u30e1\u30f3\u30d0\u306e\u578b\u3068\u3057\u3066\u4f7f\u3048\u308b\u306e\u3067Adaptee\u3092\u8907\u6570\u306b\u62e1\u5f35\u6027\u304c\u751f\u307e\u308c\u307e\u3059\u3002<\/p>\n<h2>\u5b9f\u969b\u306b\u5b9f\u88c5\u3057\u3066\u307f\u308b\u3002<\/h2>\n<p>\u5b9f\u88c5\u3059\u308b\u30af\u30e9\u30b9\u56f3\u3084\u3001\u5b9f\u88c5\u30a4\u30e1\u30fc\u30b8\u306f\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2715\" src=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/05\/\u30a2\u30c0\u30d7\u30bf_\u30af\u30e9\u30b9\u56f3.png\" alt=\"\" width=\"659\" height=\"489\" srcset=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/05\/\u30a2\u30c0\u30d7\u30bf_\u30af\u30e9\u30b9\u56f3.png 659w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/05\/\u30a2\u30c0\u30d7\u30bf_\u30af\u30e9\u30b9\u56f3-300x223.png 300w\" sizes=\"(max-width: 659px) 100vw, 659px\" \/><\/p>\n<h3>Main.java\uff08\u30e1\u30a4\u30f3\u30d7\u30ed\u30b0\u30e9\u30e0\uff09<\/h3>\n<pre class=\"lang:default decode:true\">package Adapter;\r\n\r\npublic class Main {\r\n\r\n\tpublic static void main(String[] args) {\r\n\r\n\t\t\/\/\u9867\u5ba2\uff11\uff1a\u30a2\u30c0\u30d7\u30bf\u306a\u3057\u3067\u547c\u3073\u51fa\u305b\u308b\u3002\r\n\t\tCustomer1 customer1 = new Customer1(\"\u5317\u6d77\u9053XXX\u5e02\u25cb\u25cb\u753a\");\r\n\t\tPost.sendPost(customer1);\r\n\r\n\t\t\/\/\u9867\u5ba2\uff12\uff1a\u30a2\u30c0\u30d7\u30bf\u3092\u4ecb\u3059\u308c\u3070\u540c\u3058\u3088\u3046\u306b\u547c\u3073\u51fa\u305b\u308b\u3002\r\n\t\tCustomer2 customer2 = new Customer2(\"\u5c71\u53e3\u770c\",\"XXX\u5e02\u25cb\u25cb\u753a\");\r\n\t\tAdapter adpCustomer2 = new Adapter(customer2);\r\n\t\tPost.sendPost(adpCustomer2);\r\n\r\n\t}\r\n\r\n}\r\n<\/pre>\n<h3>Post.java(Customer1\u30af\u30e9\u30b9\u3092\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3068\u3059\u308b\u30af\u30e9\u30b9\uff09<\/h3>\n<pre class=\"lang:default decode:true\">package Adapter;\r\n\/**\r\n * \u90f5\u9001\u30af\u30e9\u30b9\r\n *\/\r\npublic class Post {\r\n\r\n\tpublic static void sendPost(Customer1 customer) {\r\n\t\tSystem.out.println(customer.getAddress()+\"\u306b\u90f5\u9001\u3057\u307e\u3059\u3002\");\r\n\t}\r\n\r\n}\r\n<\/pre>\n<h3>Customer1.java(Post.java\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30af\u30e9\u30b9)<\/h3>\n<pre class=\"lang:default decode:true\">package Adapter;\r\n\r\npublic class Customer1 {\r\n\r\n\tprivate String address;\r\n\r\n\tCustomer1(String address){\r\n\t\tthis.address = address;\r\n\t}\r\n\r\n\tpublic String getAddress() {\r\n\t\treturn this.address;\r\n\t}\r\n\r\n}\r\n<\/pre>\n<h3>Customer2.java(Post.java\u304b\u3089\u3001\u65b0\u305f\u306b\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u30af\u30e9\u30b9)<\/h3>\n<pre class=\"lang:default decode:true\">package Adapter;\r\n\r\npublic class Customer2 {\r\n\r\n\t\/* \u770c *\/\r\n\tprivate String prefecture;\r\n\r\n\t\/* \u5e02\u533a\u753a\u6751 *\/\r\n\tprivate String city;\r\n\r\n\tCustomer2(String prefecture,String city){\r\n\t\tthis.prefecture = prefecture;\r\n\t\tthis.city = city;\r\n\t}\r\n\r\n\tpublic String getPrefecture() {\r\n\t\treturn this.prefecture;\r\n\t}\r\n\r\n\tpublic String getCity() {\r\n\t\treturn this.city;\r\n\t}\r\n\r\n}\r\n<\/pre>\n<h3>Adapter.java(Customer2.java\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u4ef2\u4ecb\u3068\u306a\u308b\u30af\u30e9\u30b9)<\/h3>\n<pre class=\"lang:default decode:true\">package Adapter;\r\n\r\npublic class Adapter extends Customer1 {\r\n\r\n\tCustomer2 customer2;\r\n\r\n\tAdapter(Customer2 customer2){\r\n\t\t\/\/\u7d99\u627f\u5143\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u547c\u3073\u51fa\u3057\u306f\u30c0\u30df\u30fc\u3002\r\n\t\tsuper(null);\r\n\t\tthis.customer2 = customer2;\r\n\t}\r\n\r\n\t\/*\r\n\t * \u7d99\u627f\u5143\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u3001\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3066\u3001\u30a2\u30c0\u30d7\u30bf\u7528\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f5c\u6210\u3059\u308b\u3002\r\n\t *\/\r\n\tpublic String getAddress() {\r\n\t\treturn this.customer2.getPrefecture() + this.customer2.getCity();\r\n\t}\r\n\r\n}\r\n<\/pre>\n<h3>\u00a0\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2718\" src=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/05\/\u30a2\u30c0\u30d7\u30bf_\u5b9f\u884c\u7d50\u679c.png\" alt=\"\" width=\"282\" height=\"120\" \/><\/p>\n<p>\u30a2\u30c0\u30d7\u30bf\u3092\u4ecb\u3059\u308b\u3053\u3068\u3067\u3001\u65e2\u5b58\u30af\u30e9\u30b9\u3068\u540c\u3058\u3088\u3046\u306bsendPost\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u300cAdapter\u300d\u3063\u3066\u3069\u3093\u306a\u30d1\u30bf\u30fc\u30f3\uff1f \u65e2\u5b58\u306e\u30af\u30e9\u30b9\u306b\u3001\u5225\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\uff08\u30e1\u30bd\u30c3\u30c9\uff09\u3092\u6301\u305f\u305b\u305f\u3044\u5834\u5408\u306b\u4f7f\u3048\u307e\u3059\u3002 \u4f8b\u3048\u3070\u3001\u300c\u30af\u30e9\u30b9A\u300d\u3068\u3001\u300c\u30af\u30e9\u30b9A\u306b\u4f3c\u3066\u3044\u308b\u304c\u5fae\u5999\u306b\u7570\u306a\u308b\u30af\u30e9\u30b9B\u300d\u304c\u3042\u308a\u3001\u30af\u30e9\u30b9B\u3092\u30af\u30e9\u30b9A\u3068\u540c\u3058\u30d7 [&hellip;]","protected":false},"author":1,"featured_media":2723,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,29,21],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/2708"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2708"}],"version-history":[{"count":19,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/2708\/revisions"}],"predecessor-version":[{"id":20226,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/2708\/revisions\/20226"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/media\/2723"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2708"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}