Deprecated API

Contents

Deprecated Interfaces

EventProducer
use @see org.castor.xml.SAX2EventProducer instead.

Deprecated Classes

CastorSourceGenTask
Please use CastorCodeGenTask instead.
Century
since Castor 1.0.6 since this type is not in any recommendation.
CenturyDescriptor
since Castor 1.0.6 since this type is not in any recommendation.
Complex
Complex has been replaced by Identity.
JDO
JDO has been replaced by JDOManager.
Month
since Castor 1.0.6 since this type is not in any recommendation.
MonthDescriptor
since Castor 1.0.6 since this type is not in any recommendation.
RecurringDuration
since Castor 1.0.6 since this type is not in any recommendation.
RecurringDurationBase
since Castor 1.0.6 since type derived from this base class are not in any recommendation.
RecurringDurationDescriptor
since Castor 1.0.6 since this type is not in any recommendation.
TimeDuration
since Castor 1.0.6 since this type is not in any recommendation.
TimeDurationDescriptor
since Castor 1.0.6 since this type is not in any recommendation.
TimeInstant
since Castor 1.0.6 since this type is not in any recommendation.
TimePeriod
since Castor 1.0.6 since this type is not in any recommendation.
TimePeriodDescriptor
since Castor 1.0.6 since this type is not in any recommendation.
XSDCompiler
Please use CastorCodeGenTask instead.
Year
since Castor 1.0.6 since this type is not in any recommendation.
YearDescriptor
since Castor 1.0.6 since this type is not in any recommendation.

Deprecated Fields

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

Deprecated Methods

org.exolab.castor.xml.AbstractXMLNaming.createXMLName(Class)
because this method removes the package part which is JavaNaming responsibility
org.exolab.castor.tools.ant.taskdefs.CastorSourceGenTask.setNomarshall(boolean)
For the correct spelling, see setNomarshal(boolean).
org.exolab.castor.xml.dtd.parser.CharStream.getColumn()
org.exolab.castor.xml.dtd.parser.CharStream.getLine()
org.castor.cpa.CPAConfiguration.getInstance()
Don't limit your applications flexibility by using a static configuration.
org.exolab.castor.xml.util.DefaultNaming.createXMLName(Class)
extracting name parts from a Class is responsibility of JavaNaming
org.exolab.castor.mapping.ExtendedFieldHandler.checkValidity(Object)
No longer supported
org.exolab.castor.mapping.loader.ExtendedFieldHandler.checkValidity(Object)
No longer supported
org.exolab.castor.mapping.FieldHandler.checkValidity(Object)
No longer supported
org.exolab.castor.mapping.loader.FieldHandlerFriend.checkValidity(Object)
No longer supported
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.xml.schema.Group.isModelGroupDefinition()
Since Castor 0.9.2, to handle properly the element the class ModelGroup has been created
org.exolab.castor.xml.dtd.parser.InputCharStream.getColumn()
org.exolab.castor.xml.dtd.parser.InputCharStream.getLine()
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.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.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.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.exolab.castor.xml.Marshaller.setNSPrefixAtRoot(boolean)
org.exolab.castor.xml.Marshaller.getNSPrefixAtRoot()
org.exolab.castor.xml.validators.PatternValidator.getPattern()
since Castor 1.1, use getPatterns()
org.exolab.castor.xml.validators.PatternValidator.setPattern(String)
since Castor 1.1, use addPattern(String)
org.exolab.castor.builder.SourceGenerator.main(String[])
org.exolab.castor.xml.validators.StringValidator.setFixedValue(String)
since 0.9.4_beta
org.exolab.castor.xml.UnmarshalHandler.setDebug(boolean)
org.exolab.castor.xml.UnmarshalHandler.setLogWriter(PrintWriter)
org.exolab.castor.xml.Unmarshaller.setDebug(boolean)
org.exolab.castor.xml.Unmarshaller.setLogWriter(PrintWriter)
org.exolab.castor.xml.Unmarshaller.unmarshal(EventProducer)
please use @see #unmarshal(SAX2EventProducer) instead.
org.exolab.castor.xml.wls8.WeblogicXercesSerializer.asDocumentHandler()
org.exolab.castor.xml.XMLClassDescriptorResolver.loadClassDescriptors(String)
Please use e.g.
org.exolab.castor.xml.XMLContext.getInternalContext()
org.castor.xml.XMLNaming.createXMLName(Class)
because this method removes the package part which is JavaNaming responsibility

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