org.hibernate.validator.cfg.defs
Class PatternDef

java.lang.Object
  extended by org.hibernate.validator.cfg.ConstraintDef<PatternDef,Pattern>
      extended by org.hibernate.validator.cfg.defs.PatternDef

public class PatternDef
extends ConstraintDef<PatternDef,Pattern>

Author:
Hardy Ferentschik

Field Summary
 
Fields inherited from class org.hibernate.validator.cfg.ConstraintDef
constraintType, parameters
 
Constructor Summary
PatternDef()
           
 
Method Summary
 PatternDef flags(Pattern.Flag[] flags)
           
 PatternDef 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

PatternDef

public PatternDef()
Method Detail

flags

public PatternDef flags(Pattern.Flag[] flags)

regexp

public PatternDef regexp(String regexp)


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