Deprecated API

Deprecated Interfaces
com.hp.hpl.jena.ontology.daml.DAMLClassExpression
          The role of DAMLClassExpression has been combined with DAMLClass 
 

Deprecated Errors
com.hp.hpl.jena.rdf.model.RDFError
          No longer used. 
 

Deprecated Fields
com.hp.hpl.jena.graph.query.Query.dontSort
          - use TripleSorter.dontSort instead. 
com.hp.hpl.jena.rdf.arp.ARPErrorNumbers.ERR_ABOUTEACH_NOT_TOPLEVEL
          No longer occurs. Any use of rdf:aboutEach is a syntax error. 
com.hp.hpl.jena.rdf.arp.ARPErrorNumbers.ERR_STRING_NOT_NORMAL_FORM_C
          See 2nd Last Call docs * (E207). 
com.hp.hpl.jena.rdf.arp.ARPErrorNumbers.ERR_URI_NOT_NORMAL_FORM_C
          WG decision on williams-01. 
com.hp.hpl.jena.rdf.arp.ARPErrorNumbers.WARN_BAD_XML
            
com.hp.hpl.jena.rdf.arp.ARPErrorNumbers.WARN_QNAME_AS_ID
          Superceded by the more general ARPErrorNumbers.WARN_BAD_NAME 
com.hp.hpl.jena.rdf.arp.ARPErrorNumbers.WARN_URI_COMPOSING_CHAR
          WG decision on williams-01. 
com.hp.hpl.jena.rdf.arp.ARPErrorNumbers.WARN_XMLBASE_MISSING
          ARPErrorNumbers.IGN_NO_BASE_URI_SPECIFIED 
 

Deprecated Methods
com.hp.hpl.jena.rdf.model.ModelCon.add(Resource, Property, String, String, boolean)
          since Jena2. It is no longer legal to have a language tag on a well-formed XMLLiteral. Use the 4-argument form of add instead. add a statement to this model. 
com.hp.hpl.jena.rdql.Environment.add(String, RDFNode)
          This class has been renamed as ResultBinding 
com.hp.hpl.jena.rdql.Environment.add(String, Value)
          This class has been renamed as ResultBinding 
com.hp.hpl.jena.ontology.Individual.addSameIndividualAs(Resource)
          WebOnt have removed owl:sameIndividualAs. Use OntResource.addSameAs(com.hp.hpl.jena.rdf.model.Resource) instead. 
com.hp.hpl.jena.rdql.Environment.check()
          This class has been renamed as ResultBinding 
