|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.mff.ksi.jinfer.basicdtd.SchemaGeneratorImpl
public class SchemaGeneratorImpl
A simple DTD exporter.
Constructor Summary | |
---|---|
SchemaGeneratorImpl()
|
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(List<Element> grammar,
SchemaGeneratorCallback callback)
Start the schema export process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaGeneratorImpl()
Method Detail |
---|
public String getName()
NamedModule
getName
in interface NamedModule
public String getModuleDescription()
NamedModule
NamedModule.getDisplayName()
, but if the
module for example consists of more sub-modules, their names should be
listed here.
getModuleDescription
in interface NamedModule
public List<String> getCapabilities()
Capabilities
getCapabilities
in interface Capabilities
public void start(List<Element> grammar, SchemaGeneratorCallback callback) throws InterruptedException
SchemaGenerator
start
in interface SchemaGenerator
grammar
- Simplified grammar to be exported as XML schema.callback
- A callback object. After the schema is created, it must be
returned to the caller by invoking the finished()
method on this object.
InterruptedException
public String getDisplayName()
NamedModule
getDisplayName
in interface NamedModule
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |