Deprecated API


Contents
Deprecated Classes
org.apache.commons.betwixt.io.BeanCreateRule
          0.5 this Rule does not allowed good integration with other Rules - use BeanRuleSet instead. 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper
            
 

Deprecated Fields
org.apache.commons.betwixt.strategy.IdStoringStrategy.DEFAULT
          do not use this singleton since it creates a static Map of all objects ever written. Use IdStoringStrategy.createDefault() instead 
org.apache.commons.betwixt.XMLIntrospector.log
          0.6 use the XMLIntrospector.getLog() property instead 
 

Deprecated Methods
org.apache.commons.betwixt.digester.AddDefaultsRule.addDescriptor(NodeDescriptor)
          0.5 replaced AddDefaultsRule.addDescriptor( Descriptor ) 
org.apache.commons.betwixt.XMLIntrospector.addProperties(BeanInfo, List, List)
          0.5 this method does not support mixed content. Use XMLIntrospector.addProperties(BeanInfo, List, List, List) instead. 
org.apache.commons.betwixt.XMLIntrospector.addProperties(BeanInfo, List, List, List)
          0.5 use XMLIntrospector.addProperties(BeanProperty[], List, List,List) 
org.apache.commons.betwixt.XMLIntrospector.addProperty(BeanInfo, PropertyDescriptor, List, List)
          0.5 this method does not support mixed content. Use XMLIntrospector.addProperty(BeanInfo, PropertyDescriptor, List, List, List) instead. 
org.apache.commons.betwixt.XMLIntrospector.addProperty(BeanInfo, PropertyDescriptor, List, List, List)
          0.5 BeanInfo is no longer required. Use XMLIntrospector.addProperty(PropertyDescriptor, List, List, List) instead. 
org.apache.commons.betwixt.XMLIntrospector.addProperty(PropertyDescriptor, List, List, List)
          0.5 use XMLIntrospector.addProperty(BeanProperty, List, List, List) instead 
org.apache.commons.betwixt.io.AbstractBeanWriter.bodyText(String)
          0.5 use AbstractBeanWriter.bodyText(WriteContext, String) 
org.apache.commons.betwixt.digester.ElementRule.configureDescriptor(ElementDescriptor, String)
          now calls #configureDescriptor(ElementDescriptor, String, boolean) which allow accessibility to be forced. The subclassing API was not really considered carefully when this class was created. If anyone subclasses this method please contact the mailing list and suitable hooks will be placed into the code. 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper.configureProperty(AttributeDescriptor, PropertyDescriptor)
          0.6 moved into AttributeRule 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper.configureProperty(ElementDescriptor, PropertyDescriptor)
          0.6 unused 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper.configureProperty(ElementDescriptor, PropertyDescriptor, String, Class)
          0.6 moved into ElementRule 
org.apache.commons.betwixt.XMLIntrospector.createDescriptor(PropertyDescriptor, boolean)
          0.5 use XMLIntrospector.createXMLDescriptor(org.apache.commons.betwixt.BeanProperty). 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper.createDescriptor(PropertyDescriptor, boolean, XMLIntrospector)
          0.5 this method has been replaced by XMLIntrospector.createDescriptor(java.beans.PropertyDescriptor, boolean) 
org.apache.commons.betwixt.XMLIntrospector.createNameMapper()
          0.6 this method has been moved into IntrospectionConfiguration. Those who need to vary this should subclass that class instead 
org.apache.commons.betwixt.XMLIntrospector.createPluralStemmer()
          0.6 this method has been moved into IntrospectionConfiguration. Those who need to vary this should subclass that class instead 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper.defaultAddMethods(XMLIntrospector, ElementDescriptor, Class)
          0.6 use the method in XMLIntrospector instead 
org.apache.commons.betwixt.io.AbstractBeanWriter.endElement(String, String, String)
          0.5 use AbstractBeanWriter.endElement(WriteContext, String, String, String) 
org.apache.commons.betwixt.io.BeanWriter.escapeAttributeValue(Object)
          0.5 moved into utility class XMLUtils.escapeAttributeValue(java.lang.Object) 
org.apache.commons.betwixt.io.BeanWriter.escapeBodyValue(Object)
          0.5 moved into utility class XMLUtils.escapeBodyValue(java.lang.Object) 
