|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gephi.io.exporter.plugin.ExporterGraphML
public class ExporterGraphML
Constructor Summary | |
---|---|
ExporterGraphML()
|
Method Summary | |
---|---|
boolean |
cancel()
Cancel the task. |
org.w3c.dom.Document |
createDocument()
|
boolean |
execute()
Run the export process. |
boolean |
exportData(org.w3c.dom.Document document,
HierarchicalGraph graph,
AttributeModel model)
|
FileType[] |
getFileTypes()
|
java.lang.String |
getName()
|
Workspace |
getWorkspace()
Returns the workspace from where data are exported |
boolean |
isExportAttributes()
|
boolean |
isExportColors()
|
boolean |
isExportHierarchy()
|
boolean |
isExportPosition()
|
boolean |
isExportSize()
|
boolean |
isExportVisible()
Returns true if only the visible graph has to be exported. |
boolean |
isNormalize()
|
void |
setExportAttributes(boolean exportAttributes)
|
void |
setExportColors(boolean exportColors)
|
void |
setExportHierarchy(boolean exportHierarchy)
|
void |
setExportPosition(boolean exportPosition)
|
void |
setExportSize(boolean exportSize)
|
void |
setExportVisible(boolean exportVisible)
Sets if only the visible graph has to be exported. |
void |
setNormalize(boolean normalize)
|
void |
setProgressTicket(ProgressTicket progressTicket)
Set the progress ticket for the long task. |
void |
setWorkspace(Workspace workspace)
Sets the worksapce from where to export data |
void |
setWriter(java.io.Writer writer)
Set the writer where to export. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExporterGraphML()
Method Detail |
---|
public boolean execute()
Exporter
execute
in interface Exporter
true
if the operation is successful,
false
if it has been cancelledpublic org.w3c.dom.Document createDocument() throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException
public boolean exportData(org.w3c.dom.Document document, HierarchicalGraph graph, AttributeModel model) throws java.lang.Exception
java.lang.Exception
public boolean cancel()
LongTask
true
if the task has been sucessfully cancelled, false
otherwise.
cancel
in interface LongTask
true
if the task has been sucessfully cancelled, false
otherwisepublic void setProgressTicket(ProgressTicket progressTicket)
LongTask
setProgressTicket
in interface LongTask
progressTicket
- the progress ticket for this taskpublic java.lang.String getName()
public FileType[] getFileTypes()
public void setExportAttributes(boolean exportAttributes)
public void setExportColors(boolean exportColors)
public void setExportPosition(boolean exportPosition)
public void setExportSize(boolean exportSize)
public void setNormalize(boolean normalize)
public boolean isExportAttributes()
public boolean isExportColors()
public boolean isExportPosition()
public boolean isExportSize()
public boolean isNormalize()
public boolean isExportVisible()
GraphExporter
true
if only the visible graph has to be exported.
isExportVisible
in interface GraphExporter
true
if only the visible graph has to be exported,
false
for the complete graph.public void setExportVisible(boolean exportVisible)
GraphExporter
false
,
the complete graph is exported.
setExportVisible
in interface GraphExporter
exportVisible
- the export visible parameter valuepublic void setWriter(java.io.Writer writer)
CharacterExporter
setWriter
in interface CharacterExporter
writer
- the writer the exporter is to writepublic Workspace getWorkspace()
Exporter
getWorkspace
in interface Exporter
public void setWorkspace(Workspace workspace)
Exporter
setWorkspace
in interface Exporter
workspace
- the workspace to exportpublic boolean isExportHierarchy()
public void setExportHierarchy(boolean exportHierarchy)
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |