Package org.hibernate.validator.metadata

Examples of org.hibernate.validator.metadata.AnnotationIgnores


    XmlMappingParser mappingParser = new XmlMappingParser( constraintHelper );
    mappingParser.parse( mappingStreams );

    Set<Class<?>> processedClasses = mappingParser.getProcessedClasses();
    AnnotationIgnores annotationIgnores = mappingParser.getAnnotationIgnores();
    for ( Class<?> clazz : processedClasses ) {
      @SuppressWarnings("unchecked")
      Class<T> beanClass = ( Class<T> ) clazz;
      BeanMetaDataImpl<T> metaData = new BeanMetaDataImpl<T>(
          beanClass, constraintHelper, annotationIgnores, beanMetaDataCache
View Full Code Here


  private final Map<Class<?>, List<Member>> cascadedMembers;
  private final Map<Class<?>, List<Class<?>>> defaultSequences;

  public XmlMappingParser(ConstraintHelper constraintHelper) {
    this.constraintHelper = constraintHelper;
    this.annotationIgnores = new AnnotationIgnores();
    this.constraintMap = newHashMap();
    this.cascadedMembers = newHashMap();
    this.defaultSequences = newHashMap();
  }
View Full Code Here

          context.getDefaultSequence( beanClass ),
          context.getDefaultGroupSequenceProvider( beanClass ),
          constraints,
          methodMetaDataMap,
          cascadedMembers,
          new AnnotationIgnores(),
          beanMetaDataCache
      );

      beanMetaDataCache.addBeanMetaData( beanClass, metaData );
    }
View Full Code Here

    XmlMappingParser mappingParser = new XmlMappingParser( constraintHelper );
    mappingParser.parse( mappingStreams );

    Set<Class<?>> xmlConfiguredClasses = mappingParser.getXmlConfiguredClasses();
    AnnotationIgnores annotationIgnores = mappingParser.getAnnotationIgnores();
    for ( Class<?> clazz : xmlConfiguredClasses ) {
      @SuppressWarnings("unchecked")
      Class<T> beanClass = (Class<T>) clazz;

      List<Class<?>> classes = ReflectionHelper.computeClassHierarchy( beanClass, true );
View Full Code Here

    XmlMappingParser mappingParser = new XmlMappingParser( constraintHelper );
    mappingParser.parse( mappingStreams );

    Set<Class<?>> processedClasses = mappingParser.getProcessedClasses();
    AnnotationIgnores annotationIgnores = mappingParser.getAnnotationIgnores();
    for ( Class<?> clazz : processedClasses ) {
      @SuppressWarnings("unchecked")
      Class<T> beanClass = ( Class<T> ) clazz;
      BeanMetaDataImpl<T> metaData = new BeanMetaDataImpl<T>(
          beanClass, constraintHelper, annotationIgnores
View Full Code Here

  private final Map<Class<?>, List<Member>> cascadedMembers;
  private final Map<Class<?>, List<Class<?>>> defaultSequences;

  public XmlMappingParser(ConstraintHelper constraintHelper) {
    this.constraintHelper = constraintHelper;
    this.annotationIgnores = new AnnotationIgnores();
    this.constraintMap = new HashMap<Class<?>, List<MetaConstraint<?, ? extends Annotation>>>();
    this.cascadedMembers = new HashMap<Class<?>, List<Member>>();
    this.defaultSequences = new HashMap<Class<?>, List<Class<?>>>();
  }
View Full Code Here

          beanClass,
          constraintHelper,
          mapping.getDefaultSequence( beanClass ),
          constraints,
          cascadedMembers,
          new AnnotationIgnores(),
          beanMetaDataCache
      );

      beanMetaDataCache.addBeanMetaData( beanClass, metaData );
    }
View Full Code Here

    XmlMappingParser mappingParser = new XmlMappingParser( constraintHelper );
    mappingParser.parse( mappingStreams );

    Set<Class<?>> xmlConfiguredClasses = mappingParser.getXmlConfiguredClasses();
    AnnotationIgnores annotationIgnores = mappingParser.getAnnotationIgnores();
    for ( Class<?> clazz : xmlConfiguredClasses ) {
      @SuppressWarnings("unchecked")
      Class<T> beanClass = ( Class<T> ) clazz;

      List<Class<?>> classes = ReflectionHelper.computeClassHierarchy( beanClass );
View Full Code Here

  private final Map<Class<?>, List<Member>> cascadedMembers;
  private final Map<Class<?>, List<Class<?>>> defaultSequences;

  public XmlMappingParser(ConstraintHelper constraintHelper) {
    this.constraintHelper = constraintHelper;
    this.annotationIgnores = new AnnotationIgnores();
    this.constraintMap = new HashMap<Class<?>, List<MetaConstraint<?, ? extends Annotation>>>();
    this.cascadedMembers = new HashMap<Class<?>, List<Member>>();
    this.defaultSequences = new HashMap<Class<?>, List<Class<?>>>();
  }
View Full Code Here

    XmlMappingParser mappingParser = new XmlMappingParser( constraintHelper );
    mappingParser.parse( mappingStreams );

    Set<Class<?>> processedClasses = mappingParser.getProcessedClasses();
    AnnotationIgnores annotationIgnores = mappingParser.getAnnotationIgnores();
    for ( Class<?> clazz : processedClasses ) {
      @SuppressWarnings("unchecked")
      Class<T> beanClass = ( Class<T> ) clazz;
      BeanMetaDataImpl<T> metaData = new BeanMetaDataImpl<T>(
          beanClass, constraintHelper, annotationIgnores
View Full Code Here

TOP

Related Classes of org.hibernate.validator.metadata.AnnotationIgnores

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.