Class BioPAX_OWL_Writer
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.biopax.HelperClass
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.exporters.biopax.BioPAX_OWL_Writer
- All Implemented Interfaces:
OutputSerializer
,Serializer
public class BioPAX_OWL_Writer extends HelperClass implements OutputSerializer
Takes a graph with a biochemical pathway, filters all attributes that could
possibly belong to a BioPax-File and creates and OWL-File out of it
- Author:
- ricardo
-
Constructor Summary
Constructors Constructor Description BioPAX_OWL_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 stream, Graph g)
Writes the contents of the given graph to a stream.Methods inherited from class de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.biopax.HelperClass
returnAttributeByPath, returnAttributeByPath
-
Constructor Details
-
BioPAX_OWL_Writer
public BioPAX_OWL_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!
-
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:
stream
- The output stream to save the graph to.g
- The graph to save.- Throws:
IOException
-