Class MappingXmlParser
- java.lang.Object
-
- org.hibernate.validator.internal.xml.mapping.MappingXmlParser
-
public class MappingXmlParser extends Object
XML parser for validation-mapping files.- Author:
- Hardy Ferentschik, Marko Bekhta
-
-
Constructor Summary
Constructors Constructor Description MappingXmlParser(ConstraintCreationContext constraintCreationContext, JavaBeanHelper javaBeanHelper, ClassLoader externalClassLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationProcessingOptionsgetAnnotationProcessingOptions()Set<ConstrainedElement>getConstrainedElementsForClass(Class<?> beanClass)List<Class<?>>getDefaultSequenceForClass(Class<?> beanClass)Set<Class<?>>getXmlConfiguredClasses()voidparse(Set<InputStream> mappingStreams)Parses the given set of input stream representing XML constraint mappings.
-
-
-
Constructor Detail
-
MappingXmlParser
public MappingXmlParser(ConstraintCreationContext constraintCreationContext, JavaBeanHelper javaBeanHelper, ClassLoader externalClassLoader)
-
-
Method Detail
-
parse
public final void parse(Set<InputStream> mappingStreams)
Parses the given set of input stream representing XML constraint mappings.- Parameters:
mappingStreams- The streams to parse. Must support the mark/reset contract.
-
getAnnotationProcessingOptions
public final AnnotationProcessingOptions getAnnotationProcessingOptions()
-
getConstrainedElementsForClass
public final Set<ConstrainedElement> getConstrainedElementsForClass(Class<?> beanClass)
-
-