Package org.hibernate.validator.internal.metadata.core

Examples of org.hibernate.validator.internal.metadata.core.AnnotationProcessingOptionsImpl


  private final AnnotationProcessingOptionsImpl annotationProcessingOptions;
  private final Set<Class<?>> configuredTypes;
  private final Set<TypeConstraintMappingContextImpl<?>> typeContexts;

  public DefaultConstraintMapping() {
    this.annotationProcessingOptions = new AnnotationProcessingOptionsImpl();
    this.configuredTypes = newHashSet();
    this.typeContexts = newHashSet();
  }
View Full Code Here


    SCHEMAS_BY_VERSION.put( "1.1", "META-INF/validation-mapping-1.1.xsd" );
  }

  public XmlMappingParser(ConstraintHelper constraintHelper, ParameterNameProvider parameterNameProvider) {
    this.constraintHelper = constraintHelper;
    this.annotationProcessingOptions = new AnnotationProcessingOptionsImpl();
    this.defaultSequences = newHashMap();
    this.constrainedElements = newHashMap();
    this.xmlParserHelper = new XmlParserHelper();
    this.parameterNameProvider = parameterNameProvider;
  }
View Full Code Here

    SCHEMAS_BY_VERSION.put( "1.1", "META-INF/validation-mapping-1.1.xsd" );
  }

  public XmlMappingParser(ConstraintHelper constraintHelper, ParameterNameProvider parameterNameProvider) {
    this.constraintHelper = constraintHelper;
    this.annotationProcessingOptions = new AnnotationProcessingOptionsImpl();
    this.defaultSequences = newHashMap();
    this.constrainedElements = newHashMap();
    this.xmlParserHelper = new XmlParserHelper();
    this.parameterNameProvider = parameterNameProvider;
  }
View Full Code Here

  private final AnnotationProcessingOptionsImpl annotationProcessingOptions;
  private final Set<Class<?>> configuredTypes;
  private final Set<TypeConstraintMappingContextImpl<?>> typeContexts;

  public DefaultConstraintMapping() {
    this.annotationProcessingOptions = new AnnotationProcessingOptionsImpl();
    this.configuredTypes = newHashSet();
    this.typeContexts = newHashSet();
  }
View Full Code Here

  /**
   * @return returns the annotation ignores from the non annotation based meta data providers
   */
  private AnnotationProcessingOptions getAnnotationProcessingOptionsFromNonDefaultProviders() {
    AnnotationProcessingOptions options = new AnnotationProcessingOptionsImpl();
    for ( MetaDataProvider metaDataProvider : metaDataProviders ) {
      options.merge( metaDataProvider.getAnnotationProcessingOptions() );
    }

    return options;
  }
View Full Code Here

    // if we only have one mapping we can return the context of just this mapping
    if ( mappings.size() == 1 ) {
      return mappings.iterator().next().getAnnotationProcessingOptions();
    }

    AnnotationProcessingOptions options = new AnnotationProcessingOptionsImpl();

    for ( DefaultConstraintMapping mapping : mappings ) {
      options.merge( mapping.getAnnotationProcessingOptions() );
    }

    return options;
  }
View Full Code Here

  @BeforeClass
  public void setup() {
    provider = new TypeAnnotationAwareMetaDataProvider(
        new ConstraintHelper(),
        new DefaultParameterNameProvider(),
        new AnnotationProcessingOptionsImpl()
    );
  }
View Full Code Here

    );
  }

  @Override
  public AnnotationProcessingOptions getAnnotationProcessingOptions() {
    return new AnnotationProcessingOptionsImpl();
  }
View Full Code Here

  @BeforeMethod
  public void setUpProvider() {
    provider = new AnnotationMetaDataProvider(
        new ConstraintHelper(),
        new DefaultParameterNameProvider(),
        new AnnotationProcessingOptionsImpl()
    );
  }
View Full Code Here

  private final AnnotationProcessingOptionsImpl annotationProcessingOptions;
  private final Set<Class<?>> configuredTypes;
  private final Set<TypeConstraintMappingContextImpl<?>> typeContexts;

  public DefaultConstraintMapping() {
    this.annotationProcessingOptions = new AnnotationProcessingOptionsImpl();
    this.configuredTypes = newHashSet();
    this.typeContexts = newHashSet();
  }
View Full Code Here

TOP

Related Classes of org.hibernate.validator.internal.metadata.core.AnnotationProcessingOptionsImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.