You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2004/06/19 18:24:11 UTC
cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy BadCharacterReplacingNMapper.java BaseMixedContentEncodingStrategy.java ClassNormalizer.java ConvertUtilsObjectStringConverter.java DefaultObjectStringConverter.java ListedClassNormalizer.java MixedContentEncodingStrategy.java ObjectStringConverter.java
rdonkin 2004/06/19 09:24:11
Modified: betwixt Tag: RELEASE_0_5_BRANCH project.properties
betwixt/src/java/org/apache/commons/betwixt Tag:
RELEASE_0_5_BRANCH BeanProperty.java
BindingConfiguration.java Descriptor.java
ElementDescriptor.java Options.java
TextDescriptor.java XMLIntrospector.java
XMLUtils.java
betwixt/src/java/org/apache/commons/betwixt/digester Tag:
RELEASE_0_5_BRANCH AddDefaultsRule.java
ElementRule.java MappedPropertyRule.java
OptionRule.java XMLIntrospectorHelper.java
betwixt/src/java/org/apache/commons/betwixt/expression Tag:
RELEASE_0_5_BRANCH ClassNameExpression.java
Context.java DynaBeanExpression.java
Expression.java MapEntryAdder.java
betwixt/src/java/org/apache/commons/betwixt/io Tag:
RELEASE_0_5_BRANCH AbstractBeanWriter.java
BeanCreateRule.java BeanReader.java
BeanRuleSet.java BeanWriter.java SAXBeanWriter.java
WriteContext.java
betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
RELEASE_0_5_BRANCH BeanCreationChain.java
BeanCreationList.java ChainedBeanCreator.java
ChainedBeanCreatorFactory.java ElementMapping.java
ReadConfiguration.java ReadContext.java
betwixt/src/java/org/apache/commons/betwixt/strategy Tag:
RELEASE_0_5_BRANCH
BadCharacterReplacingNMapper.java
BaseMixedContentEncodingStrategy.java
ClassNormalizer.java
ConvertUtilsObjectStringConverter.java
DefaultObjectStringConverter.java
ListedClassNormalizer.java
MixedContentEncodingStrategy.java
ObjectStringConverter.java
Log:
Numerous small changes to tidy up deprecation messages and to add since tags to javadocs
Revision Changes Path
No revision
No revision
1.13.2.1 +2 -2 jakarta-commons/betwixt/project.properties
Index: project.properties
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/project.properties,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -u -r1.13 -r1.13.2.1
--- project.properties 30 May 2004 11:25:12 -0000 1.13
+++ project.properties 19 Jun 2004 16:24:09 -0000 1.13.2.1
@@ -41,5 +41,5 @@
betwixt.repository=scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-commons/betwixt/
-maven.jdiff.old.tag=REFACTORING-BRANCH_2004-01-13_PRE-BRANCH
-maven.jdiff.new.tag=REFACTORING-BRANCH_2004-01-13
+maven.jdiff.old.tag=BETWIXT_1_0_ALPHA_1_RC_1
+maven.jdiff.new.tag=RELEASE_0_5_BRANCH
No revision
No revision
1.5.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/BeanProperty.java
Index: BeanProperty.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/BeanProperty.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- BeanProperty.java 28 Feb 2004 13:38:32 -0000 1.5
+++ BeanProperty.java 19 Jun 2004 16:24:09 -0000 1.5.2.1
@@ -32,7 +32,7 @@
* is performed from the results of that introspection.
*
* @author Robert Burrell Donkin
- * @version $Id$
+ * @since 0.5
*/
public class BeanProperty {
1.7.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/BindingConfiguration.java
Index: BindingConfiguration.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/BindingConfiguration.java,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -r1.7 -r1.7.2.1
--- BindingConfiguration.java 28 Feb 2004 13:38:32 -0000 1.7
+++ BindingConfiguration.java 19 Jun 2004 16:24:09 -0000 1.7.2.1
@@ -35,7 +35,7 @@
* can be shared.</p>
*
* @author <a href="mailto:rdonkin@apache.org">Robert Burrell Donkin</a>
- * @version $Revision$
+ * @since 0.5
*/
public class BindingConfiguration implements Serializable {
1.5.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/Descriptor.java
Index: Descriptor.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/Descriptor.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- Descriptor.java 7 Apr 2004 21:16:27 -0000 1.5
+++ Descriptor.java 19 Jun 2004 16:24:09 -0000 1.5.2.1
@@ -22,7 +22,7 @@
* Common superclass for types of <code>Descriptor</code></p>
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public abstract class Descriptor {
1.15.2.1 +8 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/ElementDescriptor.java
Index: ElementDescriptor.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/ElementDescriptor.java,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -u -r1.15 -r1.15.2.1
--- ElementDescriptor.java 28 Feb 2004 13:38:32 -0000 1.15
+++ ElementDescriptor.java 19 Jun 2004 16:24:09 -0000 1.15.2.1
@@ -149,6 +149,7 @@
* Returns true if this element has child content.
* @return true if this element has either child mixed content or child elements
* @see #getContentDescriptors
+ * @since 0.5
*/
public boolean hasContent() {
return getContentDescriptors().length > 0;
@@ -280,6 +281,7 @@
* Adds a descriptor for child content.
*
* @param descriptor the <code>Descriptor</code> describing the child content to add
+ * @since 0.5
*/
public void addContentDescriptor(Descriptor descriptor) {
if ( contentList == null ) {
@@ -293,6 +295,7 @@
* Returns descriptors for the child content of the element this describes.
* @return the <code>Descriptor</code> describing the child elements
* of the element that this <code>ElementDescriptor</code> describes
+ * @since 0.5
*/
public Descriptor[] getContentDescriptors() {
if ( contentDescriptors == null ) {
@@ -319,6 +322,7 @@
* found amongst the descriptors is returned.
*
* @return the primary descriptor or null if this element has no mixed body content
+ * @since 0.5
*/
public TextDescriptor getPrimaryBodyTextDescriptor() {
// todo: this probably isn't the most efficent algorithm
@@ -337,6 +341,7 @@
* Sets the descriptors for the child content of the element this describes.
* @param contentDescriptors the <code>Descriptor</code>s of the element
* that this describes
+ * @since 0.5
*/
public void setContentDescriptors(Descriptor[] contentDescriptors) {
this.contentDescriptors = contentDescriptors;
@@ -438,6 +443,7 @@
*
* @return list of <code>Descriptor</code>'s describe the child content of
* the element that this <code>Descriptor</code> describes
+ * @since 0.5
*/
protected List getContentList() {
if ( contentList == null ) {
@@ -469,6 +475,7 @@
* Sets the class which should be used for instantiation.
* @param implementationClass the class which should be used for instantiation
* or null to use the mapped type
+ * @since 0.5
*/
public void setImplementationClass(Class implementationClass) {
this.implementationClass = implementationClass;
1.1.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/Options.java
Index: Options.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/Options.java,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- Options.java 7 Apr 2004 21:13:31 -0000 1.1
+++ Options.java 19 Jun 2004 16:24:09 -0000 1.1.2.1
@@ -24,7 +24,7 @@
* An option links a name with a value (both strings).
*
* @author <a href='http://jakarta.apache.org/'>Jakarta Commons Team</a>
- * @version $Revision$
+ * @since 0.5
*/
public class Options {
/** Empty string array for use with toArray */
1.5.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/TextDescriptor.java
Index: TextDescriptor.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/TextDescriptor.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- TextDescriptor.java 28 Feb 2004 13:38:32 -0000 1.5
+++ TextDescriptor.java 19 Jun 2004 16:24:09 -0000 1.5.2.1
@@ -27,7 +27,7 @@
* <p>This is really just a marker class - all functionality is inherited.</p>
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class TextDescriptor extends Descriptor {
1.28.2.1 +17 -13 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/XMLIntrospector.java
Index: XMLIntrospector.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/XMLIntrospector.java,v
retrieving revision 1.28
retrieving revision 1.28.2.1
diff -u -r1.28 -r1.28.2.1
--- XMLIntrospector.java 28 Feb 2004 13:38:32 -0000 1.28
+++ XMLIntrospector.java 19 Jun 2004 16:24:09 -0000 1.28.2.1
@@ -163,6 +163,7 @@
*
* @return the <code>ClassNormalizer</code> used to determine the Class to be introspected
* for a given Object.
+ * @since 0.5
*/
public ClassNormalizer getClassNormalizer() {
return classNormalizer;
@@ -175,6 +176,7 @@
*
* @param classNormalizer the <code>ClassNormalizer</code> to be used to determine
* the Class to be introspected for a given Object.
+ * @since 0.5
*/
public void setClassNormalizer(ClassNormalizer classNormalizer) {
this.classNormalizer = classNormalizer;
@@ -183,7 +185,7 @@
/**
* Is <code>XMLBeanInfo</code> caching enabled?
*
- * @deprecated replaced by XMlBeanInfoRegistry
+ * @deprecated 0.5 replaced by XMlBeanInfoRegistry
* @return true if caching is enabled
*/
public boolean isCachingEnabled() {
@@ -193,7 +195,7 @@
/**
* Set whether <code>XMLBeanInfo</code> caching should be enabled.
*
- * @deprecated replaced by XMlBeanInfoRegistry
+ * @deprecated 0.5 replaced by XMlBeanInfoRegistry
* @param cachingEnabled ignored
*/
public void setCachingEnabled(boolean cachingEnabled) {
@@ -203,7 +205,7 @@
/**
* Flush existing cached <code>XMLBeanInfo</code>'s.
*
- * @deprecated use flushable registry instead
+ * @deprecated 0.5 use flushable registry instead
*/
public void flushCache() {}
@@ -485,7 +487,7 @@
* Gets the name mapper strategy.
*
* @return the strategy used to convert bean type names into element names
- * @deprecated getNameMapper is split up in
+ * @deprecated 0.5 getNameMapper is split up in
* {@link #getElementNameMapper()} and {@link #getAttributeNameMapper()}
*/
public NameMapper getNameMapper() {
@@ -495,7 +497,7 @@
/**
* Sets the strategy used to convert bean type names into element names
* @param nameMapper the NameMapper strategy to be used
- * @deprecated setNameMapper is split up in
+ * @deprecated 0.5 setNameMapper is split up in
* {@link #setElementNameMapper(NameMapper)} and {@link #setAttributeNameMapper(NameMapper)}
*/
public void setNameMapper(NameMapper nameMapper) {
@@ -556,8 +558,7 @@
* @param useAttributesForPrimitives write primitives as attributes (rather than elements)
* @return a correctly configured <code>NodeDescriptor</code> for the property
* @throws IntrospectionException when bean introspection fails
- * @deprecated use {@link #createXMLDescriptor}.
- * @since Alpha1
+ * @deprecated 0.5 use {@link #createXMLDescriptor}.
*/
public Descriptor createDescriptor(
PropertyDescriptor propertyDescriptor,
@@ -573,6 +574,7 @@
*
* @param beanProperty the BeanProperty specifying the property
* @return a correctly configured <code>NodeDescriptor</code> for the property
+ * @since 0.5
*/
public Descriptor createXMLDescriptor( BeanProperty beanProperty ) {
String name = beanProperty.getPropertyName();
@@ -771,7 +773,7 @@
* @param attributes AttributeDescriptor list to which attributes will be added
* @param contents Descriptor list to which mixed content will be added
* @throws IntrospectionException if the bean introspection fails
- * @deprecated use {@link #addProperties(BeanProperty[], List, List,List)}
+ * @deprecated 0.5 use {@link #addProperties(BeanProperty[], List, List,List)}
*/
protected void addProperties(
BeanInfo beanInfo,
@@ -799,6 +801,7 @@
* @param elements ElementDescriptor list to which elements will be added
* @param attributes AttributeDescriptor list to which attributes will be added
* @param contents Descriptor list to which mixed content will be added
+ * @since 0.5
*/
protected void addProperties(
BeanProperty[] beanProperties,
@@ -833,7 +836,7 @@
* @param attributes AttributeDescriptor list to which attributes will be added
* @param contents Descriptor list to which mixed content will be added
* @throws IntrospectionException if the bean introspection fails
- * @deprecated BeanInfo is no longer required.
+ * @deprecated 0.5 BeanInfo is no longer required.
* Use {@link #addProperty(PropertyDescriptor, List, List, List)} instead.
*/
protected void addProperty(
@@ -857,7 +860,7 @@
* @param attributes AttributeDescriptor list to which attributes will be added
* @param contents Descriptor list to which mixed content will be added
* @throws IntrospectionException if the bean introspection fails
- * @deprecated use {@link #addProperty(BeanProperty, List, List, List)} instead
+ * @deprecated 0.5 use {@link #addProperty(BeanProperty, List, List, List)} instead
*/
protected void addProperty(
PropertyDescriptor propertyDescriptor,
@@ -878,6 +881,7 @@
* @param elements ElementDescriptor list to which elements will be added
* @param attributes AttributeDescriptor list to which attributes will be added
* @param contents Descriptor list to which mixed content will be added
+ * @since 0.5
*/
protected void addProperty(
BeanProperty beanProperty,
@@ -904,7 +908,7 @@
* @param elements ElementDescriptor list to which elements will be added
* @param attributes AttributeDescriptor list to which attributes will be added
* @throws IntrospectionException if the bean introspection fails
- * @deprecated this method does not support mixed content.
+ * @deprecated 0.5 this method does not support mixed content.
* Use {@link #addProperties(BeanInfo, List, List, List)} instead.
*/
protected void addProperties(
@@ -935,7 +939,7 @@
* @param elements ElementDescriptor list to which elements will be added
* @param attributes AttributeDescriptor list to which attributes will be added
* @throws IntrospectionException if the bean introspection fails
- * @deprecated this method does not support mixed content.
+ * @deprecated 0.5 this method does not support mixed content.
* Use {@link #addProperty(BeanInfo, PropertyDescriptor, List, List, List)} instead.
*/
protected void addProperty(
1.9.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/XMLUtils.java
Index: XMLUtils.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/XMLUtils.java,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -r1.9 -r1.9.2.1
--- XMLUtils.java 24 Mar 2004 22:46:15 -0000 1.9
+++ XMLUtils.java 19 Jun 2004 16:24:09 -0000 1.9.2.1
@@ -29,7 +29,7 @@
* @author Rahul Srivastava, Sun Microsystems Inc.
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class XMLUtils {
No revision
No revision
1.11.2.1 +3 -2 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/AddDefaultsRule.java
Index: AddDefaultsRule.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/AddDefaultsRule.java,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -r1.11 -r1.11.2.1
--- AddDefaultsRule.java 31 Mar 2004 21:11:52 -0000 1.11
+++ AddDefaultsRule.java 19 Jun 2004 16:24:10 -0000 1.11.2.1
@@ -100,7 +100,7 @@
* @throws SAXException if the parent for the addDefaults element is not a <element>
* or if the top object on the stack is not a <code>XMLBeanInfo</code> or a
* <code>ElementDescriptor</code>
- * @deprecated replaced {@link #addDescriptor( Descriptor )}
+ * @deprecated 0.5 replaced by {@link #addDescriptor( Descriptor )}
*/
protected void addDescriptor( NodeDescriptor nodeDescriptor ) throws SAXException {
addDescriptor( (Descriptor) nodeDescriptor );
@@ -113,6 +113,7 @@
* @throws SAXException if the parent for the addDefaults element is not a <element>
* or if the top object on the stack is not a <code>XMLBeanInfo</code> or a
* <code>ElementDescriptor</code>
+ * @since 0.5
*/
protected void addDescriptor( Descriptor nodeDescriptor ) throws SAXException {
Object top = digester.peek();
1.14.2.1 +4 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/ElementRule.java
Index: ElementRule.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/ElementRule.java,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -u -r1.14 -r1.14.2.1
--- ElementRule.java 28 Feb 2004 13:38:32 -0000 1.14
+++ ElementRule.java 19 Jun 2004 16:24:10 -0000 1.14.2.1
@@ -40,6 +40,7 @@
* Sets the log for this class
*
* @param newLog the new Log implementation for this class to use
+ * @since 0.5
*/
public static final void setLog(Log newLog) {
log = newLog;
@@ -162,6 +163,7 @@
* Uses the default updater (from the standard java bean property).
*
* @param elementDescriptor configure this <code>ElementDescriptor</code>
+ * since 0.5
*/
protected void configureDescriptor(ElementDescriptor elementDescriptor) {
configureDescriptor( elementDescriptor, null );
@@ -173,6 +175,7 @@
*
* @param elementDescriptor configure this <code>ElementDescriptor</code>
* @param updateMethodName custom update method. If null, then use standard
+ * since 0.5
*/
protected void configureDescriptor(
ElementDescriptor elementDescriptor,
1.6.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/MappedPropertyRule.java
Index: MappedPropertyRule.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/MappedPropertyRule.java,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -r1.6 -r1.6.2.1
--- MappedPropertyRule.java 31 Mar 2004 21:11:52 -0000 1.6
+++ MappedPropertyRule.java 19 Jun 2004 16:24:10 -0000 1.6.2.1
@@ -26,7 +26,7 @@
* Maybe a lot of this should be moved into <code>BeanUtils</code>.</p>
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public abstract class MappedPropertyRule extends RuleSupport {
1.1.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/OptionRule.java
Index: OptionRule.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/OptionRule.java,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- OptionRule.java 7 Apr 2004 21:14:06 -0000 1.1
+++ OptionRule.java 19 Jun 2004 16:24:10 -0000 1.1.2.1
@@ -25,7 +25,7 @@
* {@link org.apache.commons.betwixt.Options}
* on the current description.
* @author <a href='http://jakarta.apache.org/'>Jakarta Commons Team</a>
- * @version $Revision$
+ * @since 0.5
*/
public class OptionRule extends Rule {
1.29.2.1 +3 -2 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java
Index: XMLIntrospectorHelper.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java,v
retrieving revision 1.29
retrieving revision 1.29.2.1
diff -u -r1.29 -r1.29.2.1
--- XMLIntrospectorHelper.java 31 Mar 2004 21:11:52 -0000 1.29
+++ XMLIntrospectorHelper.java 19 Jun 2004 16:24:10 -0000 1.29.2.1
@@ -86,7 +86,7 @@
* @param introspector use this <code>XMLIntrospector</code>
* @return a correctly configured <code>NodeDescriptor</code> for the property
* @throws IntrospectionException when bean introspection fails
- * @deprecated this method has been replaced by {@link XMLIntrospector#createDescriptor}
+ * @deprecated 0.5 this method has been replaced by {@link XMLIntrospector#createDescriptor}
*/
public static NodeDescriptor createDescriptor(
PropertyDescriptor propertyDescriptor,
@@ -230,6 +230,7 @@
* If null, then then
* @param beanClass the <code>Class</code> from which the update method should be found.
* This may be null only when <code>updateMethodName</code> is also null.
+ * @since 0.5
*/
public static void configureProperty(
ElementDescriptor elementDescriptor,
No revision
No revision
1.4.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/ClassNameExpression.java
Index: ClassNameExpression.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/ClassNameExpression.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -r1.4 -r1.4.2.1
--- ClassNameExpression.java 28 Feb 2004 13:38:32 -0000 1.4
+++ ClassNameExpression.java 19 Jun 2004 16:24:10 -0000 1.4.2.1
@@ -20,7 +20,7 @@
* of the context bean
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
- * @version $Revision$
+ * @since 0.5
*/
public class ClassNameExpression implements Expression {
1.10.2.1 +7 -3 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/Context.java
Index: Context.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/Context.java,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -r1.10 -r1.10.2.1
--- Context.java 31 Mar 2004 21:11:52 -0000 1.10
+++ Context.java 19 Jun 2004 16:24:10 -0000 1.10.2.1
@@ -70,7 +70,7 @@
*
* @param bean evaluate expressions against this bean
* @param log log to this logger
- * @deprecated use constructor which takes a BindingConfiguration
+ * @deprecated 0.5 use constructor which takes a BindingConfiguration
*/
public Context(Object bean, Log log) {
this( bean, log, new BindingConfiguration() );
@@ -102,7 +102,7 @@
* @param bean evaluate expressions against this bean
* @param variables context variables
* @param log log to this logger
- * @deprecated use constructor which takes a converter
+ * @deprecated 0.5 use constructor which takes a converter
*/
public Context(Object bean, Map variables, Log log) {
this( bean, variables, log, new BindingConfiguration() );
@@ -204,6 +204,7 @@
/**
* Gets object <-> string converter.
* @return the Converter to be used for conversions, not null
+ * @since 0.5
*/
public ObjectStringConverter getObjectStringConverter() {
return bindingConfiguration.getObjectStringConverter();
@@ -215,6 +216,7 @@
*
* @return true if <code>ID</code> and <code>IDREF</code>
* attributes should be used to cross-reference instances
+ * @since 0.5
*/
public boolean getMapIDs() {
return bindingConfiguration.getMapIDs();
@@ -227,6 +229,7 @@
* <p>The default value is 'className'.</p>
*
* @return The name of the attribute used to overload the class name of a bean
+ * @since 0.5
*/
public String getClassNameAttribute() {
return bindingConfiguration.getClassNameAttribute();
@@ -240,6 +243,7 @@
* <p>The default value is 'className'.</p>
*
* @param classNameAttribute The name of the attribute used to overload the class name of a bean
+ * @since 0.5
*/
public void setClassNameAttribute(String classNameAttribute) {
bindingConfiguration.setClassNameAttribute( classNameAttribute );
1.5.2.1 +1 -0 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/DynaBeanExpression.java
Index: DynaBeanExpression.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/DynaBeanExpression.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- DynaBeanExpression.java 28 Feb 2004 13:38:32 -0000 1.5
+++ DynaBeanExpression.java 19 Jun 2004 16:24:10 -0000 1.5.2.1
@@ -24,6 +24,7 @@
* @see org.apache.commons.beanutils.DynaBean
*
* @author Michael Becke
+ * @since 0.5
*/
public class DynaBeanExpression implements Expression {
1.6.2.1 +2 -2 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/Expression.java
Index: Expression.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/Expression.java,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -r1.6 -r1.6.2.1
--- Expression.java 28 Feb 2004 13:38:32 -0000 1.6
+++ Expression.java 19 Jun 2004 16:24:10 -0000 1.6.2.1
@@ -43,7 +43,7 @@
*
* @param context update this <code>Context</code>
* @param newValue the new value for this expression
- * @deprecated use {@link Updater} instead
+ * @deprecated 0.5 use {@link Updater} instead
*/
public void update(Context context, String newValue);
}
1.5.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/MapEntryAdder.java
Index: MapEntryAdder.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/MapEntryAdder.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- MapEntryAdder.java 28 Feb 2004 13:38:32 -0000 1.5
+++ MapEntryAdder.java 19 Jun 2004 16:24:10 -0000 1.5.2.1
@@ -34,7 +34,7 @@
* </p>
*
* @author <a href="mailto:rdonkin@apache.org">Robert Burrell Donkin</a>
- * @version $Revision$
+ * @since 0.5
*/
public class MapEntryAdder {
No revision
No revision
1.26.2.1 +32 -31 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java
Index: AbstractBeanWriter.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java,v
retrieving revision 1.26
retrieving revision 1.26.2.1
diff -u -r1.26 -r1.26.2.1
--- AbstractBeanWriter.java 31 Mar 2004 21:11:52 -0000 1.26
+++ AbstractBeanWriter.java 19 Jun 2004 16:24:10 -0000 1.26.2.1
@@ -346,6 +346,7 @@
/**
* Gets the dynamic configuration setting to be used for bean reading.
* @return the BindingConfiguration settings, not null
+ * @since 0.5
*/
public BindingConfiguration getBindingConfiguration() {
return bindingConfiguration;
@@ -354,6 +355,7 @@
/**
* Sets the dynamic configuration setting to be used for bean reading.
* @param bindingConfiguration the BindingConfiguration settings, not null
+ * @since 0.5
*/
public void setBindingConfiguration(BindingConfiguration bindingConfiguration) {
this.bindingConfiguration = bindingConfiguration;
@@ -366,7 +368,7 @@
* then a {@link CyclicReferenceException} will be thrown by the write method.</p>
*
* @return true if <code>ID</code> and <code>IDREF</code> attributes are to be written
- * @deprecated use {@link BindingConfiguration#getMapIDs}
+ * @deprecated 0.5 use {@link BindingConfiguration#getMapIDs}
*/
public boolean getWriteIDs() {
return getBindingConfiguration().getMapIDs();
@@ -378,7 +380,7 @@
* will be thrown whenever a cyclic occurs in the bean graph.
*
* @param writeIDs true if <code>ID</code>'s and <code>IDREF</code>'s should be written
- * @deprecated use {@link BindingConfiguration#setMapIDs}
+ * @deprecated 0.5 use {@link BindingConfiguration#setMapIDs}
*/
public void setWriteIDs(boolean writeIDs) {
getBindingConfiguration().setMapIDs( writeIDs );
@@ -393,6 +395,7 @@
* <code><element attr='value'/></code> is not.</p>
*
* @return true if empty elements will be written into the output
+ * @since 0.5
*/
public boolean getWriteEmptyElements() {
return writeEmptyElements;
@@ -407,6 +410,7 @@
* <code><element attr='value'/></code> is not.
*
* @param writeEmptyElements true if empty elements should be written into the output
+ * @since 0.5
*/
public void setWriteEmptyElements(boolean writeEmptyElements) {
this.writeEmptyElements = writeEmptyElements;
@@ -472,7 +476,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha-1
+ * @since 0.5
*/
protected void startElement(
WriteContext context,
@@ -496,7 +500,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha-1
+ * @since 0.5
*/
protected void endElement(
WriteContext context,
@@ -517,7 +521,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void bodyText(WriteContext context, String text)
throws IOException, SAXException {
@@ -538,8 +542,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha-1
- * @deprecated use {@link #startElement(WriteContext, String, String, String, Attributes)}
+ * @deprecated 0.5 use {@link #startElement(WriteContext, String, String, String, Attributes)}
*/
protected void startElement(
String uri,
@@ -559,8 +562,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha-1
- * @deprecated use {@link #endElement(WriteContext, String, String, String)}
+ * @deprecated 0.5 use {@link #endElement(WriteContext, String, String, String)}
*/
protected void endElement(
String uri,
@@ -577,8 +579,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
- * @deprecated use {@link #bodyText(WriteContext, String)}
+ * @deprecated 0.5 use {@link #bodyText(WriteContext, String)}
*/
protected void bodyText(String text) throws IOException, SAXException {}
@@ -1207,7 +1208,7 @@
* Used for pretty priting.
*
* @return the amount that the current element is indented
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected int getIndentLevel() {
return 0;
@@ -1222,7 +1223,7 @@
* @param qualifiedName the qualified name of the element to be expressed
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementStart(String qualifiedName)
throws IOException, SAXException {
@@ -1237,7 +1238,7 @@
* @param qualifiedName the qualified name of the element to be expressed
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementStart(String uri, String localName, String qualifiedName)
throws IOException, SAXException {
@@ -1249,7 +1250,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressTagClose() throws IOException, SAXException {}
@@ -1260,7 +1261,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementEnd(String qualifiedName)
throws IOException, SAXException {
@@ -1276,7 +1277,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementEnd(
String uri,
@@ -1294,7 +1295,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementEnd() throws IOException, SAXException {}
@@ -1305,7 +1306,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressBodyText(String text) throws IOException, SAXException {}
@@ -1316,7 +1317,7 @@
* @param value the attribute value
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressAttribute(
String qualifiedName,
@@ -1336,7 +1337,7 @@
* @param value the attribute value
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressAttribute(
String namespaceUri,
@@ -1359,7 +1360,7 @@
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
* @throws IntrospectionException if a java beans introspection problem occurs
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void write(
String qualifiedName,
@@ -1383,7 +1384,7 @@
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
* @throws IntrospectionException if a java beans introspection problem occurs
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void write(
String qualifiedName,
@@ -1414,7 +1415,7 @@
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
* @throws IntrospectionException if a java beans introspection problem occurs
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writeRestOfElement(
String qualifiedName,
@@ -1436,7 +1437,7 @@
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
* @throws IntrospectionException if a java beans introspection problem occurs
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writeIDREFElement(
String qualifiedName,
@@ -1468,7 +1469,7 @@
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
* @throws IntrospectionException if a java beans introspection problem occurs
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected boolean writeContent(
ElementDescriptor elementDescriptor,
@@ -1488,7 +1489,7 @@
* @param context the <code>Context</code> to use to evaluation bean expressions
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writeAttributes(
ElementDescriptor elementDescriptor,
@@ -1516,7 +1517,7 @@
* @param context the <code>Context</code> to use to evaluation bean expressions
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writeAttribute(
AttributeDescriptor attributeDescriptor,
@@ -1543,7 +1544,7 @@
* This implementation does nothing but can be overridden by subclasses.
*
* @throws IOException if the line cannot be written
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writePrintln() throws IOException {}
@@ -1552,7 +1553,7 @@
* This implementation does nothing but can be overridden by subclasses.
*
* @throws IOException if the indent cannot be written
- * @deprecated after 1.0-Alpha-1 replaced by new BeanWriter API
+ * @deprecated 0.5 replaced by new BeanWriter API
*/
protected void writeIndent() throws IOException {}
1.25.2.1 +2 -2 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanCreateRule.java
Index: BeanCreateRule.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanCreateRule.java,v
retrieving revision 1.25
retrieving revision 1.25.2.1
diff -u -r1.25 -r1.25.2.1
--- BeanCreateRule.java 28 Feb 2004 13:38:33 -0000 1.25
+++ BeanCreateRule.java 19 Jun 2004 16:24:10 -0000 1.25.2.1
@@ -39,7 +39,7 @@
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @author <a href="mailto:martin@mvdb.net">Martin van den Bemt</a>
* @version $Revision$
- * @deprecated this Rule does not allowed good integration with other Rules -
+ * @deprecated 0.5 this Rule does not allowed good integration with other Rules -
* use {@link BeanRuleSet} instead.
*/
public class BeanCreateRule extends Rule {
1.20.2.1 +9 -3 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanReader.java
Index: BeanReader.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanReader.java,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -u -r1.20 -r1.20.2.1
--- BeanReader.java 31 Mar 2004 21:11:52 -0000 1.20
+++ BeanReader.java 19 Jun 2004 16:24:10 -0000 1.20.2.1
@@ -182,6 +182,7 @@
*
* <p><strong>Note</strong> that deregistering a bean does <strong>not</strong>
* remove the Digester rules associated with that bean.</p>
+ * @since 0.5
*/
public void flushRegisteredBeanClasses() {
registeredClasses.clear();
@@ -198,6 +199,7 @@
* remove the Digester rules associated with that bean.</p>
*
* @param beanClass the <code>Class</code> to remove from the set of registered bean classes
+ * @since 0.5
*/
public void deregisterBeanClass( Class beanClass ) {
registeredClasses.remove( beanClass );
@@ -259,7 +261,7 @@
*
* @return true if <code>ID</code> and <code>IDREF</code>
* attributes should be used to match instances
- * @deprecated use {@link BindingConfiguration#getMapIDs}
+ * @deprecated 0.5 use {@link BindingConfiguration#getMapIDs}
*/
public boolean getMatchIDs() {
return getBindingConfiguration().getMapIDs();
@@ -269,7 +271,7 @@
* Set whether the read should use <code>ID</code> attributes to match beans.
*
* @param matchIDs pass true if <code>ID</code>'s should be matched
- * @deprecated use {@link BindingConfiguration#setMapIDs}
+ * @deprecated 0.5 use {@link BindingConfiguration#setMapIDs}
*/
public void setMatchIDs(boolean matchIDs) {
getBindingConfiguration().setMapIDs( matchIDs );
@@ -278,6 +280,7 @@
/**
* Gets the dynamic configuration setting to be used for bean reading.
* @return the BindingConfiguration settings, not null
+ * @since 0.5
*/
public BindingConfiguration getBindingConfiguration() {
return bindingConfiguration;
@@ -286,6 +289,7 @@
/**
* Sets the dynamic configuration setting to be used for bean reading.
* @param bindingConfiguration the BindingConfiguration settings, not null
+ * @since 0.5
*/
public void setBindingConfiguration( BindingConfiguration bindingConfiguration ) {
this.bindingConfiguration = bindingConfiguration;
@@ -294,6 +298,7 @@
/**
* Gets read specific configuration details.
* @return the ReadConfiguration, not null
+ * @since 0.5
*/
public ReadConfiguration getReadConfiguration() {
return readConfiguration;
@@ -302,6 +307,7 @@
/**
* Sets the read specific configuration details.
* @param readConfiguration not null
+ * @since 0.5
*/
public void setReadConfiguration( ReadConfiguration readConfiguration ) {
this.readConfiguration = readConfiguration;
1.18.2.1 +4 -4 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java
Index: BeanRuleSet.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -r1.18 -r1.18.2.1
--- BeanRuleSet.java 31 Mar 2004 21:11:52 -0000 1.18
+++ BeanRuleSet.java 19 Jun 2004 16:24:10 -0000 1.18.2.1
@@ -43,7 +43,7 @@
*
* @author <a href="mailto:rdonkin@apache.org">Robert Burrell Donkin</a>
* @author <a href="mailto:martin@mvdb.net">Martin van den Bemt</a>
- * @version $Revision$
+ * @since 0.5
*/
public class BeanRuleSet implements RuleSet {
@@ -81,7 +81,7 @@
* @param baseElementDescriptor the <code>ElementDescriptor</code> used to create the rules
* @param baseBeanClass the <code>Class</code> whose mapping rules will be created
* @param matchIDs should ID/IDREFs be used to match beans?
- * @deprecated use constructor which takes a ReadContext instead
+ * @deprecated 0.5 use constructor which takes a ReadContext instead
*/
public BeanRuleSet(
XMLIntrospector introspector,
@@ -107,7 +107,7 @@
* @param baseBeanClass the <code>Class</code> whose mapping rules will be created
* @param context the root Context that bean carrying Contexts should be obtained from,
* not null
- * @deprecated use the constructor which takes a ReadContext instead
+ * @deprecated 0.5 use the constructor which takes a ReadContext instead
*/
public BeanRuleSet(
XMLIntrospector introspector,
@@ -165,7 +165,7 @@
* <p>The default value is 'className'.</p>
*
* @param classNameAttribute The name of the attribute used to overload the class name of a bean
- * @deprecated set the <code>ReadContext</code> property instead
+ * @deprecated 0.5 set the <code>ReadContext</code> property instead
*/
public void setClassNameAttribute(String classNameAttribute) {
baseContext.setClassNameAttribute(classNameAttribute);
1.24.2.1 +16 -14 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanWriter.java
Index: BeanWriter.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanWriter.java,v
retrieving revision 1.24
retrieving revision 1.24.2.1
diff -u -r1.24 -r1.24.2.1
--- BeanWriter.java 31 Mar 2004 21:11:52 -0000 1.24
+++ BeanWriter.java 19 Jun 2004 16:24:10 -0000 1.24.2.1
@@ -270,6 +270,7 @@
* This is used to process body content
* before it is written to the textual output.
* @return the <code>MixedContentEncodingStrategy</code>, not null
+ * @since 0.5
*/
public MixedContentEncodingStrategy getMixedContentEncodingStrategy() {
return mixedContentEncodingStrategy;
@@ -281,6 +282,7 @@
* before it is written to the textual output.
* @param strategy the <code>MixedContentEncodingStrategy</code>
* used to process body content, not null
+ * @since 0.5
*/
public void setMixedContentEncodingStrategy(MixedContentEncodingStrategy strategy) {
mixedContentEncodingStrategy = strategy;
@@ -300,7 +302,7 @@
* @param attr the element's attributes
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void startElement(
WriteContext context,
@@ -343,7 +345,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void endElement(
WriteContext context,
@@ -379,7 +381,7 @@
*
* @param text write out this body text
* @throws IOException when the stream write fails
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void bodyText(WriteContext context, String text) throws IOException {
if ( text == null ) {
@@ -432,7 +434,7 @@
* Uses current <code>endOfLine</code>.
*
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writePrintln() throws IOException {
if ( endOfLine != null ) {
@@ -444,7 +446,7 @@
* Writes out <code>indent</code>'s to the current <code>indentLevel</code>
*
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writeIndent() throws IOException {
if ( indent != null ) {
@@ -460,7 +462,7 @@
*
* @param value escape <code>value.toString()</code>
* @return text with escaped delimiters
- * @deprecated After 1.0-Alpha-1 moved into utility class {@link XMLUtils#escapeBodyValue}
+ * @deprecated 0.5 moved into utility class {@link XMLUtils#escapeBodyValue}
*/
protected String escapeBodyValue(Object value) {
return XMLUtils.escapeBodyValue(value);
@@ -473,7 +475,7 @@
* @param value escape <code>value.toString()</code>
* @return text with characters restricted (for use in attributes) escaped
*
- * @deprecated After 1.0-Alpha-1 moved into utility class {@link XMLUtils#escapeAttributeValue}
+ * @deprecated 0.5 moved into utility class {@link XMLUtils#escapeAttributeValue}
*/
protected String escapeAttributeValue(Object value) {
return XMLUtils.escapeAttributeValue(value);
@@ -484,7 +486,7 @@
*
* @param qualifiedName the fully qualified name of the element to write
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementStart(String qualifiedName) throws IOException {
if ( qualifiedName == null ) {
@@ -503,7 +505,7 @@
* Write a tag close to the stream
*
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressTagClose() throws IOException {
writer.write( '>' );
@@ -514,7 +516,7 @@
*
* @param qualifiedName the name of the element
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementEnd(String qualifiedName) throws IOException {
if (qualifiedName == null) {
@@ -532,7 +534,7 @@
* Write an empty element end to the stream
*
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementEnd() throws IOException {
writer.write( "/>" );
@@ -543,7 +545,7 @@
*
* @param text write out this body text
* @throws IOException when the stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressBodyText(String text) throws IOException {
if ( text == null ) {
@@ -561,7 +563,7 @@
* @param qualifiedName fully qualified attribute name
* @param value attribute value
* @throws IOException when the stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressAttribute(
String qualifiedName,
1.15.2.1 +8 -5 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/SAXBeanWriter.java
Index: SAXBeanWriter.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/SAXBeanWriter.java,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -u -r1.15 -r1.15.2.1
--- SAXBeanWriter.java 31 Mar 2004 19:54:24 -0000 1.15
+++ SAXBeanWriter.java 19 Jun 2004 16:24:10 -0000 1.15.2.1
@@ -52,7 +52,9 @@
/**
* Should document events (ie start and end) be called?
*
- * @return true if this SAXWriter should call start and end of the content handler
+ * @return true if this SAXWriter should call start
+ * and end of the content handler
+ * @since 0.5
*/
public boolean getCallDocumentEvents() {
return callDocumentEvents;
@@ -62,6 +64,7 @@
* Sets whether the document events (ie start and end) should be called.
*
* @param callDocumentEvents should document events be called
+ * @since 0.5
*/
public void setCallDocumentEvents(boolean callDocumentEvents) {
this.callDocumentEvents = callDocumentEvents;
@@ -103,7 +106,7 @@
* @param qName the element's qualified name
* @param attributes the element's attributes
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void startElement(
WriteContext context,
@@ -127,7 +130,7 @@
* @param localName the element's local name
* @param qName the element's qualified name
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void endElement(
WriteContext context,
@@ -146,7 +149,7 @@
* Express body text
* @param text the element body text
* @throws SAXException if the <code>ContentHandler</code> has a problem
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void bodyText(WriteContext context, String text) throws SAXException {
// FIX ME
1.1.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/WriteContext.java
Index: WriteContext.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/WriteContext.java,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- WriteContext.java 31 Mar 2004 19:54:01 -0000 1.1
+++ WriteContext.java 19 Jun 2004 16:24:10 -0000 1.1.2.1
@@ -33,7 +33,7 @@
* rather than extending {@link Context}.
* </p>
* @author <a href='http://jakarta.apache.org/'>Jakarta Commons Team</a>
- * @version $Revision$
+ * @since 0.5
*/
public abstract class WriteContext {
No revision
No revision
1.4.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/BeanCreationChain.java
Index: BeanCreationChain.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/BeanCreationChain.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -r1.4 -r1.4.2.1
--- BeanCreationChain.java 28 Feb 2004 13:38:33 -0000 1.4
+++ BeanCreationChain.java 19 Jun 2004 16:24:10 -0000 1.4.2.1
@@ -19,7 +19,7 @@
* A Chain of bean creators.
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public abstract class BeanCreationChain {
1.5.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/BeanCreationList.java
Index: BeanCreationList.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/BeanCreationList.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- BeanCreationList.java 28 Feb 2004 13:38:33 -0000 1.5
+++ BeanCreationList.java 19 Jun 2004 16:24:10 -0000 1.5.2.1
@@ -29,7 +29,7 @@
* </p>
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class BeanCreationList extends BeanCreationChain {
1.5.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ChainedBeanCreator.java
Index: ChainedBeanCreator.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ChainedBeanCreator.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- ChainedBeanCreator.java 28 Feb 2004 13:38:33 -0000 1.5
+++ ChainedBeanCreator.java 19 Jun 2004 16:24:10 -0000 1.5.2.1
@@ -19,7 +19,7 @@
* Creator of beans that may delegate responsibility to members down the chain.
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public interface ChainedBeanCreator {
1.6.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ChainedBeanCreatorFactory.java
Index: ChainedBeanCreatorFactory.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ChainedBeanCreatorFactory.java,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -r1.6 -r1.6.2.1
--- ChainedBeanCreatorFactory.java 31 Mar 2004 21:11:52 -0000 1.6
+++ ChainedBeanCreatorFactory.java 19 Jun 2004 16:24:10 -0000 1.6.2.1
@@ -23,7 +23,7 @@
* The standard implementations used by Betwixt are present here.
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class ChainedBeanCreatorFactory {
1.6.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ElementMapping.java
Index: ElementMapping.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ElementMapping.java,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -r1.6 -r1.6.2.1
--- ElementMapping.java 28 Feb 2004 13:38:33 -0000 1.6
+++ ElementMapping.java 19 Jun 2004 16:24:10 -0000 1.6.2.1
@@ -22,7 +22,7 @@
* Describes a mapping between an xml element and a betwixt element.
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class ElementMapping {
1.4.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ReadConfiguration.java
Index: ReadConfiguration.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ReadConfiguration.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -r1.4 -r1.4.2.1
--- ReadConfiguration.java 28 Feb 2004 13:38:33 -0000 1.4
+++ ReadConfiguration.java 19 Jun 2004 16:24:10 -0000 1.4.2.1
@@ -19,7 +19,7 @@
* Stores mapping phase configuration settings that apply only for bean reading.
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class ReadConfiguration {
1.6.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ReadContext.java
Index: ReadContext.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ReadContext.java,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -r1.6 -r1.6.2.1
--- ReadContext.java 31 Mar 2004 21:11:52 -0000 1.6
+++ ReadContext.java 19 Jun 2004 16:24:10 -0000 1.6.2.1
@@ -26,7 +26,7 @@
* Extends <code>Context</code> to provide read specific functionality.
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class ReadContext extends Context {
No revision
No revision
1.4.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/BadCharacterReplacingNMapper.java
Index: BadCharacterReplacingNMapper.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/BadCharacterReplacingNMapper.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -r1.4 -r1.4.2.1
--- BadCharacterReplacingNMapper.java 28 Feb 2004 13:38:34 -0000 1.4
+++ BadCharacterReplacingNMapper.java 19 Jun 2004 16:24:11 -0000 1.4.2.1
@@ -22,7 +22,7 @@
* illegal characters before passing result down the chain.
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class BadCharacterReplacingNMapper implements NameMapper {
/** Next mapper in chain, possibly null */
1.1.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/BaseMixedContentEncodingStrategy.java
Index: BaseMixedContentEncodingStrategy.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/BaseMixedContentEncodingStrategy.java,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- BaseMixedContentEncodingStrategy.java 24 Mar 2004 22:52:14 -0000 1.1
+++ BaseMixedContentEncodingStrategy.java 19 Jun 2004 16:24:11 -0000 1.1.2.1
@@ -29,7 +29,7 @@
* with an appropriate decision algorithm.
* </p>
* @author <a href='http://jakarta.apache.org/'>Jakarta Commons Team</a>
- * @version $Revision$
+ * @since 0.5
*/
public abstract class BaseMixedContentEncodingStrategy
extends MixedContentEncodingStrategy {
1.4.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ClassNormalizer.java
Index: ClassNormalizer.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ClassNormalizer.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -r1.4 -r1.4.2.1
--- ClassNormalizer.java 28 Feb 2004 13:38:34 -0000 1.4
+++ ClassNormalizer.java 19 Jun 2004 16:24:11 -0000 1.4.2.1
@@ -36,7 +36,7 @@
* properly by viewing them through their remote interfaces.
* </p>
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class ClassNormalizer {
1.7.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ConvertUtilsObjectStringConverter.java
Index: ConvertUtilsObjectStringConverter.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ConvertUtilsObjectStringConverter.java,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -r1.7 -r1.7.2.1
--- ConvertUtilsObjectStringConverter.java 31 Mar 2004 21:11:53 -0000 1.7
+++ ConvertUtilsObjectStringConverter.java 19 Jun 2004 16:24:11 -0000 1.7.2.1
@@ -22,7 +22,7 @@
* String <-> object conversion strategy that delegates to ConvertUtils.
*
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class ConvertUtilsObjectStringConverter extends ObjectStringConverter {
1.9.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/DefaultObjectStringConverter.java
Index: DefaultObjectStringConverter.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/DefaultObjectStringConverter.java,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -r1.9 -r1.9.2.1
--- DefaultObjectStringConverter.java 31 Mar 2004 21:11:53 -0000 1.9
+++ DefaultObjectStringConverter.java 19 Jun 2004 16:24:11 -0000 1.9.2.1
@@ -37,7 +37,7 @@
* (given the default settings).
* </p>
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class DefaultObjectStringConverter extends ConvertUtilsObjectStringConverter {
1.5.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ListedClassNormalizer.java
Index: ListedClassNormalizer.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ListedClassNormalizer.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- ListedClassNormalizer.java 31 Mar 2004 21:11:53 -0000 1.5
+++ ListedClassNormalizer.java 19 Jun 2004 16:24:11 -0000 1.5.2.1
@@ -28,7 +28,7 @@
* If a match is found then the first substituted class is returned as the normalization.
* </p>
* @author Robert Burrell Donkin
- * @version $Revision$
+ * @since 0.5
*/
public class ListedClassNormalizer extends ClassNormalizer {
1.3.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/MixedContentEncodingStrategy.java
Index: MixedContentEncodingStrategy.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/MixedContentEncodingStrategy.java,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- MixedContentEncodingStrategy.java 10 Apr 2004 09:54:07 -0000 1.3
+++ MixedContentEncodingStrategy.java 19 Jun 2004 16:24:11 -0000 1.3.2.1
@@ -32,7 +32,7 @@
* in the sense of escaping a sequence of character data.
* </p>
* @author <a href='http://jakarta.apache.org/'>Jakarta Commons Team</a>
- * @version $Revision$
+ * @since 0.5
*/
public abstract class MixedContentEncodingStrategy {
1.7.2.1 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ObjectStringConverter.java
Index: ObjectStringConverter.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ObjectStringConverter.java,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -r1.7 -r1.7.2.1
--- ObjectStringConverter.java 28 Feb 2004 13:38:34 -0000 1.7
+++ ObjectStringConverter.java 19 Jun 2004 16:24:11 -0000 1.7.2.1
@@ -34,7 +34,7 @@
* original input.
* </p>
* @author Robert Burrell Donkin
- * @version
+ * @since 0.5
*/
public class ObjectStringConverter implements Serializable {
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org