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.booleanvalidFor(Graph g)voidwrite(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:SerializerThe file extensions the serializer can read or write.- Specified by:
getExtensionsin interfaceSerializer- Returns:
- DOCUMENT ME!
- See Also:
Serializer.getExtensions()
-
getFileTypeDescriptions
Description copied from interface:SerializerThe file type descriptions of the files the serializer can read or write.- Specified by:
getFileTypeDescriptionsin interfaceSerializer- Returns:
- DOCUMENT ME!
-
validFor
- Specified by:
validForin interfaceOutputSerializer- Parameters:
g- The graph to be serialized- Returns:
-
write
Description copied from interface:OutputSerializerWrites the contents of the given graph to a stream.- Specified by:
writein interfaceOutputSerializer- Parameters:
o- The output stream to save the graph to.g- The graph to save.- See Also:
OutputSerializer.write(OutputStream, Graph)
-