org.hibernate.validator.cfg.defs
Class URLDef

java.lang.Object
  extended by org.hibernate.validator.cfg.ConstraintDef<URLDef,URL>
      extended by org.hibernate.validator.cfg.defs.URLDef

public class URLDef
extends ConstraintDef<URLDef,URL>

Author:
Hardy Ferentschik

Field Summary
 
Fields inherited from class org.hibernate.validator.cfg.ConstraintDef
constraintType, parameters
 
Constructor Summary
URLDef()
           
 
Method Summary
 URLDef flags(Pattern.Flag... flags)
           
 URLDef host(String host)
           
 URLDef port(int port)
           
 URLDef protocol(String protocol)
           
 URLDef regexp(String regexp)
           
 
Methods inherited from class org.hibernate.validator.cfg.ConstraintDef
addParameter, groups, message, payload, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URLDef

public URLDef()
Method Detail

protocol

public URLDef protocol(String protocol)

host

public URLDef host(String host)

port

public URLDef port(int port)

regexp

public URLDef regexp(String regexp)

flags

public URLDef flags(Pattern.Flag... flags)


Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved