⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultontologyresolver.html

📁 本体推理工具 共八个例子:从如何建立本体到做一些简单的的本体推理
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_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>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="DefaultOntologyResolver()"><!-- --></A><H3>
DefaultOntologyResolver</H3>
<PRE>
public <B>DefaultOntologyResolver</B>()</PRE>
<DL>
</DL>

<!-- ============ 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="resolveOntologyAccess(java.lang.String, java.util.Map, java.util.Map)"><!-- --></A><H3>
resolveOntologyAccess</H3>
<PRE>
public java.lang.String <B>resolveOntologyAccess</B>(java.lang.String&nbsp;ontologyURI,
                                              java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;parameters,
                                              java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;templateParameters)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/semanticweb/kaon2/api/OntologyResolver.html#resolveOntologyAccess(java.lang.String, java.util.Map, java.util.Map)">OntologyResolver</A></CODE></B></DD>
<DD>Called to resolve ontology parameters. The resolver can locate the physical URI for the ontology URI. Furthermore, it can adjust the * parameters that will be used to open the ontology.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/semanticweb/kaon2/api/OntologyResolver.html#resolveOntologyAccess(java.lang.String, java.util.Map, java.util.Map)">resolveOntologyAccess</A></CODE> in interface <CODE><A HREF="../../../../org/semanticweb/kaon2/api/OntologyResolver.html" title="interface in org.semanticweb.kaon2.api">OntologyResolver</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontologyURI</CODE> - the ontology URI<DD><CODE>parameters</CODE> - the parameters that will be used to access the ontology<DD><CODE>templateParameters</CODE> - the template parameters (e.g. of a parent ontology)
<DT><B>Returns:</B><DD>the physical URI to access the ontology</DL>
</DD>
</DL>
<HR>

<A NAME="getReplacement(java.lang.String)"><!-- --></A><H3>
getReplacement</H3>
<PRE>
public java.lang.String <B>getReplacement</B>(java.lang.String&nbsp;ontologyURI)</PRE>
<DL>
<DD>Returns the physical URI for given ontology URI.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontologyURI</CODE> - the ontology URI
<DT><B>Returns:</B><DD>the physical URI (or <code>null</code> if no URI has been registered)</DL>
</DD>
</DL>
<HR>

<A NAME="registerReplacement(java.lang.String, java.lang.String)"><!-- --></A><H3>
registerReplacement</H3>
<PRE>
public void <B>registerReplacement</B>(java.lang.String&nbsp;ontologyURI,
                                java.lang.String&nbsp;physicalURI)</PRE>
<DL>
<DD>Registers a physical URI for the ontology URI.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontologyURI</CODE> - the ontology URI<DD><CODE>physicalURI</CODE> - the physical URI</DL>
</DD>
</DL>
<HR>

<A NAME="registerOntology(java.io.File)"><!-- --></A><H3>
registerOntology</H3>
<PRE>
public java.lang.String <B>registerOntology</B>(java.io.File&nbsp;file)
                                  throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Registers the ontology in a given file.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>file</CODE> - the physical URI of the ontology
<DT><B>Returns:</B><DD>the ontology URI
<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="registerOntology(java.lang.String)"><!-- --></A><H3>
registerOntology</H3>
<PRE>
public java.lang.String <B>registerOntology</B>(java.lang.String&nbsp;physicalURI)
                                  throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Registers the ontology with a given physical URI.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>physicalURI</CODE> - the physical URI of the ontology
<DT><B>Returns:</B><DD>the ontology URI
<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="registerOntology(java.lang.String, java.net.Proxy)"><!-- --></A><H3>
registerOntology</H3>
<PRE>
public java.lang.String <B>registerOntology</B>(java.lang.String&nbsp;physicalURI,
                                         java.net.Proxy&nbsp;proxy)
                                  throws <A HREF="../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Registers the ontology with a given physical URI.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>physicalURI</CODE> - the physical URI of the ontology<DD><CODE>proxy</CODE> - the proxy
<DT><B>Returns:</B><DD>the ontology URI
<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="unregisterReplacement(java.lang.String)"><!-- --></A><H3>
unregisterReplacement</H3>
<PRE>
public void <B>unregisterReplacement</B>(java.lang.String&nbsp;ontologyURI)</PRE>
<DL>
<DD>Removes a possible physical URI for given otnology URI.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ontologyURI</CODE> - the ontology URI for which registration is removed</DL>
</DD>
</DL>
<HR>

<A NAME="registeredOntologyURIs()"><!-- --></A><H3>
registeredOntologyURIs</H3>
<PRE>
public java.util.Iterator&lt;java.lang.String&gt; <B>registeredOntologyURIs</B>()</PRE>
<DL>
<DD>Returns the iterator over all ontology URIs.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the iterator over all registered URIs.</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromProperties(java.io.InputStream)"><!-- --></A><H3>
loadFromProperties</H3>
<PRE>
public void <B>loadFromProperties</B>(java.io.InputStream&nbsp;inputStream)
                        throws java.io.IOException</PRE>
<DL>
<DD>Loads properties from the stream and adds all (key,value) pairs as replacements. The stream can be in XML or in the textual format. WARNING: The caller is responsible for closing the stream.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - the stream containing the information
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromProperties(java.net.URL)"><!-- --></A><H3>
loadFromProperties</H3>
<PRE>
public void <B>loadFromProperties</B>(java.net.URL&nbsp;url)
                        throws java.io.IOException</PRE>
<DL>
<DD>Loads specified properties from the URL and adds all (key,value) pairs as replacements. The URL can be in XML or in the textual format.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>url</CODE> - the URL of the properties file
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromProperties(java.io.File)"><!-- --></A><H3>
loadFromProperties</H3>
<PRE>
public void <B>loadFromProperties</B>(java.io.File&nbsp;file)
                        throws java.io.IOException</PRE>
<DL>
<DD>Loads specified properties from the file and adds all (key,value) pairs as replacements. The file can be in XML or in the textual format.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>file</CODE> - the properties file
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DefaultOntologyResolver.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/semanticweb/kaon2/api/Cursor.html" title="interface in org.semanticweb.kaon2.api"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/semanticweb/kaon2/api/Entity.html" title="interface 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/DefaultOntologyResolver.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="DefaultOntologyResolver.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -