|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.mff.ksi.jinfer.xsdimportsax.SAXParser
public class SAXParser
Class responsible for creating Initial Grammar rules from XSD Schema.
Provides XSD Schema parsing support using SAXParserFactory.
| Constructor Summary | |
|---|---|
SAXParser()
|
|
| Method Summary | |
|---|---|
String |
getDisplayName()
Returns a user friendly name of the module. |
String |
getModuleDescription()
Returns the information about this module's inner workings. |
String |
getName()
Returns a user friendly yet unique name of the module. |
List<Element> |
parse(InputStream stream)
Parses input Schema and returns the rules extracted from it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SAXParser()
| Method Detail |
|---|
public List<Element> parse(InputStream stream)
throws XSDException,
InterruptedException
XSDParser
parse in interface XSDParserstream - Stream containing XSDSchema document.
XSDException - When parsing error occurs.
InterruptedException - When user cancels the operation.public String getName()
NamedModule
getName in interface NamedModulepublic String getModuleDescription()
NamedModuleNamedModule.getDisplayName(), but if the
module for example consists of more sub-modules, their names should be
listed here.
getModuleDescription in interface NamedModulepublic String getDisplayName()
NamedModule
getDisplayName in interface NamedModule
|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||