Class GMLXMLWriter
java.lang.Object
org.graffiti.plugins.ios.exporters.gmlxml.GMLXMLWriter
- All Implemented Interfaces:
OutputSerializer
,Serializer
public class GMLXMLWriter extends Object implements OutputSerializer
Provides a GML writer. This writer does not yet support all GML features yet.
See http://infosun.fmi.uni-passau.de/Graphlet/GML/ for more details
- Version:
- $Revision: 1.8 $
-
Constructor Summary
Constructors Constructor Description GMLXMLWriter()
Constructs a new GML writer. -
Method Summary
Modifier and Type Method Description String[]
getExtensions()
The file extensions the serializer can read or write.String[]
getFileTypeDescriptions()
The file type descriptions of the files the serializer can read or write.boolean
validFor(Graph g)
void
write(OutputStream o, Graph g)
Writes the contents of the given graph to a stream.
-
Constructor Details
-
GMLXMLWriter
public GMLXMLWriter()Constructs a new GML writer.
-
-
Method Details
-
getExtensions
Description copied from interface:Serializer
The file extensions the serializer can read or write.- Specified by:
getExtensions
in interfaceSerializer
- Returns:
- DOCUMENT ME!
- See Also:
Serializer.getExtensions()
-
getFileTypeDescriptions
Description copied from interface:Serializer
The file type descriptions of the files the serializer can read or write.- Specified by:
getFileTypeDescriptions
in interfaceSerializer
- Returns:
- DOCUMENT ME!
-
validFor
- Specified by:
validFor
in interfaceOutputSerializer
- Parameters:
g
- The graph to be serialized- Returns:
-
write
Description copied from interface:OutputSerializer
Writes the contents of the given graph to a stream.- Specified by:
write
in interfaceOutputSerializer
- Parameters:
o
- The output stream to save the graph to.g
- The graph to save.- See Also:
OutputSerializer.write(OutputStream, Graph)
-