uk.ac.manchester.cs.owl.owlapi.mansyntaxrenderer
Class ManchesterOWLSyntaxFrameRenderer

java.lang.Object
  extended by uk.ac.manchester.cs.owl.owlapi.mansyntaxrenderer.AbstractRenderer
      extended by uk.ac.manchester.cs.owl.owlapi.mansyntaxrenderer.ManchesterOWLSyntaxObjectRenderer
          extended by uk.ac.manchester.cs.owl.owlapi.mansyntaxrenderer.ManchesterOWLSyntaxFrameRenderer
All Implemented Interfaces:
OWLAnnotationAxiomVisitor, OWLAnnotationObjectVisitor, OWLAnnotationValueVisitor, OWLAxiomVisitor, OWLClassExpressionVisitor, OWLDataRangeVisitor, OWLDataVisitor, OWLEntityVisitor, OWLIndividualVisitor, OWLObjectVisitor, OWLPropertyExpressionVisitor, SWRLObjectVisitor

public class ManchesterOWLSyntaxFrameRenderer
extends ManchesterOWLSyntaxObjectRenderer
implements OWLEntityVisitor

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Apr-2007


Field Summary
 
Fields inherited from class uk.ac.manchester.cs.owl.owlapi.mansyntaxrenderer.ManchesterOWLSyntaxObjectRenderer
LINE_LENGTH
 
Constructor Summary
ManchesterOWLSyntaxFrameRenderer(OWLOntologyManager owlOntologyManager, OWLOntology ontology, java.io.Writer writer, ShortFormProvider entityShortFormProvider)
           
ManchesterOWLSyntaxFrameRenderer(OWLOntologyManager owlOntologyManager, java.util.Set<OWLOntology> ontologies, OWLOntology defaultOntology, java.io.Writer writer, ShortFormProvider entityShortFormProvider)
           
 
Method Summary
 void addFilteredAxiomType(AxiomType axiomType)
           
 void addRendererListener(RendererListener listener)
           
 void clearFilteredAxiomTypes()
           
 java.util.Set<OWLOntology> getOntologies()
           
 boolean isDisplayed(OWLAxiom axiom)
           
 boolean isFiltered(AxiomType axiomType)
           
 void removeRendererListener(RendererListener listener)
           
 void setAxiomFilter(OWLAxiomFilter axiomFilter)
           
 void setRenderExtensions(boolean renderExtensions)
           
 void setRenderingDirector(RenderingDirector renderingDirector)
           
 java.util.Set<OWLAxiom> write(OWLAnnotationProperty property)
           
 java.util.Set<OWLAxiom> write(OWLClass cls)
           
 java.util.Set<OWLAxiom> write(OWLDataProperty property)
           
 java.util.Set<OWLAxiom> write(OWLDatatype datatype)
           
 java.util.Set<OWLAxiom> write(OWLIndividual individual)
           
 java.util.Set<OWLAxiom> write(OWLObjectPropertyExpression property)
           
 java.util.Set<OWLAxiom> write(SWRLRule rule)
           
 java.util.Set<OWLAnnotationAssertionAxiom> writeAnnotations(OWLAnnotationSubject subject)
           
 void writeComment(java.lang.String comment, boolean placeOnNewline)
           
 void writeComment(java.lang.String commentDelim, java.lang.String comment, boolean placeOnNewline)
           
protected  void writeEntitySectionEnd(java.lang.String type)
           
 java.util.Set<OWLAxiom> writeFrame(OWLEntity entity)
           
 void writeFullURI(java.lang.String uri)
           
 void writeOntology()
           
 void writeOntologyHeader(OWLOntology ontology)
           
 void writePrefixMap()
           
 void writeSection(ManchesterOWLSyntax keyword)
           
 void writeSection(ManchesterOWLSyntax keyword, java.util.Collection<? extends java.lang.Object> content, java.lang.String delimeter, boolean newline, OWLOntology... ontologies)
           
 void writeSection(ManchesterOWLSyntax keyword, java.util.Map<? extends java.lang.Object,java.util.Set<OWLAnnotation>> content, java.lang.String delimeter, boolean newline, OWLOntology... ontologies)
           
 
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.mansyntaxrenderer.ManchesterOWLSyntaxObjectRenderer
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, writeCommaSeparatedList
 
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.mansyntaxrenderer.AbstractRenderer
flush, getIndent, getShortFormProvider, incrementTab, isUseTabbing, isUseWrapping, popTab, pushTab, setUseTabbing, setUseWrapping, write, write, write, write, writeFrameKeyword, writeNewLine, writeSectionKeyword, writeSpace, writeTab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLEntityVisitor
visit, visit, visit, visit, visit, visit
 

