01: package net.xoetrope.xml;
02:
03: import java.io.Reader;
04:
05: /**
06: * An interface for abstracting the Xml parsers used by XUI
07: * <p> Copyright (c) Xoetrope Ltd., 2002-2003</p>
08: * <p> $Revision: 1.2 $</p>
09: * <p> License: see License.txt</p>
10: */
11: public interface XmlParser {
12: public XmlElement createXmlElement(String name);
13:
14: public XmlElement parse(Reader input);
15:
16: public XmlElement parse(Reader input, String schemaSource);
17: }
|