blob: 795771c00ee2e27c3b19db85e777cdb2d2acbe65 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
-->
<module>
<inherits name="com.google.gwt.regexp.RegExp" />
<inherits name="com.google.gwt.i18n.I18N" />
<inherits name="com.google.gwt.user.RemoteServiceDTO" />
<inherits name="javax.validation.Validation" />
<source path="client" />
<super-source path="super" />
<public path="public" />
<replace-with
class="com.google.gwt.validation.client.GwtConstraintValidatorFactory">
<when-type-is class="javax.validation.ConstraintValidatorFactory" />
</replace-with>
<replace-with
class="com.google.gwt.validation.client.GwtMessageInterpolator">
<when-type-is class="javax.validation.MessageInterpolator" />
</replace-with>
<replace-with
class="com.google.gwt.validation.client.GwtValidationProviderResolver">
<when-type-is class="javax.validation.ValidationProviderResolver" />
</replace-with>
<replace-with class="com.google.gwt.validation.client.impl.NullUserValidationMessageResolver">
<!-- User can override this to have Custom messages -->
<when-type-is class="com.google.gwt.validation.client.UserValidationMessagesResolver" />
</replace-with>
<replace-with
class="com.google.gwt.validation.client.spi.GwtValidationProvider">
<when-type-is class="javax.validation.spi.ValidationProvider" />
</replace-with>
<!-- Generator -->
<generate-with class="com.google.gwt.validation.rebind.ValidatorGenerator">
<any>
<when-type-assignable class="javax.validation.Validator" />
<when-type-assignable
class="com.google.gwt.validation.client.impl.GwtSpecificValidator" />
</any>
</generate-with>
</module>