01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.config.schema.beanfactory;
05:
06: import org.apache.xmlbeans.XmlException;
07: import org.xml.sax.SAXException;
08:
09: import java.io.IOException;
10: import java.io.InputStream;
11:
12: import javax.xml.parsers.ParserConfigurationException;
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 in, String sourceDescription)
20: throws IOException, SAXException,
21: ParserConfigurationException, XmlException;
22:
23: }
|