org.castor.xml
Class BackwardCompatibilityContext

java.lang.Object
  extended by org.castor.xml.AbstractInternalContext
      extended by org.castor.xml.BackwardCompatibilityContext
All Implemented Interfaces:
InternalContext

public class BackwardCompatibilityContext
extends AbstractInternalContext
implements InternalContext

As the name already expresses: this class is there for backward compatibility and should be removed from Castor with a future release. Normally the internal context is created by XMLContext exclusivly and then handed down the call chain. This very class is used in all cases, which fail to be on a call chain started with XMLContext. Ideally, all usage of this class should disappear and be replaced with proper usage of XMLContext.

Version:
$Id$
Author:
Joachim Grueneis, jgrueneis_at_gmail_dot_com
See Also:
XMLContext

Constructor Summary
BackwardCompatibilityContext()
          Initializes InternalContext with default values.
 
Method Summary
 
Methods inherited from class org.castor.xml.AbstractInternalContext
addClass, addClasses, addMapping, addPackage, addPackages, getBooleanProperty, getClassLoader, getIntrospector, getJavaNaming, getLenientIdValidation, getLenientSequenceOrder, getLoadPackageMapping, getMappingLoader, getOutputFormat, getParser, getParser, getPrimitiveNodeType, getProperty, getRegExpEvaluator, getResolverStrategy, getSerializer, getSerializer, getSerializer, getSerializerFactory, getStringProperty, getUseIntrospector, getXMLClassDescriptorResolver, getXMLNaming, getXMLNaming, getXMLReader, getXMLReader, marshallingValidation, setClassLoader, setIntrospector, setJavaNaming, setJavaNaming, setLoadPackageMapping, setMappingLoader, setProperty, setProperty, setResolver, setResolverStrategy, setUseIntrospector, setXMLClassDescriptorResolver, setXMLNaming, setXMLNaming, strictElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.castor.xml.InternalContext
addClass, addClasses, addMapping, addPackage, addPackages, getBooleanProperty, getClassLoader, getIntrospector, getJavaNaming, getLenientIdValidation, getLenientSequenceOrder, getLoadPackageMapping, getMappingLoader, getOutputFormat, getParser, getParser, getPrimitiveNodeType, getProperty, getRegExpEvaluator, getResolverStrategy, getSerializer, getSerializer, getSerializer, getStringProperty, getUseIntrospector, getXMLClassDescriptorResolver, getXMLNaming, getXMLNaming, getXMLReader, getXMLReader, marshallingValidation, setClassLoader, setIntrospector, setJavaNaming, setLoadPackageMapping, setMappingLoader, setProperty, setProperty, setResolver, setResolverStrategy, setUseIntrospector, setXMLClassDescriptorResolver, setXMLNaming, strictElements
 

Constructor Detail

BackwardCompatibilityContext

public BackwardCompatibilityContext()
Initializes InternalContext with default values.



Copyright © 2011. All Rights Reserved.