public abstract class OWLObjectCardinalityRestrictionSerializer<R extends org.semanticweb.owlapi.model.OWLObjectCardinalityRestriction> extends OWLObjectSerializer<R>
| Constructor and Description |
|---|
OWLObjectCardinalityRestrictionSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract R |
createRestriction(int cardinality,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression property,
org.semanticweb.owlapi.model.OWLClassExpression filler,
org.semanticweb.owlapi.model.OWLDataFactory dataFactory) |
protected R |
readObject(BinaryOWLInputStream inputStream)
Reads the binary representation of an
OWLObject from a DataOutputStream. |
protected void |
writeObject(R object,
BinaryOWLOutputStream outputStream)
Writes a binary representation of an
OWLObject to a DataOutputStream. |
read, writepublic OWLObjectCardinalityRestrictionSerializer()
protected void writeObject(R 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<R extends org.semanticweb.owlapi.model.OWLObjectCardinalityRestriction>object - The object to be written. Not null.IOException - if there was a problem with writing the object to the specified stream..protected R 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<R extends org.semanticweb.owlapi.model.OWLObjectCardinalityRestriction>IOExceptionBinaryOWLParseExceptionprotected abstract R createRestriction(int cardinality, org.semanticweb.owlapi.model.OWLObjectPropertyExpression property, org.semanticweb.owlapi.model.OWLClassExpression filler, org.semanticweb.owlapi.model.OWLDataFactory dataFactory)
Copyright © 2015. All Rights Reserved.