|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecty.module.YModule
y.module.io.IOHandlerModule
yext.graphml.module.XMLToGraphMLInput
A module that imports graphs given in arbitrary XML format. A XSL stylesheet must be specified that transforms the input to a valid GraphML file. This module provides an option handler that allows to specify the location of the XSL stylesheet. Additionally, it provides a list of predefined XSL stylesheets useful for specific XML formats.
| Field Summary |
| Fields inherited from class y.module.YModule |
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS |
| Constructor Summary | |
XMLToGraphMLInput()
Creates a new instance of XMLToGrapHMLInput. |
|
| Method Summary | |
protected IOHandler |
createIOHandler()
Returns an XMLXSLIOHandler that uses
GraphMLIOHandler as the delegate reader. |
OptionHandler |
createOptionHandler()
Creates a new OptionHandler that allows to specify the location of a stylesheet. |
String |
getXSLFile()
Returns the XSL stylesheet that will be used to transform the given XML file to a valid GraphML file. |
protected void |
init()
|
void |
setXSLFile(String fileName)
Sets the XSL stylesheet that will be used to transform the given XML file to a valid GraphML file. |
| Methods inherited from class y.module.io.IOHandlerModule |
addTilingOptions, addViewPortOptions, adoptViewPortOptions, configureViewPort, getIOHandler, getIOMode, getURL, mainrun, setIOHandler, setIOMode, setURL |
| Methods inherited from class y.module.YModule |
addModuleListener, createThread, dispose, exceptionHappened, fitGraph2DView, getAuthor, getDescription, getExitStatus, getGraph2D, getGraph2DView, getModuleName, getOptionHandler, getTimer, getView, isAbortable, isBackupRealizersEnabled, removeModuleListener, run, setBackupRealizersEnabled, setExitStatus, setGraph2D, setModuleName, setOptionHandler, start, startAsThread |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLToGraphMLInput()
| Method Detail |
protected IOHandler createIOHandler()
XMLXSLIOHandler that uses
GraphMLIOHandler as the delegate reader.
public OptionHandler createOptionHandler()
protected void init()
public void setXSLFile(String fileName)
public String getXSLFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||