Class PatternFacet

  • All Implemented Interfaces:
    Facet

    public class PatternFacet
    extends Object
    implements Facet
    Author:
    Marcel Valovy - marcel.valovy@oracle.com
    Since:
    2.6
    • Constructor Detail

      • PatternFacet

        public PatternFacet​(String regexp,
                            jakarta.validation.constraints.Pattern.Flag[] flags)
    • Method Detail

      • getRegexp

        public String getRegexp()
      • getFlags

        public jakarta.validation.constraints.Pattern.Flag[] getFlags()
      • accept

        public <R,​P> R accept​(FacetVisitor<R,​P> visitor,
                                    P p)
        Specified by:
        accept in interface Facet