|
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.twostep.TwoStepPseudoExporter
public class TwoStepPseudoExporter
Exporter to DTD-like format but without employing any DTD restrictions. It simply exports ELEMENT sth (regexp) and ATTLIST sth (each attribute). The format of export may be changed for debugging purposes of inferring method. It is here only for debugging purposes.
Field Summary | |
---|---|
static String |
DISPLAY_NAME
Name presented to user in dialogs. |
static String |
NAME
Name of this module. |
Constructor Summary | |
---|---|
TwoStepPseudoExporter()
|
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 |
Field Detail |
---|
public static final String NAME
public static final String DISPLAY_NAME
Constructor Detail |
---|
public TwoStepPseudoExporter()
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 |