| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN" | |
| "http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd"> | |
| <!-- | |
| 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.user.User" /> | |
| <inherits name="com.google.gwt.regexp.RegExp" /> | |
| <inherits name="javax.validation.Validation" /> | |
| <source path="client" /> | |
| <super-source path="super" /> | |
| <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.GwtTraversableResolver"> | |
| <when-type-is class="javax.validation.TraversableResolver" /> | |
| </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.GwtValidatorContext"> | |
| <when-type-is class="javax.validation.ValidatorContext" /> | |
| </replace-with> | |
| <replace-with class="com.google.gwt.validation.client.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> | |
| <!-- Generators --> | |
| <generate-with class="com.google.gwt.validation.rebind.ValidatorGenerator"> | |
| <when-type-assignable class="javax.validation.Validator" /> | |
| </generate-with> | |
| <generate-with | |
| class="com.google.gwt.validation.rebind.GwtSpecificValidatorGenerator"> | |
| <when-type-assignable | |
| class="com.google.gwt.validation.client.impl.GwtSpecificValidator" /> | |
| </generate-with> | |
| </module> |