cz.cuni.mff.ksi.jinfer.basicxsd.elementsexporters
Class RootElementExporter
java.lang.Object
cz.cuni.mff.ksi.jinfer.basicxsd.elementsexporters.AbstractElementsExporter
cz.cuni.mff.ksi.jinfer.basicxsd.elementsexporters.RootElementExporter
public final class RootElementExporter
- extends AbstractElementsExporter
Exporter which retrieves the root element from a preprocessing result and
performs recursive exportation. The whole element subtree is exported
either by defining elements "inline" or by using globally defined types.
Elements which will reference global types are also retrieved from the
result of preprocessing.
Method Summary |
void |
run()
Performs export. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootElementExporter
public RootElementExporter(PreprocessingResult preprocessingResult,
Indentator indentator)
- Constructor.
- Parameters:
preprocessingResult
- Result of preprocessing to retrieve the root elements
and global elements.indentator
- Instance of Indentator
to be used to indent output.
run
public void run()
throws InterruptedException
- Description copied from class:
AbstractElementsExporter
- Performs export. Has to be implemented in derived exporters.
- Specified by:
run
in class AbstractElementsExporter
- Throws:
InterruptedException
Generated on Fri Dec 9 00:01:25 CET 2011