| 
 | jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.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_NAMEName presented to user in dialogs. | 
| static String | NAMEName 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 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(List<Element> grammar,
                  SchemaGeneratorCallback callback)
           throws InterruptedException
SchemaGenerator
start in interface SchemaGeneratorgrammar - 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.
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 | |||||||||