📄 ontology.html
字号:
<BR>
Replaces all occurrences of one term in this ontology with another term.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#resumeNotifications()">resumeNotifications</A></B>()</CODE>
<BR>
Resumes the the change notifications for this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#saveOntology(java.lang.String, java.io.File, java.lang.String)">saveOntology</A></B>(java.lang.String formatName,
java.io.File file,
java.lang.String encoding)</CODE>
<BR>
Exports this ontolgy into specified format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#saveOntology(java.lang.String, java.io.OutputStream, java.lang.String)">saveOntology</A></B>(java.lang.String formatName,
java.io.OutputStream outputStream,
java.lang.String encoding)</CODE>
<BR>
Exports this ontolgy into specified format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#saveOntology(java.lang.String, java.lang.String, java.lang.String)">saveOntology</A></B>(java.lang.String formatName,
java.lang.String physicalURI,
java.lang.String encoding)</CODE>
<BR>
Exports this ontolgy into specified format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#saveOntology(java.lang.String, java.io.Writer, java.lang.String)">saveOntology</A></B>(java.lang.String formatName,
java.io.Writer writer,
java.lang.String encoding)</CODE>
<BR>
Exports this ontolgy into specified format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#setDuplicateAxiomsThrowException(boolean)">setDuplicateAxiomsThrowException</A></B>(boolean throwExceptionOnDuplicates)</CODE>
<BR>
Determines if duplicate additions of axioms to this ontology should result in an exception.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#setLockTimeout(long)">setLockTimeout</A></B>(long lockTimeout)</CODE>
<BR>
Determines the time in miliseconds how much one should wait for acquiring locks.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#setModule(org.semanticweb.kaon2.api.logic.Term)">setModule</A></B>(<A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A> module)</CODE>
<BR>
Sets the module of this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html#suspendNotifications()">suspendNotifications</A></B>()</CODE>
<BR>
Suspends the change notifications for this ontology.</TD>
</TR>
</TABLE>
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getConnection()"><!-- --></A><H3>
getConnection</H3>
<PRE>
<A HREF="../../../../org/semanticweb/kaon2/api/KAON2Connection.html" title="interface in org.semanticweb.kaon2.api">KAON2Connection</A> <B>getConnection</B>()</PRE>
<DL>
<DD>Returns the connection associated with this ontology.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the connection of the ontology</DL>
</DD>
</DL>
<HR>
<A NAME="getParameters()"><!-- --></A><H3>
getParameters</H3>
<PRE>
java.util.Map<java.lang.String,java.lang.Object> <B>getParameters</B>()</PRE>
<DL>
<DD>Returns the parameters of this ontology.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the parameters of this ontology</DL>
</DD>
</DL>
<HR>
<A NAME="getOntologyURI()"><!-- --></A><H3>
getOntologyURI</H3>
<PRE>
java.lang.String <B>getOntologyURI</B>()</PRE>
<DL>
<DD>Returns the URI of the ontology.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the URI of the ontology</DL>
</DD>
</DL>
<HR>
<A NAME="getPhysicalURI()"><!-- --></A><H3>
getPhysicalURI</H3>
<PRE>
java.lang.String <B>getPhysicalURI</B>()</PRE>
<DL>
<DD>Returns the physical URI of the ontology.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the physical URI of the ontology</DL>
</DD>
</DL>
<HR>
<A NAME="getModule()"><!-- --></A><H3>
getModule</H3>
<PRE>
<A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A> <B>getModule</B>()
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Returns the module of this ontology.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the module of this ontology (<code>null</code> for the default module)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>
<A NAME="setModule(org.semanticweb.kaon2.api.logic.Term)"><!-- --></A><H3>
setModule</H3>
<PRE>
void <B>setModule</B>(<A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A> module)
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Sets the module of this ontology.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - the module of this ontology (<code>null</code> for the default module)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>
<A NAME="addToImports(org.semanticweb.kaon2.api.Ontology)"><!-- --></A><H3>
addToImports</H3>
<PRE>
void <B>addToImports</B>(<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A> ontology)
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Adds specified ontology to the set of ontologies imported in this ontology.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontology</CODE> - the ontology that is imported
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>
<A NAME="removeFromImports(org.semanticweb.kaon2.api.Ontology)"><!-- --></A><H3>
removeFromImports</H3>
<PRE>
void <B>removeFromImports</B>(<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A> ontology)
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Removes specified ontology from the set of ontologies imported in this ontology.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontology</CODE> - the ontology that is imported
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>
<A NAME="getImportedOntologies()"><!-- --></A><H3>
getImportedOntologies</H3>
<PRE>
java.util.Set<<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>> <B>getImportedOntologies</B>()</PRE>
<DL>
<DD>Returns the set of imported ontologies. This method returns only the directly imported ontologies.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the set of imported ontologies</DL>
</DD>
</DL>
<HR>
<A NAME="getAllImportedOntologies()"><!-- --></A><H3>
getAllImportedOntologies</H3>
<PRE>
java.util.Set<<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>> <B>getAllImportedOntologies</B>()</PRE>
<DL>
<DD>Returns the set of all imported ontologies (including the ones which are indirectly imported).
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the set of all imported ontologies</DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -