|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.mff.ksi.jinfer.basicigg.IGGeneratorImpl
public class IGGeneratorImpl
A trivial implementation of IGGenerator module. Works with XML documents,
DTD schemas, XPath queries and provides an extension framework to enable
support for additional languages
(see Processor).
| Constructor Summary | |
|---|---|
IGGeneratorImpl()
|
|
| Method Summary | |
|---|---|
List<String> |
getCapabilities()
Returns the list of capabilities (strings) of this module. |
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. |
void |
start(Input input,
IGGeneratorCallback callback)
Start the IG generation process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IGGeneratorImpl()
| Method Detail |
|---|
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 List<String> getCapabilities()
Capabilities
getCapabilities in interface Capabilities
public void start(Input input,
IGGeneratorCallback callback)
throws InterruptedException
IGGenerator
start in interface IGGeneratorinput - Input data. Implementation of IGGenerator should retrieve the
list of initial grammar rules from this input alone.callback - A callback object. After all the IG rules are retrieved, their
list must be sent to the next stages by calling the finished()
method of this object.
InterruptedExceptionpublic String getDisplayName()
NamedModule
getDisplayName in interface NamedModule
|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||