ch.uzh.ifi.attempto.acewiki.owl
Class OWLXMLExporter

java.lang.Object
  extended by ch.uzh.ifi.attempto.acewiki.core.OntologyExporter
      extended by ch.uzh.ifi.attempto.acewiki.owl.OWLXMLExporter

public class OWLXMLExporter
extends OntologyExporter

This exporter generates an OWL/XML representation of the ontology.

Author:
Tobias Kuhn

Constructor Summary
OWLXMLExporter(boolean consistent)
          Creates a new OWL/XML exporter.
 
Method Summary
 java.lang.String getContentType()
          Returns the content type for the given export type.
 java.lang.String getFileSuffix()
          Returns the file suffix for the given export type.
 java.lang.String getName()
          Returns the name of this exporter as shown to the user.
 boolean isApplicable()
          Returns whether this ontology exporter is applicable in the current context.
protected  void writeContent()
          This internal method should write the export content.
 
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.OntologyExporter
export, getOntology, getOntologyElements, getOutputStream, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLXMLExporter

public OWLXMLExporter(boolean consistent)
Creates a new OWL/XML exporter.

Parameters:
consistent - Defines if only the consistent part of the ontology should be considered.
Method Detail

writeContent

protected void writeContent()
                     throws java.io.IOException
Description copied from class: OntologyExporter
This internal method should write the export content.

Specified by:
writeContent in class OntologyExporter
Throws:
java.io.IOException - when an IO problem occurs.

getName

public java.lang.String getName()
Description copied from class: OntologyExporter
Returns the name of this exporter as shown to the user.

Specified by:
getName in class OntologyExporter
Returns:
The name of this exporter.

isApplicable

public boolean isApplicable()
Description copied from class: OntologyExporter
Returns whether this ontology exporter is applicable in the current context.

Specified by:
isApplicable in class OntologyExporter
Returns:
true if this ontology exporter is applicable.

getFileSuffix

public java.lang.String getFileSuffix()
Description copied from class: OntologyExporter
Returns the file suffix for the given export type.

Specified by:
getFileSuffix in class OntologyExporter
Returns:
The file suffix.

getContentType

public java.lang.String getContentType()
Description copied from class: OntologyExporter
Returns the content type for the given export type.

Specified by:
getContentType in class OntologyExporter
Returns:
The content type.


Copyright 2008-2012, AceWiki developers