org.hibernate.validator.internal.xml

## Class ValidationXmlParser

- java.lang.Object
- - org.hibernate.validator.internal.xml.ValidationXmlParser

-     public class ValidationXmlParser
      extends Object

  Parser for validation.xml using JAXB.
  Author:
    Hardy Ferentschik, Gunnar Morling

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ValidationXmlParser()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `BootstrapConfiguration` | `parseValidationXml()` Tries to check whether a validation.xml file exists and parses it.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ValidationXmlParser

          public ValidationXmlParser()

  - ### Method Detail

    - #### parseValidationXml

          public final BootstrapConfiguration parseValidationXml()

      Tries to check whether a validation.xml file exists and parses it.
      Returns:
        The parameters parsed out of validation.xml wrapped in an instance of `ConfigurationImpl.ValidationBootstrapParameters`.

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved