You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by ij...@apache.org on 2012/10/10 01:45:26 UTC
svn commit: r1396405 - in
/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena: ontology/impl/
rdf/arp/states/ reasoner/rulesys/ vocabulary/
Author: ijd
Date: Tue Oct 9 23:45:25 2012
New Revision: 1396405
URL: http://svn.apache.org/viewvc?rev=1396405&view=rev
Log:
Deprecated DAML vocabularies and supporting classes
Modified:
jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/ontology/impl/DAML_OILLegacyProfile.java
jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/ontology/impl/DAML_OILProfile.java
jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/rdf/arp/states/DAMLCollection.java
jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/DAMLMicroReasoner.java
jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/DAMLMicroReasonerFactory.java
jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/vocabulary/DAMLVocabulary.java
jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/vocabulary/DAML_OIL.java
Modified: jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/ontology/impl/DAML_OILLegacyProfile.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/ontology/impl/DAML_OILLegacyProfile.java?rev=1396405&r1=1396404&r2=1396405&view=diff
==============================================================================
--- jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/ontology/impl/DAML_OILLegacyProfile.java (original)
+++ jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/ontology/impl/DAML_OILLegacyProfile.java Tue Oct 9 23:45:25 2012
@@ -45,6 +45,7 @@ import java.util.*;
* @author Ian Dickinson, HP Labs
* (<a href="mailto:ian_dickinson@users.sourceforge.net" >email</a>)
* @version CVS $Id: DAML_OILLegacyProfile.java,v 1.2 2009-10-06 13:04:42 ian_dickinson Exp $
+ * @deprecated This DAML profile will be removed from future versions of Jena because it is obsolete.
*/
public class DAML_OILLegacyProfile
extends AbstractProfile
Modified: jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/ontology/impl/DAML_OILProfile.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/ontology/impl/DAML_OILProfile.java?rev=1396405&r1=1396404&r2=1396405&view=diff
==============================================================================
--- jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/ontology/impl/DAML_OILProfile.java (original)
+++ jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/ontology/impl/DAML_OILProfile.java Tue Oct 9 23:45:25 2012
@@ -47,6 +47,7 @@ import com.hp.hpl.jena.vocabulary.*;
* @author Ian Dickinson, HP Labs
* (<a href="mailto:ian_dickinson@users.sourceforge.net" >email</a>)
* @version CVS $Id: DAML_OILProfile.java,v 1.2 2009-10-06 13:04:42 ian_dickinson Exp $
+ * @deprecated This DAML profile will be removed from future versions of Jena because it is obsolete.
*/
public class DAML_OILProfile
extends AbstractProfile
Modified: jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/rdf/arp/states/DAMLCollection.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/rdf/arp/states/DAMLCollection.java?rev=1396405&r1=1396404&r2=1396405&view=diff
==============================================================================
--- jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/rdf/arp/states/DAMLCollection.java (original)
+++ jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/rdf/arp/states/DAMLCollection.java Tue Oct 9 23:45:25 2012
@@ -21,6 +21,9 @@ package com.hp.hpl.jena.rdf.arp.states;
import com.hp.hpl.jena.rdf.arp.impl.ANode;
import com.hp.hpl.jena.rdf.arp.impl.AbsXMLContext;
+/**
+ * @deprecated This DAML class will be removed from future versions of Jena because it is obsolete.
+ */
public class DAMLCollection extends Collection {
public DAMLCollection(WantsObjectFrameI s, AbsXMLContext x) {
Modified: jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/DAMLMicroReasoner.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/DAMLMicroReasoner.java?rev=1396405&r1=1396404&r2=1396405&view=diff
==============================================================================
--- jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/DAMLMicroReasoner.java (original)
+++ jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/DAMLMicroReasoner.java Tue Oct 9 23:45:25 2012
@@ -28,18 +28,19 @@ import com.hp.hpl.jena.reasoner.Reasoner
* We do not support DAML inference. This is a slightly extended version
* of the RDFS reasoner to support some interesting subsets of DAML
* that correspond roughly to what was there in Jena1. We hope.
- *
+ *
* @author <a href="mailto:der@hplb.hpl.hp.com">Dave Reynolds</a>
* @version $Revision: 1.1 $ on $Date: 2009-06-29 08:55:38 $
+ * @deprecated This DAML reasoner will be removed from future versions of Jena because it is obsolete.
*/
public class DAMLMicroReasoner extends GenericRuleReasoner {
-
+
/** The location of the OWL rule definitions on the class path */
public static final String RULE_FILE = "etc/daml-micro.rules";
-
+
/** The parsed rules */
protected static List<Rule> ruleSet;
-
+
/**
* Constructor
*/
@@ -48,7 +49,7 @@ public class DAMLMicroReasoner extends
setMode(HYBRID);
setTransitiveClosureCaching(true);
}
-
+
/**
* Return the RDFS rule set, loading it in if necessary
*/
Modified: jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/DAMLMicroReasonerFactory.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/DAMLMicroReasonerFactory.java?rev=1396405&r1=1396404&r2=1396405&view=diff
==============================================================================
--- jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/DAMLMicroReasonerFactory.java (original)
+++ jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/DAMLMicroReasonerFactory.java Tue Oct 9 23:45:25 2012
@@ -27,38 +27,39 @@ import com.hp.hpl.jena.vocabulary.*;
* a slightly extended variant
* of the RDFS reasoner to support some interesting subsets of DAML
* that correspond roughly to what was there in Jena1. We hope.
- *
+ *
* @author <a href="mailto:der@hplb.hpl.hp.com">Dave Reynolds</a>
* @version $Revision: 1.1 $ on $Date: 2009-06-29 08:55:38 $
+ * @deprecated This DAML reasoner will be removed from future versions of Jena because it is obsolete.
*/
public class DAMLMicroReasonerFactory implements ReasonerFactory {
-
+
/** Single global instance of this factory */
private static ReasonerFactory theInstance = new DAMLMicroReasonerFactory();
-
+
/** Static URI for this reasoner type */
public static final String URI = "http://jena.hpl.hp.com/2003/DAMLMicroReasonerFactory";
-
+
/** Cache of the capabilities description */
protected Model capabilities;
-
+
/**
* Return the single global instance of this factory
*/
public static ReasonerFactory theInstance() {
return theInstance;
}
-
+
/**
* Constructor method that builds an instance of the associated Reasoner
- * @param configuration a set of arbitrary configuration information for the reasoner, this will be
+ * @param configuration a set of arbitrary configuration information for the reasoner, this will be
* ignored in this case because the micro reasoner is not configurable
*/
@Override
public Reasoner create(Resource configuration) {
return new DAMLMicroReasoner(this);
}
-
+
/**
* Return a description of the capabilities of this reasoner encoded in
* RDF. This method is normally called by the ReasonerRegistry which caches
@@ -85,7 +86,7 @@ public class DAMLMicroReasonerFactory im
}
return capabilities;
}
-
+
/**
* Return the URI labelling this type of reasoner
*/
Modified: jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/vocabulary/DAMLVocabulary.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/vocabulary/DAMLVocabulary.java?rev=1396405&r1=1396404&r2=1396405&view=diff
==============================================================================
--- jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/vocabulary/DAMLVocabulary.java (original)
+++ jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/vocabulary/DAMLVocabulary.java Tue Oct 9 23:45:25 2012
@@ -37,6 +37,7 @@ import com.hp.hpl.jena.rdf.model.*;
*
* @author Ian Dickinson, HP Labs (<a href="mailto:ian_dickinson@users.sourceforge.net">email</a>)
* @version CVS info: $Id: DAMLVocabulary.java,v 1.2 2009-10-06 13:04:43 ian_dickinson Exp $
+ * @deprecated This vocabulary will be removed from future versions of Jena because it is obsolete.
*/
public interface DAMLVocabulary
{
Modified: jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/vocabulary/DAML_OIL.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/vocabulary/DAML_OIL.java?rev=1396405&r1=1396404&r2=1396405&view=diff
==============================================================================
--- jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/vocabulary/DAML_OIL.java (original)
+++ jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/vocabulary/DAML_OIL.java Tue Oct 9 23:45:25 2012
@@ -49,6 +49,7 @@ import com.hp.hpl.jena.rdf.model.*;
*
* @author Ian Dickinson, HP Labs (<a href="mailto:ian_dickinson@users.sourceforge.net">email</a>)
* @version CVS info: $Id: DAML_OIL.java,v 1.2 2009-10-06 13:04:43 ian_dickinson Exp $
+ * @deprecated This DAML vocabulary will be removed from future versions of Jena because it is obsolete.
*/
public class DAML_OIL
implements DAMLVocabulary
@@ -61,7 +62,7 @@ public class DAML_OIL
/** Model to hold the vocab resoures */
private static Model s_model = ModelFactory.createDefaultModel();
-
+
/* Resources */
/** DAML namespace resource for the current release */