📄 kaon2exception.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>Ontology.</B><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>Ontology.</B><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>Ontology.</B><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>Ontology.</B><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>Ontology.</B><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>Ontology.</B><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>KAON2Connection.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Connection.html#setParameter(java.lang.String, java.lang.Object)">setParameter</A></B>(java.lang.String parameterName,
java.lang.Object parameterValue)</CODE>
<BR>
Sets the connection property with the given name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B>Request.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/Request.html#size()">size</A></B>()</CODE>
<BR>
Returns the number of results in this ontology.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B>Cursor.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/Cursor.html#size()">size</A></B>()</CODE>
<BR>
Returns the number of objects in the cursor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B>Request.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/Request.html#sizeAll()">sizeAll</A></B>()</CODE>
<BR>
Returns the number of results in this and all included ontologies.</TD>
</TR>
</TABLE>
<P>
<A NAME="org.semanticweb.kaon2.api.formatting"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Uses of <A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A> in <A HREF="../../../../../org/semanticweb/kaon2/api/formatting/package-summary.html">org.semanticweb.kaon2.api.formatting</A></FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/semanticweb/kaon2/api/formatting/package-summary.html">org.semanticweb.kaon2.api.formatting</A> that throw <A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>OntologyFormatting.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/formatting/OntologyFormatting.html#addWhitespaceAfter(org.semanticweb.kaon2.api.Axiom, java.lang.String)">addWhitespaceAfter</A></B>(<A HREF="../../../../../org/semanticweb/kaon2/api/Axiom.html" title="interface in org.semanticweb.kaon2.api">Axiom</A> axiom,
java.lang.String text)</CODE>
<BR>
Adds a whitespace formatting element after the given axiom.</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>OntologyFormatting.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/formatting/OntologyFormatting.html#addWhitespaceBefore(org.semanticweb.kaon2.api.Axiom, java.lang.String)">addWhitespaceBefore</A></B>(<A HREF="../../../../../org/semanticweb/kaon2/api/Axiom.html" title="interface in org.semanticweb.kaon2.api">Axiom</A> axiom,
java.lang.String text)</CODE>
<BR>
Adds a whitespace formatting element before the given axiom.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B>FormattingElementCursor.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/formatting/FormattingElementCursor.html#afterLast()">afterLast</A></B>()</CODE>
<BR>
Returns <code>true</code> if this iterator is after the last formatting element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B>FormattingElementCursor.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/formatting/FormattingElementCursor.html#beforeFirst()">beforeFirst</A></B>()</CODE>
<BR>
Returns <code>true</code> if this iterator is before the first formatting element</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B>OntologyFormatting.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/formatting/OntologyFormatting.html#canPreserveFormattingForAxiom(org.semanticweb.kaon2.api.Axiom)">canPreserveFormattingForAxiom</A></B>(<A HREF="../../../../../org/semanticweb/kaon2/api/Axiom.html" title="interface in org.semanticweb.kaon2.api">Axiom</A> axiom)</CODE>
<BR>
Returns <code>true</code> if formatting can be preserved for ths supplied axiom.</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>OntologyFormatting.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/formatting/OntologyFormatting.html#clear()">clear</A></B>()</CODE>
<BR>
Clear the formatting for all objects.</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>FormattingElementCursor.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/formatting/FormattingElementCursor.html#close()">close</A></B>()</CODE>
<BR>
Closes the cursor, unlocks the ontology, and releases all resources used.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../org/semanticweb/kaon2/api/formatting/FormattingElementCursor.html" title="interface in org.semanticweb.kaon2.api.formatting">FormattingElementCursor</A></CODE></FONT></TD>
<TD><CODE><B>OntologyFormatting.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/formatting/OntologyFormatting.html#createNonPreservedAxiomsCursor()">createNonPreservedAxiomsCursor</A></B>()</CODE>
<BR>
Creates a cursor over the axioms whose formating is not being preserved.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../org/semanticweb/kaon2/api/formatting/FormattingElementCursor.html" title="interface in org.semanticweb.kaon2.api.formatting">FormattingElementCursor</A></CODE></FONT></TD>
<TD><CODE><B>OntologyFormatting.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/formatting/OntologyFormatting.html#createPreservedAxiomsCursor()">createPreservedAxiomsCursor</A></B>()</CODE>
<BR>
Creates a cursor over the axioms whose formating is being preserved.</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>FormattingElementCursor.</B><B><A HREF="../../../../../org/semanticweb/kaon2/api/formatting/FormattingElementCursor.html#delete(boolean)">delete</A></B>(boolean moveNext)</CODE>
<BR>
Deletes the current formatting element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -