Deprecated API


Contents
Deprecated Interfaces
org.exolab.castor.xml.EventProducer
          use @see org.castor.xml.SAX2EventProducer instead. 
org.exolab.castor.xml.UnmarshalListener
          a new extended interface was introduced 
 

Deprecated Classes
org.exolab.castor.tools.ant.taskdefs.CastorSourceGenTask
          Please use CastorCodeGenTask instead. 
org.exolab.castor.types.Century
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.types.CenturyDescriptor
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.persist.spi.Complex
          Complex has been replaced by Identity. 
org.castor.core.CoreConfiguration
          Use CoreProperties instead. 
org.castor.cpa.CPAConfiguration
          Use CPAProperties instead. 
org.exolab.castor.jdo.JDO
          JDO has been replaced by JDOManager. 
org.exolab.castor.types.Month
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.types.MonthDescriptor
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.types.RecurringDuration
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.types.RecurringDurationBase
          since Castor 1.0.6 since type derived from this base class are not in any recommendation. 
org.exolab.castor.types.RecurringDurationDescriptor
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.types.TimeDuration
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.types.TimeDurationDescriptor
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.types.TimeInstant
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.types.TimePeriod
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.types.TimePeriodDescriptor
          since Castor 1.0.6 since this type is not in any recommendation. 
org.castor.xml.XMLConfiguration
          Use XMLProperties instead. 
org.exolab.castor.tools.XSDCompiler
          Please use CastorCodeGenTask instead. 
org.exolab.castor.types.Year
          since Castor 1.0.6 since this type is not in any recommendation. 
org.exolab.castor.types.YearDescriptor
          since Castor 1.0.6 since this type is not in any recommendation. 
 

Deprecated Fields
org.exolab.castor.jdo.Database.DbLocked
          Use DBLOCKED instead. 
org.exolab.castor.xml.schema.writer.SchemaWriter.enable
            
org.exolab.castor.jdo.Database.Exclusive
          Use EXCLUSIVE instead. 
org.exolab.castor.jdo.Database.ReadOnly
          Use READONLY instead. 
org.exolab.castor.jdo.Database.Shared
          Use SHARED instead. 
 

Deprecated Methods
org.exolab.castor.xml.wls8.WeblogicXercesSerializer.asDocumentHandler()
            
org.exolab.castor.mapping.FieldHandler.checkValidity(Object)
          No longer supported 
org.exolab.castor.mapping.ExtendedFieldHandler.checkValidity(Object)
          No longer supported 
org.exolab.castor.mapping.loader.FieldHandlerFriend.checkValidity(Object)
          No longer supported 
org.exolab.castor.mapping.loader.ExtendedFieldHandler.checkValidity(Object)
          No longer supported 
org.castor.jdo.util.JDOConfFactory.createDatabase(String, String, DataSource, Mapping)
          Pass mapping URL's to createDatabase() methods instead. 
org.castor.jdo.util.JDOConfFactory.createDatabase(String, String, DataSource, Mapping[])
          Pass mapping URL's to createDatabase() methods instead. 
org.castor.jdo.util.JDOConfFactory.createDatabase(String, String, Driver, Mapping)
          Pass mapping URL's to createDatabase() methods instead. 
org.castor.jdo.util.JDOConfFactory.createDatabase(String, String, Driver, Mapping[])
          Pass mapping URL's to createDatabase() methods instead. 
org.castor.jdo.util.JDOConfFactory.createMapping(String)
          Pass mapping URL's to createDatabase() methods instead. 
org.castor.jdo.util.JDOConfFactory.createTransactionDemarcation()
          Use createLocalTransactionDemarcation() instead. 
org.castor.xml.XMLNaming.createXMLName(Class)
          because this method removes the package part which is JavaNaming responsibility 
org.exolab.castor.xml.util.DefaultNaming.createXMLName(Class)
          extracting name parts from a Class is responsibility of JavaNaming 
