public abstract class AbstractAxiomSerializer<O extends org.semanticweb.owlapi.model.OWLAxiom> extends OWLObjectSerializer<O>
| Constructor and Description |
|---|
AbstractAxiomSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract O |
readAxiom(BinaryOWLInputStream inputStream,
Set<org.semanticweb.owlapi.model.OWLAnnotation> annotations) |
protected O |
readObject(BinaryOWLInputStream inputStream)
Reads the binary representation of an
OWLObject from a DataOutputStream. |
protected abstract void |
writeAxiom(O axiom,
BinaryOWLOutputStream outputStream) |
protected void |
writeObject(O object,
BinaryOWLOutputStream outputStream)
Writes a binary representation of an
OWLObject to a DataOutputStream. |
read, writeprotected final void writeObject(O object, BinaryOWLOutputStream outputStream) throws IOException
OWLObjectSerializerOWLObject to a DataOutputStream. This method does NOT write the object type marker out -
only the data that represents the object.writeObject in class OWLObjectSerializer<O extends org.semanticweb.owlapi.model.OWLAxiom>object - The object to be written. Not null.IOException - if there was a problem with writing the object to the specified stream..protected abstract void writeAxiom(O axiom, BinaryOWLOutputStream outputStream) throws IOException
IOExceptionprotected final O readObject(BinaryOWLInputStream inputStream) throws IOException, BinaryOWLParseException
OWLObjectSerializerOWLObject from a DataOutputStream. The representation is
NOT prefixed with the type marker for the object type.readObject in class OWLObjectSerializer<O extends org.semanticweb.owlapi.model.OWLAxiom>IOExceptionBinaryOWLParseExceptionprotected abstract O readAxiom(BinaryOWLInputStream inputStream, Set<org.semanticweb.owlapi.model.OWLAnnotation> annotations) throws IOException, BinaryOWLParseException
IOExceptionBinaryOWLParseExceptionCopyright © 2015. All Rights Reserved.