You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by js...@apache.org on 2002/10/24 13:13:22 UTC
cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io BeanReader.java
jstrachan 2002/10/24 04:13:22
Modified: betwixt/src/java/org/apache/commons/betwixt/io
BeanReader.java
Log:
patched some javadoc that Dave found had some inaccuracies
Revision Changes Path
1.5 +8 -2 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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- BeanReader.java 29 Aug 2002 21:22:52 -0000 1.4
+++ BeanReader.java 24 Oct 2002 11:13:22 -0000 1.5
@@ -128,7 +128,10 @@
}
- /** Registers a bean class for use by the writer */
+ /**
+ * Registers a bean class which is used by the reader
+ * to deduce the digester rules.
+ */
public void registerBeanClass(Class beanClass) throws IntrospectionException {
if ( ! registeredClasses.contains( beanClass ) ) {
registeredClasses.add( beanClass );
@@ -146,7 +149,10 @@
}
}
- /** Registers a bean class for use by the writer at the given path */
+ /**
+ * Registers a bean class at the given path expression
+ * which is used by the reader to deduce the digester rules.
+ */
public void registerBeanClass(String path, Class beanClass) throws IntrospectionException {
if ( ! registeredClasses.contains( beanClass ) ) {
registeredClasses.add( beanClass );
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>