com.hp.hpl.jena.db.ModelRDB.clear()
          Since Jena 2.0 this call is not recommended (it's name is misleading) - to clear an entire database use DBConnection.cleanDB, to remove just this Model use Model.remove(). 
com.hp.hpl.jena.db.ModelRDB.create(IDBConnection, String)
          Since Jena 2.0 this call is no longer needed - it is preferable to specify the database type when constructing the DBConnection. Then use the call ModelRDB.createModel(IDBConnection) 
com.hp.hpl.jena.db.ModelRDB.create(IDBConnection, String, String)
          Since Jena 2.0 this call is no longer needed - it is preferable to specify the database type when constructing the DBConnection and to modify the layout by using the properties in the DBConnection. Then use the call ModelRDB.createModel(IDBConnection) 
com.hp.hpl.jena.rdf.model.Model.createLiteral(String, String, boolean)
          since Jena2. It is no longer legal to have a language tag on a well-formed XMLLiteral. Use the 2-argument form of createLiteral instead. Create a literal from a String value with a specified language. An existing literal of the right value may be returned, or a fresh one created. 
com.hp.hpl.jena.db.ModelRDB.deleteModel(IDBConnection, String)
          Since Jena 2.0, to remove a model use the ModelRDB.remove() 
com.hp.hpl.jena.rdql.Environment.get(String)
          This class has been renamed as ResultBinding 
com.hp.hpl.jena.rdql.QueryResultsStream.getAll()
          QueryResultsStream do not have all the results at once - QueryResultsMem 
com.hp.hpl.jena.rdql.QueryResultsMem.getAll()
          Old QueryResults operation 
com.hp.hpl.jena.rdql.QueryResults.getAll()
          Use QueryResultsMem to get all the results of a query. 
com.hp.hpl.jena.db.IDBConnection.getDriver(String, String)
          As of Jena 2.0 this call should not be used. Instead specify the database type when constructing a DBConnection and then pass that connection to the GraphRDB. There is no longer any need for applications to interact with the IRDBDriver. To customize the database configuration/layout use the formatDB(propertyModel) call. 
com.hp.hpl.jena.db.DBConnection.getDriver(String, String)
          As of Jena 2.0 this call should not be used. Instead specify the database type when constructing a DBConnection and then pass that connection to the GraphRDB. There is no longer any need for applications to interact with the IRDBDriver. To customize the database configuration/layout use the formatDB(propertyModel) call. 
com.hp.hpl.jena.rdf.model.JenaConfig.getOldLiteralCompare()
          this functionality is temporary 
com.hp.hpl.jena.ontology.Individual.getSameIndividualAs()
          WebOnt have removed owl:sameIndividualAs. Use OntResource.getSameAs() instead. 
com.hp.hpl.jena.ontology.daml.DAMLModel.getUseEquivalence()
          Not useful in Jena2, since equivalence processing is handled by the inference graph. 
com.hp.hpl.jena.rdql.Environment.getValue(String)
          This class has been renamed as ResultBinding 
com.hp.hpl.jena.ontology.Individual.isSameIndividualAs(Resource)
          WebOnt have removed owl:sameIndividualAs. Use OntResource.isSameAs(com.hp.hpl.jena.rdf.model.Resource) instead. 
com.hp.hpl.jena.rdql.Environment.iterator()
          This class has been renamed as ResultBinding 
com.hp.hpl.jena.ontology.Individual.listSameIndividualAs()
          WebOnt have removed owl:sameIndividualAs. Use OntResource.listSameAs() instead. 
com.hp.hpl.jena.db.ModelRDB.loadAll()
          Since Jena 2.0, this call is not recommended. Instead use the soon-to-be-released bulk-load functions. 
com.hp.hpl.jena.rdf.arp.JenaReader.memModel()
          This Reader is now the default. 
com.hp.hpl.jena.ontology.Individual.removeSameIndividualAs(Resource)
          WebOnt have removed owl:sameIndividualAs. Use OntResource.removeSameAs(com.hp.hpl.jena.rdf.model.Resource) instead. 
com.hp.hpl.jena.rdf.model.JenaConfig.setOldLiteralCompare(boolean)
          this functionality is temporary 
com.hp.hpl.jena.ontology.daml.DAMLCommon.setRDFType(Resource, boolean)
          Use OntResource.addRDFType(com.hp.hpl.jena.rdf.model.Resource) or OntResource.setRDFType(com.hp.hpl.jena.rdf.model.Resource). 
com.hp.hpl.jena.ontology.Individual.setSameIndividualAs(Resource)
          WebOnt have removed owl:sameIndividualAs. Use OntResource.setSameAs(com.hp.hpl.jena.rdf.model.Resource) instead. 
com.hp.hpl.jena.ontology.daml.DAMLModel.setUseEquivalence(boolean)
          Not useful in Jena2, since equivalence processing is handled by the inference graph. 
com.hp.hpl.jena.rdql.Environment.size()
          This class has been renamed as ResultBinding 
com.hp.hpl.jena.rdf.arp.JenaReader.translate(ALiteral)
          Should never have been public. 
com.hp.hpl.jena.rdf.arp.JenaReader.translatePred(AResource)
          Should never have been public. 
 

Deprecated Constructors
com.hp.hpl.jena.db.DBConnection(Connection)
          As of Jena 2.0, it is recommended to use one of the DBConnection constructors which takes a database type as an argument. (The DBConnection can operate more efficiently if it knows the database type). 
com.hp.hpl.jena.db.DBConnection(String, String, String)
          As of Jena 2.0, it is recommended to use one of the DBConnection constructors which takes a database type as an argument. (The DBConnection can operate more efficiently if it knows the database type). 
com.hp.hpl.jena.rdql.Environment()
          Renamed as ResultBinding 
com.hp.hpl.jena.db.GraphRDB(IDBConnection, String, Graph, boolean)
          Please use the alternate constructor and choose the desired reification behaviour. 
com.hp.hpl.jena.db.ModelRDB(IDBConnection)
          Since Jena 2.0, this call is not recommended - in the short-term use ModelRDB.open or ModelRDB.createModel; in the longer-term use factory methods to construct persistent models. 
com.hp.hpl.jena.db.ModelRDB(IDBConnection, String)
          Since Jena 2.0, this call is not recommended - in the short-term use ModelRDB.open or ModelRDB.createModel; in the longer-term use factory methods to construct persistent models. 
com.hp.hpl.jena.rdql.QueryEngineExt(Query)
          Use QueryEngine - which devloves mathcing to the graph. 
 



Copyright © 2000-2003 Hewlett-Packard. All Rights Reserved.