org.apache.bval.jsr303.xml
Class ValidationMappingParser
java.lang.Object
org.apache.bval.jsr303.xml.ValidationMappingParser
public class ValidationMappingParser
- extends Object
Uses JAXB to parse constraints.xml based on validation-mapping-1.0.xsd.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationMappingParser
public ValidationMappingParser(ApacheValidatorFactory factory)
- Create a new ValidationMappingParser instance.
- Parameters:
factory
-
processMappingConfig
public void processMappingConfig(Set<InputStream> xmlStreams)
throws ValidationException
- Parse files with constraint mappings and collect information in the factory.
- Parameters:
xmlStreams
- - one or more contraints.xml file streams to parse
- Throws:
ValidationException
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.