org.exolab.castor.xml.dtd.parser.InputCharStream.getColumn()
            
org.exolab.castor.xml.dtd.parser.CharStream.getColumn()
            
org.castor.cpa.CPAProperties.getInstance()
          Don't limit your applications flexibility by using static properties. Use your own properties instance created with one of the newInstance() methods instead. 
org.exolab.castor.xml.XMLContext.getInternalContext()
            
org.exolab.castor.xml.dtd.parser.InputCharStream.getLine()
            
org.exolab.castor.xml.dtd.parser.CharStream.getLine()
            
org.exolab.castor.jdo.JDO.getLogInterceptor()
          There is no need for this method due to the implementation of Log4J which is controlled via the log4j.properties file. 
org.exolab.castor.xml.Marshaller.getNSPrefixAtRoot()
            
org.castor.xml.AbstractInternalContext.getXMLNaming(ClassLoader)
          Makes no sence! 
org.exolab.castor.xml.schema.Group.isModelGroupDefinition()
          Since Castor 0.9.2, to handle properly the element the class ModelGroup has been created 
org.exolab.castor.xml.XMLClassDescriptorResolver.loadClassDescriptors(String)
          Please use e.g. #addPackage(String) instead. 
org.exolab.castor.builder.SourceGenerator.main(String[])
          Please use SourceGeneratorMain.main(String[]) 
org.exolab.javasource.AbstractJClass.print(JSourceWriter)
          Please use the Velocity-template based approach instead. 
org.exolab.javasource.JAnnotationType.print(JSourceWriter)
          Please use the Velocity-template based approach instead. 
org.exolab.javasource.JInterface.print(JSourceWriter)
          Please use the Velocity-template based approach instead. 
org.exolab.javasource.JStructure.print(JSourceWriter)
          Please use the Velocity-template based approach instead. 
org.exolab.javasource.JClass.print(JSourceWriter, boolean)
          Please use the Velocity-template based approach instead. 
org.exolab.javasource.AbstractJClass.print(JSourceWriter, boolean)
          Please use the Velocity-template based approach instead. 
org.exolab.javasource.JInterface.print(JSourceWriter, boolean)
          Please use the Velocity-template based approach instead. 
org.exolab.castor.xml.Unmarshaller.setDebug(boolean)
            
org.exolab.castor.xml.UnmarshalHandler.setDebug(boolean)
            
org.exolab.castor.xml.validators.StringValidator.setFixedValue(String)
          since 0.9.4_beta 
org.exolab.castor.xml.schema.Group.setIsModelGroupDefinition(boolean)
          Since Castor 0.9.2, to handle properly the element the class ModelGroup has been created 
org.exolab.castor.jdo.JDO.setLogInterceptor(LogInterceptor)
          There is no need for this method due to the implementation of Log4J which is controlled via the log4j.properties file. 
org.exolab.castor.xml.Unmarshaller.setLogWriter(PrintWriter)
            
org.exolab.castor.xml.UnmarshalHandler.setLogWriter(PrintWriter)
            
org.exolab.castor.jdo.JDO.setLogWriter(PrintWriter)
          There is no need for this method due to the implementation of Log4J which is controlled via the log4j.properties file. 
org.exolab.castor.tools.ant.taskdefs.CastorSourceGenTask.setNomarshall(boolean)
          For the correct spelling, see CastorSourceGenTask.setNomarshal(boolean). 
org.exolab.castor.xml.Marshaller.setNSPrefixAtRoot(boolean)
            
org.exolab.castor.xml.Unmarshaller.setUnmarshalListener(UnmarshalListener)
          replaced by UnmarshalListener 
org.exolab.castor.xml.UnmarshalHandler.setUnmarshalListener(UnmarshalListener)
          please move to the new UnmarshalListener interface 
org.exolab.castor.xml.Unmarshaller.unmarshal(EventProducer)
          please use @see #unmarshal(SAX2EventProducer) instead. 
 



Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com