KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > config > schema > beanfactory > ConfigBeanFactory


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.config.schema.beanfactory;
5
6 import org.apache.xmlbeans.XmlException;
7 import org.xml.sax.SAXException JavaDoc;
8
9 import java.io.IOException JavaDoc;
10 import java.io.InputStream JavaDoc;
11
12 import javax.xml.parsers.ParserConfigurationException JavaDoc;
13
14 /**
15  * Knows how to turn a stream containing XML into the appropriate XMLBean.
16  */

17 public interface ConfigBeanFactory {
18
19   BeanWithErrors createBean(InputStream JavaDoc in, String JavaDoc sourceDescription) throws IOException JavaDoc, SAXException JavaDoc,
20       ParserConfigurationException JavaDoc, XmlException;
21
22 }
23
Popular Tags