public class ManchesterOWLSyntaxFrameRenderer extends ManchesterOWLSyntaxObjectRenderer implements OWLEntityVisitor
LINE_LENGTH| Constructor and Description |
|---|
ManchesterOWLSyntaxFrameRenderer(OWLOntologyManager owlOntologyManager,
OWLOntology ontology,
Writer writer,
ShortFormProvider entityShortFormProvider)
Deprecated.
|
ManchesterOWLSyntaxFrameRenderer(OWLOntologyManager owlOntologyManager,
Set<OWLOntology> ontologies,
OWLOntology defaultOntology,
Writer writer,
ShortFormProvider entityShortFormProvider)
Deprecated.
|
ManchesterOWLSyntaxFrameRenderer(OWLOntology ontology,
Writer writer,
ShortFormProvider entityShortFormProvider)
Instantiates a new manchester owl syntax frame renderer.
|
ManchesterOWLSyntaxFrameRenderer(Set<OWLOntology> ontologies,
OWLOntology defaultOntology,
Writer writer,
ShortFormProvider entityShortFormProvider)
Deprecated.
|
ManchesterOWLSyntaxFrameRenderer(Set<OWLOntology> ontologies,
Writer writer,
ShortFormProvider entityShortFormProvider)
Instantiates a new manchester owl syntax frame renderer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFilteredAxiomType(AxiomType<?> axiomType)
Adds the filtered axiom type.
|
void |
addRendererListener(RendererListener listener)
Adds the renderer listener.
|
void |
clearFilteredAxiomTypes()
Clear filtered axiom types.
|
Set<OWLOntology> |
getOntologies()
Gets the ontologies.
|
boolean |
isDisplayed(OWLAxiom axiom)
Checks if is displayed.
|
boolean |
isFiltered(AxiomType<?> axiomType)
Checks if is filtered.
|
void |
removeRendererListener(RendererListener listener)
Removes the renderer listener.
|
void |
setAxiomFilter(OWLAxiomFilter axiomFilter)
Sets the axiom filter.
|
void |
setRenderExtensions(boolean renderExtensions)
Sets the render extensions.
|
void |
setRenderingDirector(RenderingDirector renderingDirector)
Sets the rendering director.
|
Set<OWLAxiom> |
write(OWLAnnotationProperty property) |
Set<OWLAxiom> |
write(OWLClass cls) |
Set<OWLAxiom> |
write(OWLDataProperty property) |
Set<OWLAxiom> |
write(OWLDatatype datatype) |
Set<OWLAxiom> |
write(OWLIndividual individual) |
Set<OWLAxiom> |
write(OWLObjectPropertyExpression property) |
Set<OWLAxiom> |
write(SWRLRule rule) |
Set<OWLAnnotationAssertionAxiom> |
writeAnnotations(OWLAnnotationSubject subject)
Write annotations.
|
void |
writeComment(String comment,
boolean placeOnNewline)
Write comment.
|
void |
writeComment(String commentDelim,
String comment,
boolean placeOnNewline) |
protected void |
writeEntitySectionEnd(String type)
Write entity section end.
|
Set<OWLAxiom> |
writeFrame(OWLEntity entity)
Write frame.
|
void |
writeFullURI(String uri)
Write full uri.
|
void |
writeOntology()
Write ontology.
|
void |
writeOntologyHeader(OWLOntology ontology)
Write ontology header.
|
void |
writePrefixMap()
Write prefix map.
|
void |
writeSection(ManchesterOWLSyntax keyword)
Write section.
|
void |
writeSection(ManchesterOWLSyntax keyword,
Collection<?> content,
String delimeter,
boolean newline,
OWLOntology... ontologiesList)
Write section.
|
void |
writeSection(ManchesterOWLSyntax keyword,
SectionMap content,
String delimeter,
boolean newline,
OWLOntology... ontologiesList)
Write section.
|
sort, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, write, write, writeAnnotations, writeCommaSeparatedListflush, getIndent, getShortFormProvider, incrementTab, isUseTabbing, isUseWrapping, popTab, pushTab, setUseTabbing, setUseWrapping, write, write, write, write, write, writeFrameKeyword, writeNewLine, writeSectionKeyword, writeSpace, writeTab@Deprecated public ManchesterOWLSyntaxFrameRenderer(OWLOntologyManager owlOntologyManager, OWLOntology ontology, Writer writer, ShortFormProvider entityShortFormProvider)
owlOntologyManager - the owl ontology managerontology - the ontologywriter - the writerentityShortFormProvider - the entity short form providerpublic ManchesterOWLSyntaxFrameRenderer(OWLOntology ontology, Writer writer, ShortFormProvider entityShortFormProvider)
ontology - the ontologywriter - the writerentityShortFormProvider - the entity short form provider@Deprecated public ManchesterOWLSyntaxFrameRenderer(OWLOntologyManager owlOntologyManager, Set<OWLOntology> ontologies, OWLOntology defaultOntology, Writer writer, ShortFormProvider entityShortFormProvider)
owlOntologyManager - the owl ontology managerontologies - the ontologiesdefaultOntology - the default ontologywriter - the writerentityShortFormProvider - the entity short form provider@Deprecated public ManchesterOWLSyntaxFrameRenderer(Set<OWLOntology> ontologies, OWLOntology defaultOntology, Writer writer, ShortFormProvider entityShortFormProvider)
ontologies - the ontologiesdefaultOntology - the default ontologywriter - the writerentityShortFormProvider - the entity short form providerpublic ManchesterOWLSyntaxFrameRenderer(Set<OWLOntology> ontologies, Writer writer, ShortFormProvider entityShortFormProvider)
ontologies - the ontologieswriter - the writerentityShortFormProvider - the entity short form providerpublic void setRenderingDirector(RenderingDirector renderingDirector)
renderingDirector - the new rendering directorpublic void addRendererListener(RendererListener listener)
listener - the listenerpublic void removeRendererListener(RendererListener listener)
listener - the listenerpublic void setAxiomFilter(OWLAxiomFilter axiomFilter)
axiomFilter - the new axiom filterpublic void clearFilteredAxiomTypes()
public void addFilteredAxiomType(AxiomType<?> axiomType)
axiomType - the axiom typepublic void setRenderExtensions(boolean renderExtensions)
renderExtensions - the new render extensionspublic Set<OWLOntology> getOntologies()
public void writeOntology()
throws OWLRendererException
OWLRendererException - the oWL renderer exceptionpublic void writeOntologyHeader(OWLOntology ontology)
ontology - the ontologypublic void writePrefixMap()
public void writeFullURI(String uri)
uri - the uripublic boolean isFiltered(AxiomType<?> axiomType)
axiomType - the axiom typepublic boolean isDisplayed(OWLAxiom axiom)
axiom - the axiompublic Set<OWLAxiom> writeFrame(OWLEntity entity)
entity - the entityprotected void writeEntitySectionEnd(String type)
type - the typepublic Set<OWLAxiom> write(OWLObjectPropertyExpression property)
property - the propertypublic Set<OWLAxiom> write(OWLDataProperty property)
property - the propertypublic Set<OWLAxiom> write(OWLIndividual individual)
individual - the individualpublic Set<OWLAxiom> write(OWLDatatype datatype)
datatype - the datatypepublic Set<OWLAxiom> write(OWLAnnotationProperty property)
property - the propertypublic Set<OWLAnnotationAssertionAxiom> writeAnnotations(OWLAnnotationSubject subject)
subject - the subjectpublic void writeSection(ManchesterOWLSyntax keyword)
keyword - the keywordpublic void writeSection(ManchesterOWLSyntax keyword, SectionMap content, String delimeter, boolean newline, OWLOntology... ontologiesList)
keyword - the keywordcontent - the contentdelimeter - the delimeternewline - the newlineontologiesList - the ontologies listpublic void writeSection(ManchesterOWLSyntax keyword, Collection<?> content, String delimeter, boolean newline, OWLOntology... ontologiesList)
keyword - the keywordcontent - the contentdelimeter - the delimeternewline - the newlineontologiesList - the ontologies listpublic void writeComment(String comment, boolean placeOnNewline)
comment - the commentplaceOnNewline - the place on newlineCopyright © 2014 The University of Manchester. All Rights Reserved.