cz.cuni.mff.ksi.jinfer.xsdimporter.interfaces
Interface XSDParser
- All Superinterfaces:
- NamedModule
- All Known Implementing Classes:
- DOMParser, SAXParser
public interface XSDParser
- extends NamedModule
Interface providing common API for XSD importers.
parse
List<Element> parse(InputStream stream)
throws XSDException,
InterruptedException
- Parses input Schema and returns the rules extracted from it.
- Parameters:
stream
- Stream containing XSDSchema document.
- Returns:
- Rules contained within. Empty list if there are no rules or an error occurs.
- Throws:
XSDException
- When parsing error occurs.
InterruptedException
- When user cancels the operation.
Generated on Fri Dec 9 00:01:25 CET 2011