Constructor Detail

ManchesterOWLSyntaxFrameRenderer

public ManchesterOWLSyntaxFrameRenderer(OWLOntologyManager owlOntologyManager,
                                        OWLOntology ontology,
                                        java.io.Writer writer,
                                        ShortFormProvider entityShortFormProvider)

ManchesterOWLSyntaxFrameRenderer

public ManchesterOWLSyntaxFrameRenderer(OWLOntologyManager owlOntologyManager,
                                        java.util.Set<OWLOntology> ontologies,
                                        OWLOntology defaultOntology,
                                        java.io.Writer writer,
                                        ShortFormProvider entityShortFormProvider)
Method Detail

setRenderingDirector

public void setRenderingDirector(RenderingDirector renderingDirector)

addRendererListener

public void addRendererListener(RendererListener listener)

removeRendererListener

public void removeRendererListener(RendererListener listener)

setAxiomFilter

public void setAxiomFilter(OWLAxiomFilter axiomFilter)

clearFilteredAxiomTypes

public void clearFilteredAxiomTypes()

addFilteredAxiomType

public void addFilteredAxiomType(AxiomType axiomType)

setRenderExtensions

public void setRenderExtensions(boolean renderExtensions)

getOntologies

public java.util.Set<OWLOntology> getOntologies()

writeOntology

public void writeOntology()
                   throws OWLRendererException
Throws:
OWLRendererException

writeOntologyHeader

public void writeOntologyHeader(OWLOntology ontology)

writePrefixMap

public void writePrefixMap()

writeFullURI

public void writeFullURI(java.lang.String uri)

isFiltered

public boolean isFiltered(AxiomType axiomType)

isDisplayed

public boolean isDisplayed(OWLAxiom axiom)

writeFrame

public java.util.Set<OWLAxiom> writeFrame(OWLEntity entity)

write

public java.util.Set<OWLAxiom> write(OWLClass cls)

writeEntitySectionEnd

protected void writeEntitySectionEnd(java.lang.String type)

write

public java.util.Set<OWLAxiom> write(OWLObjectPropertyExpression property)

write

public java.util.Set<OWLAxiom> write(OWLDataProperty property)

write

public java.util.Set<OWLAxiom> write(OWLIndividual individual)

write

public java.util.Set<OWLAxiom> write(OWLDatatype datatype)

write

public java.util.Set<OWLAxiom> write(SWRLRule rule)

write

public java.util.Set<OWLAxiom> write(OWLAnnotationProperty property)

writeAnnotations

public java.util.Set<OWLAnnotationAssertionAxiom> writeAnnotations(OWLAnnotationSubject subject)

writeSection

public void writeSection(ManchesterOWLSyntax keyword)

writeSection

public void writeSection(ManchesterOWLSyntax keyword,
                         java.util.Map<? extends java.lang.Object,java.util.Set<OWLAnnotation>> content,
                         java.lang.String delimeter,
                         boolean newline,
                         OWLOntology... ontologies)

writeSection

public void writeSection(ManchesterOWLSyntax keyword,
                         java.util.Collection<? extends java.lang.Object> content,
                         java.lang.String delimeter,
                         boolean newline,
                         OWLOntology... ontologies)

writeComment

public void writeComment(java.lang.String comment,
                         boolean placeOnNewline)

writeComment

public void writeComment(java.lang.String commentDelim,
                         java.lang.String comment,
                         boolean placeOnNewline)