oor.modules.lang
Class CommonLogic

java.lang.Object
  extended by oor.modules.lang.CommonLogic
All Implemented Interfaces:
Module, OntologyLanguage
Direct Known Subclasses:
CLIF

public class CommonLogic
extends java.lang.Object
implements OntologyLanguage

ISO 24707 Common Logic.

Author:
Mike Dean
See Also:
Common Logic Home Page

Constructor Summary
CommonLogic()
           
 
Method Summary
 Ontology createOntology()
          Create an empty ontology.
 java.util.Iterator<Term> listTerms()
           
 java.util.List<TermType> listTermTypes()
          List the types of terms associated with this language.
 Ontology parse(java.lang.String string)
          Parse a string to create an ontology.
 Ontology parse(java.net.URI uri)
          Parse the content at the specified URI to create an ontology.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonLogic

public CommonLogic()
Method Detail

createOntology

public Ontology createOntology()
Description copied from interface: OntologyLanguage
Create an empty ontology.

Specified by:
createOntology in interface OntologyLanguage

listTerms

public java.util.Iterator<Term> listTerms()

parse

public Ontology parse(java.lang.String string)
Description copied from interface: OntologyLanguage
Parse a string to create an ontology.

Specified by:
parse in interface OntologyLanguage

parse

public Ontology parse(java.net.URI uri)
Description copied from interface: OntologyLanguage
Parse the content at the specified URI to create an ontology.

Specified by:
parse in interface OntologyLanguage

listTermTypes

public java.util.List<TermType> listTermTypes()
Description copied from interface: OntologyLanguage
List the types of terms associated with this language.

Specified by:
listTermTypes in interface OntologyLanguage