01: /*
02: /*
03: * Copyright 2004 The Apache Software Foundation.
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.myfaces.config;
18:
19: import java.io.InputStream;
20: import java.io.IOException;
21:
22: import org.xml.sax.SAXException;
23:
24: /**
25: * Parses a single InputStream into an unmarshalled faces config Object, that can
26: * be processed by a respective FacesConfigDispenser.
27: *
28: * @author Manfred Geiler (latest modification by $Author: mbr $)
29: * @version $Revision: 511030 $ $Date: 2007-02-23 18:34:38 +0100 (Fr, 23 Feb 2007) $
30: */
31: public interface FacesConfigUnmarshaller<T> {
32: public T getFacesConfig(InputStream in, String systemId)
33: throws IOException, SAXException;
34: }
|