jInfer

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.


Method Summary
 List<Element> parse(InputStream stream)
          Parses input Schema and returns the rules extracted from it.
 
Methods inherited from interface cz.cuni.mff.ksi.jinfer.base.interfaces.NamedModule
getDisplayName, getModuleDescription, getName
 

Method Detail

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.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011