org.apache.commons.betwixt.io.BeanWriter.expressAttribute(String, String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.expressAttribute(String, String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.expressAttribute(String, String, String, String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.BeanWriter.expressBodyText(String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.expressBodyText(String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.BeanWriter.expressElementEnd()
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.expressElementEnd()
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.BeanWriter.expressElementEnd(String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.expressElementEnd(String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.expressElementEnd(String, String, String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.BeanWriter.expressElementStart(String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.expressElementStart(String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.expressElementStart(String, String, String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.BeanWriter.expressTagClose()
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.expressTagClose()
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper.findGetCollectionDescriptor(XMLIntrospector, ElementDescriptor, String)
          0.6 moved into XMLIntrospector 
org.apache.commons.betwixt.XMLIntrospector.flushCache()
          0.5 use flushable registry instead 
org.apache.commons.betwixt.XMLIntrospector.getAttributeNameMapper()
          0.6 getConfiguration().getAttributeNameMapper 
org.apache.commons.betwixt.XMLIntrospector.getClassNormalizer()
          0.6 use getConfiguration().getClassNormalizer 
org.apache.commons.betwixt.XMLIntrospector.getElementNameMapper()
          0.6 use getConfiguration().getElementNameMapper 
org.apache.commons.betwixt.io.AbstractBeanWriter.getIndentLevel()
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.BeanReader.getMatchIDs()
          0.5 use BindingConfiguration.getMapIDs() 
org.apache.commons.betwixt.XMLIntrospector.getNameMapper()
          0.5 getNameMapper is split up in XMLIntrospector.getElementNameMapper() and XMLIntrospector.getAttributeNameMapper() 
org.apache.commons.betwixt.XMLIntrospector.getPluralStemmer()
          0.6 use getConfiguration().getPluralStemmer 
org.apache.commons.betwixt.io.AbstractBeanWriter.getWriteIDs()
          0.5 use BindingConfiguration.getMapIDs() 
org.apache.commons.betwixt.XMLIntrospector.isAttributesForPrimitives()
          0.6 use getConfiguration().isAttributesForPrimitives 
org.apache.commons.betwixt.XMLIntrospector.isCachingEnabled()
          0.5 replaced by XMlBeanInfoRegistry 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper.isLoopType(Class)
          0.7 replaced by IntrospectionConfiguration.isLoopType(Class) 
org.apache.commons.betwixt.ElementDescriptor.isPrimitiveType()
          0.6 moved to a declarative style of descriptors where the alrogithmic should be done during introspection 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper.isPrimitiveType(Class)
          0.6 replaced by TypeBindingStrategy 
org.apache.commons.betwixt.XMLIntrospector.isWrapCollectionsInElement()
          0.6 use getConfiguration().isWrapCollectionsInElement 
org.apache.commons.betwixt.ElementDescriptor.isWrapCollectionsInElement()
          0.6 moved to a declarative style of descriptors where the alrogithmic should be done during introspection 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper.makeElementDescriptorMap(ElementDescriptor, Map)
          0.6 moved into XMLIntrospector 
org.apache.commons.betwixt.strategy.ObjectStringConverter.objectToString(Object, Class, String, Context)
          0.7 use ObjectStringConverter.objectToString(Object, Class, Context) instead. The preferred way to support flavours is by setting the org.apache.commons.betwixt.FLAVOUR option. This can then be retrieved by calling Context.getOptions() 
org.apache.commons.betwixt.XMLIntrospector.setAttributeNameMapper(NameMapper)
          0.6 use getConfiguration().setAttributeNameMapper 
org.apache.commons.betwixt.XMLIntrospector.setAttributesForPrimitives(boolean)
          0.6 use getConfiguration().setAttributesForPrimitives 
org.apache.commons.betwixt.XMLIntrospector.setCachingEnabled(boolean)
          0.5 replaced by XMlBeanInfoRegistry 
org.apache.commons.betwixt.io.BeanRuleSet.setClassNameAttribute(String)
          0.5 set the ReadContext property instead 
org.apache.commons.betwixt.XMLIntrospector.setClassNormalizer(ClassNormalizer)
          0.6 use getConfiguration().setClassNormalizer 
org.apache.commons.betwixt.XMLIntrospector.setElementNameMapper(NameMapper)
          0.6 use getConfiguration().setElementNameMapper 
org.apache.commons.betwixt.io.BeanReader.setMatchIDs(boolean)
          0.5 use BindingConfiguration.setMapIDs(boolean) 
org.apache.commons.betwixt.XMLIntrospector.setNameMapper(NameMapper)
          0.5 setNameMapper is split up in XMLIntrospector.setElementNameMapper(NameMapper) and XMLIntrospector.setAttributeNameMapper(NameMapper) 
org.apache.commons.betwixt.XMLIntrospector.setPluralStemmer(PluralStemmer)
          0.6 use getConfiguration().setPluralStemmer 
org.apache.commons.betwixt.ElementDescriptor.setPrimitiveType(boolean)
          0.6 moved to a declarative style of descriptors where the alrogithmic should be done during introspection 
org.apache.commons.betwixt.XMLIntrospector.setUseBeanInfoSearchPath(boolean)
          0.6 use getConfiguration().setUseBeanInfoSearchPath 
org.apache.commons.betwixt.XMLIntrospector.setWrapCollectionsInElement(boolean)
          0.6 use getConfiguration().setWrapCollectionsInElement 
org.apache.commons.betwixt.ElementDescriptor.setWrapCollectionsInElement(boolean)
          0.6 moved to a declarative style of descriptors where the alrogithmic should be done during introspection 
org.apache.commons.betwixt.io.AbstractBeanWriter.setWriteIDs(boolean)
          0.5 use BindingConfiguration.setMapIDs(boolean) 
org.apache.commons.betwixt.io.AbstractBeanWriter.startElement(String, String, String, Attributes)
          0.5 use AbstractBeanWriter.startElement(WriteContext, String, String, String, Attributes) 
org.apache.commons.betwixt.strategy.ObjectStringConverter.stringToObject(String, Class, String, Context)
          0.7 use ObjectStringConverter.stringToObject(String, Class, Context) instead. The preferred way to support flavours is by setting the org.apache.commons.betwixt.FLAVOUR option. This can then be retrieved by calling Context.getOptions() 
org.apache.commons.betwixt.digester.XMLIntrospectorHelper.swapDescriptor(ElementDescriptor, ElementDescriptor, ElementDescriptor)
          0.6 now unused 
org.apache.commons.betwixt.expression.Expression.update(Context, String)
          0.5 use Updater instead 
org.apache.commons.betwixt.XMLIntrospector.useBeanInfoSearchPath()
          0.6 use getConfiguration().useBeanInfoSearchPath 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(String, ElementDescriptor, Context)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(String, ElementDescriptor, Context, String, String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeAttribute(AttributeDescriptor, Context)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeAttributes(ElementDescriptor, Context)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(ElementDescriptor, Context)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeIDREFElement(String, String, String)
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.BeanWriter.writeIndent()
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeIndent()
          0.5 replaced by new BeanWriter API 
org.apache.commons.betwixt.io.BeanWriter.writePrintln()
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.writePrintln()
          0.5 replaced by new SAX inspired API 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(String, ElementDescriptor, Context)
          0.5 replaced by new SAX inspired API 
 

Deprecated Constructors
org.apache.commons.betwixt.io.BeanRuleSet(XMLIntrospector, String, ElementDescriptor, Class, boolean)
          0.5 use constructor which takes a ReadContext instead 
org.apache.commons.betwixt.io.BeanRuleSet(XMLIntrospector, String, ElementDescriptor, Class, Context)
          0.5 use the constructor which takes a ReadContext instead 
org.apache.commons.betwixt.io.BeanRuleSet(XMLIntrospector, String, ElementDescriptor, Context)
          0.6 use the constructor which takes a ReadContext instead 
org.apache.commons.betwixt.expression.Context(Object, Log)
          0.5 use constructor which takes a BindingConfiguration 
org.apache.commons.betwixt.expression.Context(Object, Map, Log)
          0.5 use constructor which takes a converter 
org.apache.commons.betwixt.ElementDescriptor(boolean)
          0.6 PrimitiveType property has been removed 
 



Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.