?? kaon2connection.html
字號:
<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="openOntology(java.lang.String, java.util.Map)"><!-- --></A><H3>
openOntology</H3>
<PRE>
<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A> <B>openOntology</B>(java.lang.String ontologyURI,
java.util.Map<java.lang.String,java.lang.Object> parameters)
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A>,
java.lang.InterruptedException</PRE>
<DL>
<DD>Opens an ontology with given ontology URI. If an ontology with the given URI has already been opened, it is returned without reopening it; otherwise, the ontology text is accessed and parsed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontologyURI</CODE> - the ontology URI of the ontology<DD><CODE>parameters</CODE> - the parameters for the ontology
<DT><B>Returns:</B><DD>the ontology
<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
<DD><CODE>java.lang.InterruptedException</CODE> - thrown if the open operation is interrupted</DL>
</DD>
</DL>
<HR>
<A NAME="openOntology(java.lang.String, java.util.Map, org.semanticweb.kaon2.api.ProgressListener)"><!-- --></A><H3>
openOntology</H3>
<PRE>
<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A> <B>openOntology</B>(java.lang.String ontologyURI,
java.util.Map<java.lang.String,java.lang.Object> parameters,
<A HREF="../../../../org/semanticweb/kaon2/api/ProgressListener.html" title="interface in org.semanticweb.kaon2.api">ProgressListener</A> progressListener)
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A>,
java.lang.InterruptedException</PRE>
<DL>
<DD>Opens an ontology with given ontology URI. If an ontology with the given URI has already been opened, it is returned without reopening it; otherwise, the ontology text is accessed and parsed. This method can be supplied an optional listener. The following phases are supported: <dl> <dt>PARSING_RDF_FILE</dt> <dd>the phase of parsing the RDF file</dd> <dt>READING_AXIOMS</dt> <dd>the phase of generating the axioms</dd> <dt>ACCESSING_ONTOLOGY_SERVER</dt> <dd>if the ontology is on the server, then open events are not forwarded to the client</dd> </dl>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontologyURI</CODE> - the ontology URI of the ontology<DD><CODE>parameters</CODE> - the parameters for the ontology<DD><CODE>progressListener</CODE> - receives notification about the progress of the ontology import (can be <code>null</code>)
<DT><B>Returns:</B><DD>the ontology
<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
<DD><CODE>java.lang.InterruptedException</CODE> - thrown if the open operation is interrupted</DL>
</DD>
</DL>
<HR>
<A NAME="createOntology(java.lang.String, java.util.Map)"><!-- --></A><H3>
createOntology</H3>
<PRE>
<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A> <B>createOntology</B>(java.lang.String ontologyURI,
java.util.Map<java.lang.String,java.lang.Object> parameters)
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Creates an ontology with given physical URI.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontologyURI</CODE> - the ontology URI of the ontology<DD><CODE>parameters</CODE> - the parameters for the ontology
<DT><B>Returns:</B><DD>the ontology
<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="closeOntologies(java.util.Set)"><!-- --></A><H3>
closeOntologies</H3>
<PRE>
void <B>closeOntologies</B>(java.util.Set<<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>> ontologies)
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Closes the ontologies in the specified set. If an ontology is included in another ontology, the including ontologies are closed as well.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontologies</CODE> - the set of ontologies
<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="deleteOntologies(java.util.Set)"><!-- --></A><H3>
deleteOntologies</H3>
<PRE>
void <B>deleteOntologies</B>(java.util.Set<<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>> ontologies)
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Physically deletes the ontologies in the specified set. If an ontology is included in another ontology, the including ontologies are closed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontologies</CODE> - the set of ontologies to delete
<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="getOntologies()"><!-- --></A><H3>
getOntologies</H3>
<PRE>
java.util.Set<<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>> <B>getOntologies</B>()
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Returns the set of ontologies open by the connection.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the set of ontologies objects represented by this connection
<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="getOntologyURIs()"><!-- --></A><H3>
getOntologyURIs</H3>
<PRE>
java.util.Set<java.lang.String> <B>getOntologyURIs</B>()
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Returns the set of logical URIs of all ontologies open by the connection.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the set of ontologies objects represented by this connection
<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="getModules()"><!-- --></A><H3>
getModules</H3>
<PRE>
java.util.Set<<A HREF="../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A>> <B>getModules</B>()
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Returns the set of modules of all ontologies opened by this connection. This set can include <code>null</code> if some ontology does not have a module.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the set of modules of ontologies (can contain <code>null</code>)
<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="getOntologies(org.semanticweb.kaon2.api.logic.Term)"><!-- --></A><H3>
getOntologies</H3>
<PRE>
java.util.Set<<A HREF="../../../../org/semanticweb/kaon2/api/Ontology.html" title="interface in org.semanticweb.kaon2.api">Ontology</A>> <B>getOntologies</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>Returns the set of onotlogies opened by this connection that have the given module.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - the module
<DT><B>Returns:</B><DD>the set of ontologies with the given 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="cancelPendingOpen()"><!-- --></A><H3>
cancelPendingOpen</H3>
<PRE>
void <B>cancelPendingOpen</B>()
throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Cancels the open operation that is pending on this connection. If no open operation is pending, this method has no effect.
<P>
<DD><DL>
<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>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/KAON2Connection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/semanticweb/kaon2/api/Fact.html" title="interface in org.semanticweb.kaon2.api"><B>PREV CLASS</B></A>
<A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/semanticweb/kaon2/api/KAON2Connection.html" target="_top"><B>FRAMES</B></A>
<A HREF="KAON2Connection.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
增大字號
Ctrl + =
減小字號
Ctrl + -