<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kaiseh</author_name>
  <author_url>https://blog.hatena.ne.jp/kaiseh/</author_url>
  <blog_title>kaisehのブログ</blog_title>
  <blog_url>https://kaiseh.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>OValのようなアノテーションベースのバリデーションを採用する場合、ラベル部（「○○の入力は必須です」の○○の部分）の国際化をどうするかという話の続き。gettext風に、プロパティファイルを自動生成（または差分マージ）するツールを作る方法が現実的かなあ。例えば以下のクラスを読み込んで、 package foo.dto; public class EmployeeDto { private String name; private String address; @NotNull public String getName() { return name; } @NotNull public …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaiseh.hatenadiary.org%2Fentry%2F20071207%2F1197053179&quot; title=&quot; バリデーションメッセージのラベル部を国際化 - kaisehのブログ&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>2007-12-07 03:46:19</published>
  <title> バリデーションメッセージのラベル部を国際化</title>
  <type>rich</type>
  <url>https://kaiseh.hatenadiary.org/entry/20071207/1197053179</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
