public final class JenaIOHandler extends BioPAXIOHandlerAdapter
com.hp.hpl.jena
package.Constructor and Description |
---|
JenaIOHandler()
If set to true, "error-mode: strict" option will be passed to Jena reader.
|
JenaIOHandler(BioPAXFactory factory,
BioPAXLevel level) |
JenaIOHandler(BioPAXLevel level) |
Modifier and Type | Method and Description |
---|---|
void |
convertToOWL(Model model,
OutputStream outputStream)
Writes a model in OWL format using the an output stream.
|
protected void |
createAndBind(Model model)
This method provides a hook for the implementers of this abstract class to create objects themselves and bind
the properties to the objects.
|
protected void |
init(InputStream in)
This method provides a hook for the implementers of this abstract class to perform the initial reading from the
input stream.
|
com.hp.hpl.jena.ontology.OntModel |
readJenaModel(InputStream in) |
protected Map<String,String> |
readNameSpaces()
This method provides a hook for the implementers of this abstract class to set the namespaces of the model.
|
protected void |
resetEditorMap()
Updates the member EditorMap for the new BioPAX level and factory (different implementations of
EditorMap can be used in modules, e.g.
|
bindValue, convertFromMultipleOwlFiles, convertFromOWL, convertToOWL, createAndAdd, fixReusedPEPs, getEditorMap, getFactory, getLevel, getRDFCommentEditor, getReusedPEPHelper, isConvertingFromLevel1ToLevel2, isFixReusedPEPs, isTreatNilAsNull, L1ToL2Fixes, reset, resetLevel, resourceFixes, setConvertingFromLevel1ToLevel2, setEditorMap, setFactory, treatNilAsNull
public JenaIOHandler()
public JenaIOHandler(BioPAXLevel level)
public JenaIOHandler(BioPAXFactory factory, BioPAXLevel level)
protected void resetEditorMap()
BioPAXIOHandlerAdapter
resetEditorMap
in class BioPAXIOHandlerAdapter
protected void init(InputStream in)
BioPAXIOHandlerAdapter
init
in class BioPAXIOHandlerAdapter
in
- BioPAX RDF/XML input streamprotected Map<String,String> readNameSpaces()
BioPAXIOHandlerAdapter
readNameSpaces
in class BioPAXIOHandlerAdapter
protected void createAndBind(Model model)
BioPAXIOHandlerAdapter
createAndBind
in class BioPAXIOHandlerAdapter
model
- to be populatedpublic void convertToOWL(Model model, OutputStream outputStream)
model
- model to be converted into OWL formatoutputStream
- output stream to which the model will be writtenpublic com.hp.hpl.jena.ontology.OntModel readJenaModel(InputStream in)
Copyright © 2015 BioPAX. All rights reserved.