public class OWLFacetRestrictionSerializer extends OWLObjectSerializer<org.semanticweb.owlapi.model.OWLFacetRestriction>
| Constructor and Description |
|---|
OWLFacetRestrictionSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static org.semanticweb.owlapi.vocab.OWLFacet |
getFacet(int facetMarker)
Gets the
OWLFacet for the specified facet marker index. |
static int |
getFacetMarker(org.semanticweb.owlapi.vocab.OWLFacet facet)
Gets the facet marker for a given facet.
|
protected org.semanticweb.owlapi.model.OWLFacetRestriction |
readObject(BinaryOWLInputStream inputStream)
Reads the binary representation of an
OWLObject from a DataOutputStream. |
protected void |
writeObject(org.semanticweb.owlapi.model.OWLFacetRestriction object,
BinaryOWLOutputStream outputStream)
Writes a binary representation of an
OWLObject to a DataOutputStream. |
read, writeprotected void writeObject(org.semanticweb.owlapi.model.OWLFacetRestriction 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<org.semanticweb.owlapi.model.OWLFacetRestriction>object - The object to be written. Not null.IOException - if there was a problem with writing the object to the specified stream..protected org.semanticweb.owlapi.model.OWLFacetRestriction 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<org.semanticweb.owlapi.model.OWLFacetRestriction>IOExceptionBinaryOWLParseExceptionpublic static int getFacetMarker(org.semanticweb.owlapi.vocab.OWLFacet facet)
facet - The facet. Not null.public static org.semanticweb.owlapi.vocab.OWLFacet getFacet(int facetMarker)
OWLFacet for the specified facet marker index.facetMarker - The facet marker index (>= 0, <= 10).OWLFacet.IndexOutOfBoundsException - if the facet marker is out of the specified range.Copyright © 2015. All Rights Reserved.