KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cocoon > components > source > impl > SourceDeferredValidity


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.cocoon.components.source.impl;
17
18 import org.apache.excalibur.source.Source;
19 import org.apache.excalibur.source.SourceValidity;
20 import org.apache.excalibur.source.impl.validity.DeferredValidity;
21
22 /**
23  * Implementation of a {@link Source} that gets its content
24  * by invoking a pipeline.
25  *
26  * @deprecated This class is not used and will be removed in 2.2.
27  *
28  * @author <a HREF="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
29  * @version CVS $Id: SourceDeferredValidity.java 165288 2005-04-29 10:18:28Z cziegeler $
30  */

31 public final class SourceDeferredValidity implements DeferredValidity {
32
33     private Source source;
34     
35     public SourceDeferredValidity(Source source) {
36         this.source = source;
37     }
38     
39     /**
40      * @see org.apache.excalibur.source.impl.validity.DeferredValidity#getValidity()
41      */

42     public SourceValidity getValidity() {
43         return this.source.getValidity();
44     }
45 }
46
Popular Tags