Deprecated API


Contents
Deprecated Interfaces
com.hp.hpl.jena.rdf.arp.ARPHandler
          Renamed as ARPEventHandler. 
com.hp.hpl.jena.ontology.daml.DAMLClassExpression
          The role of DAMLClassExpression has been combined with DAMLClass 
 

Deprecated Classes
com.hp.hpl.jena.util.HashUtils
          use CollectionFactory methods 
com.hp.hpl.jena.ontology.tidy.Redirect
          Use OntDocumentManager 
 

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.util.ModelLoader.langBDB
          Use FileUtils.langBDB 
com.hp.hpl.jena.util.ModelLoader.langN3
          Use FileUtils.langN3 
com.hp.hpl.jena.util.ModelLoader.langNTriple
          Use FileUtils.langNTriple 
com.hp.hpl.jena.util.ModelLoader.langSQL
          Use FileUtils.langSQL 
com.hp.hpl.jena.util.ModelLoader.langXML
          Use FileUtils.FileUtils.langXML 
com.hp.hpl.jena.util.ModelLoader.langXMLAbbrev
          Use FileUtils.langXMLAbbrev 
com.hp.hpl.jena.rdf.arp.ARPErrorNumbers.WARN_BAD_XML
            
com.hp.hpl.jena.rdf.arp.ARPErrorNumbers.WARN_LEGAL_REUSE_OF_ID
          Last supported in Jena 2.1 - too expensive. 
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 ResultBindingImpl 
com.hp.hpl.jena.rdql.Environment.add(String, Value)
          This class has been renamed as ResultBindingImpl 
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 ResultBindingImpl 
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 ResultBindingImpl 
com.hp.hpl.jena.rdql.QueryResults.getAll()
          Use QueryResultsMem to get all the results of a query. 
com.hp.hpl.jena.rdql.QueryResultsMem.getAll()
          Old QueryResults operation 
com.hp.hpl.jena.rdql.QueryResultsStream.getAll()
          QueryResultsStream do not have all the results at once - QueryResultsMem 
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.ontology.tidy.StreamingChecker.getLoaded()
          Not part of API 
com.hp.hpl.jena.ontology.OntModelSpec.getModelMaker()
          use getImportModelMaker 
com.hp.hpl.jena.ontology.OntModel.getModelMaker()
          use getImportModelMaker instead for consistency with name changes to OntModelSpec to avoid ambiguity with base vs import makers. 
com.hp.hpl.jena.rdf.model.JenaConfig.getOldLiteralCompare()
          this functionality is temporary 
com.hp.hpl.jena.ontology.tidy.StreamingChecker.getRedirect()
          Use OntDocumentManager 
com.hp.hpl.jena.ontology.Individual.getSameIndividualAs()
          WebOnt have removed owl:sameIndividualAs. Use OntResource.getSameAs() instead. 
com.hp.hpl.jena.ontology.tidy.StreamingChecker.getTripleCount()
          Not part of API 
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.util.ModelLoader.guessLang(String)
          Use FileUtils.guessLang 
com.hp.hpl.jena.util.ModelLoader.guessLang(String, String)
          Use FileUtils.guessLang 
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 ResultBindingImpl 
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.util.ModelLoader.loadModel(Model, String)
          Use FileManager.readModel(model, urlStr) instead 
com.hp.hpl.jena.util.ModelLoader.loadModel(String)
          Use FileManager.loadModel(urlStr) 
com.hp.hpl.jena.util.ModelLoader.loadModel(String, String)
          Use FileManager.loadModel(urlStr, lang) 
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.arp.ARP.setDefaultErrorMode()
          Use ARP.getOptions().setDefaultErrorMode() 
com.hp.hpl.jena.rdf.arp.ARP.setEmbedding(boolean)
          Use ARP.getOptions().setEmbedding(embed) 
com.hp.hpl.jena.rdf.arp.ARP.setErrorHandler(ErrorHandler)
          Use ARP.getHandlers().setErrorHandler(eh) 
com.hp.hpl.jena.rdf.arp.ARP.setErrorMode(int, int)
          Use ARP.getOptions().setErrorMode(errno,mode) 
com.hp.hpl.jena.rdf.arp.ARP.setExtendedHandler(ExtendedHandler)
          Use ARP.getHandlers().setExtendedHandler(eh) 
com.hp.hpl.jena.rdf.arp.ARP.setLaxErrorMode()
          Use ARP.getOptions().setLaxErrorMode() 
com.hp.hpl.jena.ontology.OntModelSpec.setModelMaker(ModelMaker)
          use setImportModelMaker or setBaseModelMaker 
com.hp.hpl.jena.rdf.arp.ARP.setNamespaceHandler(NamespaceHandler)
          Use ARP.getHandlers().setNamespaceHandler(nh) 
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.rdf.arp.ARP.setStatementHandler(StatementHandler)
          Use ARP.getHandlers().setStatementHandler(sh) 
com.hp.hpl.jena.rdf.arp.ARP.setStrictErrorMode()
          Use ARP.getOptions().setStrictErrorMode() 
com.hp.hpl.jena.rdf.arp.ARP.setStrictErrorMode(int)
          Use ARP.getOptions().setStrictErrorMode(nonErrorMode) 
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 ResultBindingImpl 
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. 
com.hp.hpl.jena.shared.PrefixMapping.usePrefix(String)
          - use shortForm 
 

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 ResultBindingImpl 
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. 
 



Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP