Deprecated API


Contents
Deprecated Classes
gate.gui.AppearanceDialog
            
gate.gui.DocumentEditor
            
gate.xml.GateFormatXmlDocumentHandler
          GATE format XML documents are now handled by DocumentStaxUtils. 
gate.creole.OntologyAwareTransducer
          Ontology related functionality is now implemented in the standard JAPE Transducer Transducer. 
gate.creole.ontology.OntologyUtilities
          the use of this class and all its methods should be avoided in the future. See the individual methods for replacements. 
gate.creole.RunningStrategy.RunAlwaysStrategy
          use RunningStrategy.UnconditionalRunningStrategy instead. 
gate.gui.SchemaAnnotationEditor
            
gate.gui.UnrestrictedAnnotationEditor
            
gate.creole.ontology.URI
          Use OURI objects and the Ontology factory methods for creating them instead. 
 

Deprecated Fields
gate.creole.ontology.OConstants.DIRECT_CLOSURE
          use OConstants.Closure instead. 
gate.Gate.listeners
           
gate.creole.ResourceData.persistantInstantiationList
          No longer necessary as we don't use weak references for the instantiations. 
gate.creole.ANNIEConstants.PR_NAMES
          ANNIE must now be loaded from a gapp application file:
 SerialAnalyserController annie = (SerialAnalyserController)
   PersistenceManager.loadObjectFromFile(new File(new File(
     Gate.getPluginsHome(), ANNIEConstants.PLUGIN_DIR),
       ANNIEConstants.DEFAULT_FILE));
 
 
gate.creole.ontology.OConstants.TRANSITIVE_CLOSURE
          use OConstants.Closure instead. 
 

Deprecated Methods
gate.creole.ontology.Ontology.addAllValuesFromRestriction(RDFProperty, OResource)
          - this method is deprecated and kept for backwards compatibility as long as the OntologyOWLIM2 plugin is kept. Use the method Ontology.addAllValuesFromRestriction(ObjectProperty, OClass) instead. 
gate.jape.Constraint.addAttribute(JdmAttribute)
            
gate.creole.CreoleRegisterImpl.addDirectory(URL)
            
gate.creole.ontology.Ontology.addOClass(OURI, byte)
          - use one of the dedicated methods to add a named class or a restriction instead 
gate.creole.ontology.Ontology.addOResourceToMap(String, OResource)
            
gate.creole.ontology.Ontology.addRDFProperty(OURI, Set, Set)
            
gate.creole.ontology.OInstance.addRDFPropertyValue(RDFProperty, OResource)
          this throws an exception in the new implementation 
gate.creole.ResourceData.bumpInstantiation(Resource)
          This operation is no longer supported, and does nothing. 
gate.creole.ontology.Ontology.commitTransaction()
            
gate.creole.ontology.OntologyUtilities.createURI(Ontology, String, boolean)
          - use Ontology.createOURI(String) and related methods instead. 
gate.creole.ontology.Ontology.executeQuery(String)
          As of release 1.3, replaced by #createQuery() 
gate.creole.ontology.Ontology.getAllResources()
            
gate.creole.annic.apache.lucene.analysis.standard.CharStream.getColumn()
            
gate.creole.annic.apache.lucene.analysis.standard.FastCharStream.getColumn()
           
gate.jape.parser.ASCII_CharStream.getColumn()
            
gate.jape.parser.SimpleCharStream.getColumn()
            
gate.creole.ontology.OResource.getComment(Locale)
            
gate.creole.ontology.OResource.getComments()
            
gate.creole.ontology.OntologyUtilities.getDataType(String)
          use DataType.getDataType(java.lang.String) instead 
gate.creole.ontology.RDFProperty.getDomain()
            
gate.creole.ontology.OResource.getLabel(Locale)
            
gate.creole.annic.apache.lucene.analysis.standard.CharStream.getLine()
            
gate.creole.annic.apache.lucene.analysis.standard.FastCharStream.getLine()
           
gate.jape.parser.ASCII_CharStream.getLine()
            
gate.jape.parser.SimpleCharStream.getLine()
            
gate.gui.MainFrame.getListeners()
          Use Gate.getListeners() instead 
gate.creole.ontology.OntologyUtilities.getLocale(String)
          use DataType.getLocale(java.lang.String) instead 
gate.creole.ontology.OInstance.getOClasses(byte)
           
gate.creole.ontology.Ontology.getOInstances(OClass, byte)
           
gate.creole.ontology.OntologyUtilities.getOntology(URL)
          - this method should be avoided 
gate.creole.ontology.Ontology.getOntologyData(byte)
          not supported any more - throws UnsupportedOperationException 
gate.creole.ontology.Ontology.getOResourceByName(String)
            
gate.creole.ontology.Ontology.getOResourceFromMap(String)
            
gate.creole.ontology.Ontology.getOResourcesByName(String)
            
gate.creole.ontology.RDFProperty.getRange()
            
gate.creole.ontology.OInstance.getRDFPropertyValues(RDFProperty)
            
gate.creole.ontology.OntologyUtilities.getResourceName(String)
          use ONodeID.getResourceName() instead 
gate.creole.ontology.Utils.getRestrictionName(Restriction)
           
gate.creole.ontology.Ontology.getSesameRepository()
            
gate.creole.ontology.Ontology.getSesameRepositoryID()
            
gate.creole.ontology.OClass.getSubClasses(byte)
           
gate.creole.ontology.RDFProperty.getSubProperties(byte)
           
gate.creole.ontology.OClass.getSuperClasses(byte)
           
gate.creole.ontology.RDFProperty.getSuperProperties(byte)
           
gate.creole.ontology.OResource.getURI()
            
gate.Gate.getUserConfigFileName()
          Use Gate.getUserConfigFile() instead. 
gate.creole.ontology.Ontology.getVersion()
          use method getOntologyAnnotationValues instead 
gate.creole.ontology.DataType.getXmlSchemaURI()
           
gate.creole.ontology.OInstance.hasRDFPropertyWithValue(RDFProperty, OResource)
            
gate.creole.ontology.Utils.hasSystemNameSpace(String)
           
gate.creole.ontology.OInstance.isInstanceOf(OClass, byte)
           
gate.creole.ontology.OClass.isSubClassOf(OClass, byte)
           
gate.creole.ontology.RDFProperty.isSubPropertyOf(RDFProperty, byte)
           
gate.creole.ontology.RDFProperty.isSuperPropertyOf(RDFProperty, byte)
           
gate.creole.ontology.RDFProperty.isValidDomain(OResource)
            
gate.creole.ontology.RDFProperty.isValidRange(OResource)
            
gate.creole.annic.apache.lucene.index.IndexReader.lastModified(Directory)
          Replaced by IndexReader.getCurrentVersion(Directory) 
gate.creole.annic.apache.lucene.index.IndexReader.lastModified(File)
          Replaced by IndexReader.getCurrentVersion(File) 
gate.creole.annic.apache.lucene.index.IndexReader.lastModified(String)
          Replaced by IndexReader.getCurrentVersion(String) 
gate.creole.ResourceData.makeInstantiationPersistant(Resource)
          No longer needed as we don't use weak references in the instantiations stack. Left for compatibility as a no-op. 
gate.creole.CreoleRegisterImpl.registerDirectories()
            
gate.util.persistence.PersistenceManager.registerPersitentEquivalent(Class, Class)
          Use PersistenceManager.registerPersistentEquivalent(Class,Class) instead 
gate.creole.ontology.Ontology.removeOResourceFromMap(String)
            
gate.creole.ontology.OInstance.removeRDFPropertyValue(RDFProperty, OResource)
            
gate.creole.ontology.OInstance.removeRDFPropertyValues(RDFProperty)
            
gate.creole.ontology.OResource.setComment(String, Locale)
            
hepple.postag.POSTagger.setEncoding(String)
          The rules and lexicon are read at construction time, so setting the encoding later will have no effect. 
gate.creole.ontology.AllValuesFromRestriction.setHasValue(OResource)
          - use AllValuesFromRestriction.setHasValue(OClass) instead 
gate.creole.ontology.OResource.setURI(URI)
            
gate.creole.ontology.Ontology.setVersion(String)
          use method setOntologyAnnotation instead 
gate.creole.ontology.Ontology.store(File)
          not implemented any more, throws UnsupportedOperationException 
gate.creole.annic.apache.lucene.analysis.Analyzer.tokenStream(Reader)
          use tokenStream(String, Reader) instead. 
gate.creole.ontology.Ontology.transationStarted()
            
gate.creole.ontology.Ontology.writeOntologyData(OutputStream, byte)
          not supported any more - throws UnsupportedOperationException 
gate.creole.ontology.Ontology.writeOntologyData(Writer, byte)
          not supported any more and will throw and exception in the new implementation plugin 
 

Deprecated Constructors
gate.jape.ComplexPatternElement(ConstraintGroup, int, String)
          Use ComplexPatternElement.ComplexPatternElement(ConstraintGroup, KleeneOperator.Type, String) instead. 
gate.jape.Constraint(String, List)
          JdmAttributes are no longer used. Use ConstraintPredicates instead. 
gate.creole.annic.apache.lucene.store.Lock.With(Lock)
          Kept only to avoid breaking existing code.