<?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>JSR 303のBean ValidationにEarly Draft Previewが出たとのことで、早速目を通してみました。個人的に面白いと思った機能を挙げていきます。 Multi-valued constraints 以下の例のように、同一種類のアノテーションを配列で複数指定できるようです。 public class Bean { @Patterns({ @Pattern(regex = &quot;^[0-9-]+$&quot;, message = &quot;numbers only&quot;), @Pattern(regex = &quot;^...-....$&quot;, message = &quot;must match XXX-XXXX…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaiseh.hatenadiary.org%2Fentry%2F20080326%2F1206534426&quot; title=&quot; Bean Validation Early Draft Preview - 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>2008-03-26 21:27:06</published>
  <title> Bean Validation Early Draft Preview</title>
  <type>rich</type>
  <url>https://kaiseh.hatenadiary.org/entry/20080326/1206534426</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
