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/07/04 18:56:20 UTC
cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression ClassNameExpression.java Context.java DynaBeanExpression.java Expression.java MapEntryAdder.java package.html
rdonkin 2004/07/04 09:56:20
Modified: betwixt/src/java/org/apache/commons/betwixt/expression
ClassNameExpression.java Context.java
DynaBeanExpression.java Expression.java
MapEntryAdder.java package.html
Log:
Added in changes from release branch
Revision Changes Path
1.5 +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.5
diff -u -r1.4 -r1.5
--- ClassNameExpression.java 28 Feb 2004 13:38:32 -0000 1.4
+++ ClassNameExpression.java 4 Jul 2004 16:56:20 -0000 1.5
@@ -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.12 +6 -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.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Context.java 13 Jun 2004 21:32:45 -0000 1.11
+++ Context.java 4 Jul 2004 16:56:20 -0000 1.12
@@ -43,7 +43,6 @@
* If the child is a parent then that operation fails. </p>
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
- * @version $Revision$
*/
public class Context {
@@ -70,7 +69,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 +101,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() );
@@ -206,6 +205,7 @@
/**
* Gets object <-> string converter.
* @return the Converter to be used for conversions, not null
+ * @since 0.5
*/
public ObjectStringConverter getObjectStringConverter() {
return bindingConfiguration.getObjectStringConverter();
@@ -217,6 +217,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();
@@ -229,6 +230,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();
@@ -242,6 +244,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.6 +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.6
diff -u -r1.5 -r1.6
--- DynaBeanExpression.java 28 Feb 2004 13:38:32 -0000 1.5
+++ DynaBeanExpression.java 4 Jul 2004 16:56:20 -0000 1.6
@@ -24,6 +24,7 @@
* @see org.apache.commons.beanutils.DynaBean
*
* @author Michael Becke
+ * @since 0.5
*/
public class DynaBeanExpression implements Expression {
1.7 +1 -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.7
diff -u -r1.6 -r1.7
--- Expression.java 28 Feb 2004 13:38:32 -0000 1.6
+++ Expression.java 4 Jul 2004 16:56:20 -0000 1.7
@@ -18,7 +18,6 @@
/** <p><code>Expression</code> represents an arbitrary expression on a bean.</p>
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
- * @version $Revision$
*/
public interface Expression {
@@ -43,7 +42,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.7 +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.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- MapEntryAdder.java 13 Jun 2004 21:32:45 -0000 1.6
+++ MapEntryAdder.java 4 Jul 2004 16:56:20 -0000 1.7
@@ -36,7 +36,7 @@
* </p>
*
* @author <a href="mailto:rdonkin@apache.org">Robert Burrell Donkin</a>
- * @version $Revision$
+ * @since 0.5
*/
public class MapEntryAdder {
1.2 +15 -0 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/package.html
Index: package.html
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/package.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- package.html 10 Jun 2002 17:53:33 -0000 1.1
+++ package.html 4 Jul 2004 16:56:20 -0000 1.2
@@ -1,4 +1,19 @@
<html>
+<!--
+ Copyright 2001-2004 The Apache Software Foundation.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<head>
</head>
<body>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org