Browse Source
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1368 50f2f4bb-b051-0410-bef5-90022cba6387pull/1/head
5 changed files with 93 additions and 30 deletions
@ -0,0 +1,27 @@
@@ -0,0 +1,27 @@
|
||||
/* |
||||
* Copyright 2002-2009 the original author or authors. |
||||
* |
||||
* 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. |
||||
*/ |
||||
|
||||
package org.springframework.ui.validation; |
||||
|
||||
/** |
||||
* TODO Document ValidateResults. |
||||
* |
||||
* @author Keith Donald |
||||
* @since 3.0 |
||||
*/ |
||||
public interface ValidateResults { |
||||
|
||||
} |
||||
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
/* |
||||
* Copyright 2002-2009 the original author or authors. |
||||
* |
||||
* 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. |
||||
*/ |
||||
|
||||
package org.springframework.ui.validation; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* TODO Document Validator. |
||||
* |
||||
* @author Keith Donald |
||||
* @since 3.0 |
||||
*/ |
||||
public interface Validator { |
||||
|
||||
/** |
||||
* TODO Document validate(). |
||||
* |
||||
* @param model |
||||
* @param properties |
||||
* @return |
||||
*/ |
||||
ValidateResults validate(Object model, List<String> properties); |
||||
|
||||
} |
||||
@ -1,5 +0,0 @@
@@ -1,5 +0,0 @@
|
||||
package org.springframework.ui.validation; |
||||
|
||||
public interface ValidateResults { |
||||
|
||||
} |
||||
@ -1,9 +0,0 @@
@@ -1,9 +0,0 @@
|
||||
package org.springframework.ui.validation; |
||||
|
||||
import java.util.List; |
||||
|
||||
public interface Validator { |
||||
|
||||
ValidateResults validate(Object model, List<String> properties); |
||||
|
||||
} |
||||
Loading…
Reference in new issue